From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: [NEW] navi-mode for org files Date: Thu, 04 Apr 2013 15:49:29 +0200 Message-ID: <878v4y9ziu.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36342) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNkY1-0006Ya-CM for emacs-orgmode@gnu.org; Thu, 04 Apr 2013 09:49:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNkXv-0003X8-Iq for emacs-orgmode@gnu.org; Thu, 04 Apr 2013 09:49:49 -0400 Received: from plane.gmane.org ([80.91.229.3]:46866) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNkXv-0003Wu-CE for emacs-orgmode@gnu.org; Thu, 04 Apr 2013 09:49:43 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UNkYI-0007S6-G0 for emacs-orgmode@gnu.org; Thu, 04 Apr 2013 15:50:06 +0200 Received: from g231110035.adsl.alicedsl.de ([92.231.110.35]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Apr 2013 15:50:06 +0200 Received: from tjolitz by g231110035.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Apr 2013 15:50:06 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi List, I made navi-mode (=> super-fast buffer navigation, visibility-cycling, structure-editing, and much more, with one-key commands in an associated read-only *Navi* buffer) work with Org-mode buffers too. The basic things work, but there are still keyword-searches and keybindings to define. To check it out and get an idea what its all about, do the following: 1. Download these files to a place where Emacs can find them and do 'M-x load-file' on navi-mode.el ,--------------------------------------------------------- | https://github.com/tj64/navi/blob/master/navi-mode.el | https://github.com/tj64/outorg/blob/master/outorg.el | https://github.com/tj64/outshine/blob/master/outshine.el `--------------------------------------------------------- 2. Download Bernt Hansen's amazing Org-tutorial and switch to its Org-mode buffer (we use it as example Org-mode buffer) ,---------------------------------- | http://doc.norang.ca/org-mode.org `---------------------------------- 3. Type 'M-s n' (or 'M-x navi-search-and-switch') 4. do 'M-x menu-bar-mode' if menus are disabled for your Emacs and have a look at the "navi" menu 5. Play around in the *Navi:<>* buffer: - use 'n' and 'p' to move down and up on the 1st-level headers shown - use '1' '2' and '3' to switch between visible header levels - use 'SPC' and 'DEL' to move page-up and page-down - use to cycle visibility of whole original-buffer - use to cycle visibility of subtree at point - use 'd' to display subtree at point in original-buffer - use 'o' to switch to subtree at point in original-buffer - use 'M-s M-s' to switch back to *Navi* buffer - use 'b' to show all src-block headlines (and 'd' and 'o' on them) - use 'C-1 b', 'C-2 b' and 'C-3 b' to show the source blocks embedded in the headlines (level 1 to 3) - use 'E' to make the *Navi* buffer editable (changes are applied immediately to the original buffer (great in combination with - keyboard-macros) - type C-c C-c to make *Navi* buffer read-only again (6. Want more? - check the 'navi-menu' for more commands - type 'h' to see the (customizable) user-defined keyword-searches and their keybindings - read the comment sections of the three libraries 'outshine', 'outorg' and 'navi-mode' or the README-files on Github - read the Worg article: http://orgmode.org/worg/org-tutorials/org-outside-org.html) ,------------------------------------------------------------------------ | PS | | Please note that all this is available for your source code buffers | too (e.g. in Emacs Lisp) when you structure them the 'outshine' way. | | Use outorg.el, outshine.el or navi-mode.el as example files to see what | I mean (read comment-section of outshine.el for installation tips). | | Do 'M-s n' on one of them to open a *Navi* buffer. Try the the | commands from list item (5) above and don't forget to checkout command | 'e' - it is extremely useful since it opens the subtree at point (or, | with prefix, the whole Emacs Lisp buffer) in a temporary Org-mode edit | buffer. `------------------------------------------------------------------------ -- cheers, Thorsten