From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Berry Subject: Re: [NEW] navi-mode for org files Date: Mon, 8 Apr 2013 02:12:41 +0000 (UTC) Message-ID: References: <878v4y9ziu.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34366) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UP64g-00067p-QP for emacs-orgmode@gnu.org; Mon, 08 Apr 2013 03:01:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UP64c-0006ek-JP for emacs-orgmode@gnu.org; Mon, 08 Apr 2013 03:01:06 -0400 Received: from plane.gmane.org ([80.91.229.3]:46712) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UP64c-0006eH-CO for emacs-orgmode@gnu.org; Mon, 08 Apr 2013 03:01:02 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UP62t-00085h-JL for emacs-orgmode@gnu.org; Mon, 08 Apr 2013 08:59:15 +0200 Received: from 137.110.34.176 ([137.110.34.176]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Apr 2013 08:59:15 +0200 Received: from ccberry by 137.110.34.176 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Apr 2013 08:59:15 +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 Thorsten Jolitz gmail.com> writes: > > > 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. > Thorsten, Thanks. This is really helpful. Some comments: Maybe you have this on your TODO list, but some things do not work as I would expect. In the *Navi:myfile.org* buffer, 1,2,3, Z, N, W are all good. C-1 N also good. But C-1 Z, C-2 W don't quite work. I think the part of the regexp that represents the 'Z' or 'W' search needs to be wrapped in \( ... \) as the parts beyond \(^\* \|^[ ^I]*#\+name:[ ^I]* do not match. === I find myself doing "1 n n r 2 r Z w 2 n r Z" to look at successive pieces of a buffer. Is there a slicker way to do stuff like this? === [snip] ,------------------------------------------------------------------------ > | 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. > `------------------------------------------------------------------------ > I cannot seem to get this to work. If I try to execute ;; # #+begin_src emacs-lisp ;; # (require 'outshine) ;; # (add-hook ‘outline-minor-mode-hook ‘outshine-hook-function) ;; # #+end_src the add-hook returns Debugger entered--Lisp error: (void-variable ‘outline-minor-mode-hook) I am running Org-mode version 8.0-pre (release_8.0-pre-276-g3d3465 @ ... GNU Emacs 24.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of 2013-03-12 on bob.porkrind.org Best,