export1TGDhK

export1TGDhK

  • 1. 
    GNU Hyperbole Full Demo/Tutorial by Bob Weiner
    
    Send an email or a testimonial if you like Hyperbole to <rsw@gnu.org>.
    
      Table of Contents
      -----------------
      * Introduction
      * Smart Keys
      * Koutliner
      * HyControl
      * HyRolo
      * History
      * Implicit Buttons
      * Explicit Buttons
      * Button Files
      * Global Buttons
      * Smart Mouse Keys
      * Epilog
      * References
  • 2. 
    Introduction
    
    Welcome to GNU Hyperbole.  Hyperbole will super-charge your GNU Emacs
    experience, allowing you to work faster, utilize fewer key bindings, recall
    more information and link it all together by learning just a few concepts and
    keys.  Invest an hour learning Hyperbole now and speed your daily information
    management for years to come.
    
    If you simply want to know what Hyperbole is, see the file "HY-ABOUT".
    Hyperbole displays that file when you press {C-h h d a}.  Hyperbole assumes
    you know how to use Emacs.  Otherwise, run the Emacs tutorial by pressing
    {C-h t} first.
    
    You should be looking at this file within Emacs and Hyperbole should already
    be installed within your copy of Emacs.  To be sure, press 'C-h h' and you
    should see the Hyperbole menu in your minibuffer window at the bottom of
    your current Emacs frame.  Press 'q' to quit out of this menu and we can
    begin.  If Hyperbole is not installed, see the "INSTALL" file, in the
    same directory as this file, for instructions on installing it.
    
    This demo illustrates simple usage of the basic Hyperbole button-action types
    and shows how Hyperbole can support a style of self-documenting, interactive
    files.  See the glossary in the Hyperbole Manual, "(hyperbole)Glossary", if
    terms used here are unfamiliar to you.
    
    Once you read the next section on "#Smart Keys", you can then browse any
    other sections individually as you like.  Many people initially use Hyperbole
    for its "#Implicit Buttons" capabilities, so you may want to jump to that
    section.
  • 4. 
    Koutliner
    
    A unique feature of Hyperbole is the Koutliner; it is for outlining thoughts,
    developing requirements or listing tasks and hyperlinking them to other
    documents.
    
    The Hyperbole Koutliner produces multi-level, autonumbered hierarchies of
    cells.  Each cell has two identifiers, a relative autonumber indicating its
    present position within the outline and a permanent identifier suitable for
    use within hyperlink references to the cell.
    
    A demonstration of the Koutliner is found on the Hyperbole Kotl/Example menu
    entry.  {C-h h k e}, gives you an editable copy of Hyperbole's example
    Koutliner file.  This explains the Koutliner commands and lets you try them
    out as you learn.  Additional documentation can be found in
    "(hyperbole)Koutliner".  "(hyperbole)Koutliner Keys" summarizes, in
    alphabetical order, the Koutliner commands which are bound to keys.
  • 7. 
    History
    
    Hyperbole provides a history command that returns you to previous button
    locations in the reverse order of the way you traverse them.  It actually
    restores your complete frame and window configuration at the time of the
    button press.  You access it by selecting the Hist command from the top-level
    Hyperbole menu, {C-h h h}.  Remember this because you will want to use that
    command to return to this DEMO later.
  • 10. 
    Button Files
    
    It is often convenient to create files filled with buttons as a means
    of navigating distributed information pools or for other purposes.
    These files can also serve as useful roadmaps that guide you through
    both unfamiliar and highly familiar information spaces.  Files that are
    created specifically for this purpose are called "Hyperbole button
    files".
    
    Hyperbole's ButFile menu provides quick access to two types of these
    button files.  Your personal button file is stored in
    "${hbmap:dir-user}/HYPB" and accessed with {C-h h b p}.  Per-directory
    button files are stored in the respective directories and are also
    named "HYPB".  Access the current one with {C-h h b d}.
    
    If you want group and site-specific button files, simply place links
    to such files at the top of your personal button file and do so for your
    colleagues.  This provides a flexible means of connecting to such
    resources.
  • 11. 
    Global Buttons
    
    Global buttons are labeled Hyperbole buttons in your personal button
    file.  All global buttons are activated by name with completion
    provided, independent of which buffers are on-screen.  Global buttons
    may be explicit buttons or labeled/named implicit buttons.
    
    The Hyperbole Gbut menu, C-h h g, creates, modifies and activates
    global buttons by name.  Each button created by this menu is stored as
    an explicit button near the end of your personal button file.  But any
    buttons you create in other ways within this file also become global
    buttons, for example labeled/named implicit buttons.
    
    Since implicit buttons can be labeled with a name and placed in the
    global button file for invocation by name, you can give short names to
    any such buttons you want to invoke frequently.  For example, to
    create a labeled implicit global button that displays a personal todo
    file maintained with the Koutliner, activate the following key series
    by pressing M-RET within the first few characters:
    
    {C-h h b p M-> <[td]>: <find-file "~/Todos.kotl"> RET}
    
    From then on, you can jump to your todos with:
    
    {C-h h g a td RET}
    
    Or bind the global button activation command, hui:gbut-act, to a key
    of your choice for even faster access to all of your global buttons.
    
    Let's create a global button that counts the lines in the current
    buffer and displays the count in the minibuffer.  Press the Action Key
    on the first line of this key series to create the global button named
    "line-count":
    
         {C-h h g c line-count RET eval-elisp RET
          (message "Lines in %s = %s"
         (buffer-name) (count-lines (point-min) (point-max))) RET}
    
    Then activate it with {C-h h g a line-count RET}. Try it out in
    different buffers.
    
    To avoid embedding such code in the button itself, just define a
    function in your Emacs initialization file and then activate that:
    
    (defun line-count ()
      (interactive)
      (message "Lines in %s = %s"
     (buffer-name) (count-lines (point-min) (point-max))))
    
    Then button creation would be:
    
         {C-h h g c line-count RET eval-elisp RET (line-count) RET}
    
    and activation would be the same as above.
    
    Defining a link to a file section is even easier, say to the section
    below here:
    
         {C-h h g c smk RET link-to-file RET "DEMO#Smart Mouse Keys" RET}
    
    Then from anywhere:
    
         {C-h h g a smk RET}
    
    will activate it.
  • 13. 
    Switching to Another Buffer
    
    An Action Key click in the left edge of a modeline buries the current buffer,
    i.e. puts it on the bottom of the buffer list and removes it from view, if it
    is not the only available buffer.  An Assist Key click in the left edge of a
    modeline unburies the bottom buffer.  Repeated clicks of either key allow you
    to cycle through buffers to get to the one you want.  Try this out.  A
    similar thing can be accomplished by using the left mouse key and the Assist
    Mouse Key on the modeline buffer name if you need a wider space as a target.
  • 14. 
    Running Dired on the Current Directory
    
    An Action Key click on the modeline buffer name runs dired on the current
    directory.  An Action key click on an item in the dired buffer, displays the
    item.  An Action Key click on part of the directory name in the first line of
    the dired buffer runs dired on the ancestor directory given by the text to
    the left of the click location.  A click at the end of the first line quits
    the dired session.
  • 15. 
    Displaying Documentation
    
    An Action Key click in the right edge of a modeline displays the Info manual
    browsing system, see "(info)".  Once in Info, you can click with your Action
    Key to follow menu items, cross references, or to jump to Info nodes
    referenced within the top header line of a node.  Try browsing a bit and
    while in Info, display context-sensitive help for both the Action and Assist
    Keys to see all that they can do.
    
    If you click again with the Action Key on the right edge of the window
    displaying Info, it will hide the Info buffer.  Thus, it works as a toggle to
    display or to hide the Info buffer.  Isn't that easy?
    
    A click of the Assist Key at the right edge of a modeline toggles between
    display and removal of the Smart Key operation summary.  To remove the summary,
    you must click on the modeline of the window displaying the summary.
  • 16. 
    Buffer Menu and Screen Control
    
    An Action Key click in the blank center portion of a modeline displays
    a buffer menu, a summary of available buffers.  An Action Key click on
    any buffer menu line then displays that buffer and closes the buffer
    menu.
    
    If you want to display several buffers, first create some new windows, then
    display the buffer menu and drag from each buffer name to the window in which
    you want it displayed.  This works across frames and also works in ibuffer
    and dired modes too!  Try it now.
    
    Alternatively, you may display the buffer menu, use its {m} command to mark
    buffers and then use the {@} command to display the marked buffers in a grid
    of popup windows whose number of rows and columns you specify at the prompt
    or via a prefix argument.  This also works in ibuffer-menu and dired modes.
    
    An Assist Key click in the blank center portion of a modeline pops up
    a menu of convenient screen commands that lets you select buffers
    grouped by major mode, use HyControl, or jump to specific windows,
    window configurations or frames.
    
    See "(hyperbole)action-key-modeline-function" for how to adjust this
    behavior.
  • 17. 
    Epilog
    
    We hope you have enjoyed this introduction to Hyperbole. It can be your
    ever-ready sidekick in your daily knowledge work.  Explore the Hyperbole
    menus to learn more interactively.  For reference, the Hyperbole Manual, has
    extensive detail about the many things that Hyperbole does when you are ready
    to dive deeper.  Read it online with the GNU Info reader at "(hyperbole)Top".
  • 18. 
    References
    
    [FSF 19] Free Software Foundation, Inc.  GNU Emacs Manual.  Free Software
    Foundation, Cambridge: MA, 2019.  "(emacs)Top"
  • 19. 
    THE END