From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Knupfer Subject: contribute: three pane mode for org Date: Sat, 23 Aug 2014 17:06:48 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----WJQ7ZOQUT2MJOFINAQDGI8KXE5Q7E7" Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39686) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XLCu6-00006l-Vd for emacs-orgmode@gnu.org; Sat, 23 Aug 2014 11:06:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XLCu6-0006Oi-89 for emacs-orgmode@gnu.org; Sat, 23 Aug 2014 11:06:54 -0400 Received: from mail-lb0-x231.google.com ([2a00:1450:4010:c04::231]:48602) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XLCu5-0006OP-V0 for emacs-orgmode@gnu.org; Sat, 23 Aug 2014 11:06:54 -0400 Received: by mail-lb0-f177.google.com with SMTP id s7so10694538lbd.36 for ; Sat, 23 Aug 2014 08:06:51 -0700 (PDT) Received: from p2003006A6C01552109BA5C613F446E43.dip0.t-ipconnect.de (p2003006A6C01552109BA5C613F446E43.dip0.t-ipconnect.de. [2003:6a:6c01:5521:9ba:5c61:3f44:6e43]) by mx.google.com with ESMTPSA id x10sm20277864lal.13.2014.08.23.08.06.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 23 Aug 2014 08:06:50 -0700 (PDT) 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 ------WJQ7ZOQUT2MJOFINAQDGI8KXE5Q7E7 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Hello, I've written a function that enables a three pane view on org files. I'm quite new to emacs but I'd like to contribute and receive feedbacks, improvement etc. It can be found at: https://github.com/knupfer/org-panes Best regards ------WJQ7ZOQUT2MJOFINAQDGI8KXE5Q7E7 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit Hello,

I've written a function that enables a three pane view on org files.
I'm quite new to emacs but I'd like to contribute and receive
feedbacks, improvement etc.

It can be found at:
https://github.com/knupfer/org-panes

Best regards ------WJQ7ZOQUT2MJOFINAQDGI8KXE5Q7E7-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Banel Subject: Re: contribute: three pane mode for org Date: Sun, 24 Aug 2014 11:32:57 +0200 Message-ID: <53F9B149.20504@free.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42723) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XLUAX-0006HQ-0h for emacs-orgmode@gnu.org; Sun, 24 Aug 2014 05:33:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XLUAV-0006H9-KG for emacs-orgmode@gnu.org; Sun, 24 Aug 2014 05:33:00 -0400 Received: from smtp3-g21.free.fr ([2a01:e0c:1:1599::12]:1891) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XLUAV-0006H2-Dl for emacs-orgmode@gnu.org; Sun, 24 Aug 2014 05:32:59 -0400 Received: from [IPv6:2a01:e35:2e21:def0:71ad:9e3f:94df:148a] (unknown [IPv6:2a01:e35:2e21:def0:71ad:9e3f:94df:148a]) by smtp3-g21.free.fr (Postfix) with ESMTP id D3A4EA61A3 for ; Sun, 24 Aug 2014 11:32:57 +0200 (CEST) In-Reply-To: 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 Good job ! You may be new to Emacs, but you already master a lot: - hiding-showing, - indirect buffers, - save-excursion, - faces, - overlays, - post-command-hook, - and emacs lisp Le 23/08/2014 17:06, Florian Knupfer a =C3=A9crit : > Hello, > > I've written a function that enables a three pane view on org files. > I'm quite new to emacs but I'd like to contribute and receive > feedbacks, improvement etc. > > It can be found at: > https://github.com/knupfer/org-panes > > Best regards=20 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: contribute: three pane mode for org Date: Sun, 24 Aug 2014 16:17:56 +0200 Message-ID: <20140824141756.GA23366@chitra.no-ip.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XLYcR-0004nu-Nq for emacs-orgmode@gnu.org; Sun, 24 Aug 2014 10:18:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XLYcL-0000fG-Tr for emacs-orgmode@gnu.org; Sun, 24 Aug 2014 10:18:07 -0400 Received: from mail-wg0-x22b.google.com ([2a00:1450:400c:c00::22b]:57593) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XLYcL-0000fA-NA for emacs-orgmode@gnu.org; Sun, 24 Aug 2014 10:18:01 -0400 Received: by mail-wg0-f43.google.com with SMTP id l18so11988535wgh.2 for ; Sun, 24 Aug 2014 07:18:00 -0700 (PDT) Received: from chitra.no-ip.org (sd44012d5.adsl.online.nl. [212.64.18.213]) by mx.google.com with ESMTPSA id h3sm91984271wjn.10.2014.08.24.07.17.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 Aug 2014 07:17:59 -0700 (PDT) Content-Disposition: inline In-Reply-To: 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 Florian, On Sat, Aug 23, 2014 at 05:06:48PM +0200, Florian Knupfer wrote: > Hello, > > I've written a function that enables a three pane view on org files. > I'm quite new to emacs but I'd like to contribute and receive > feedbacks, improvement etc. > > It can be found at: > https://github.com/knupfer/org-panes I have a small bug report ;). I created an issue on github. This looks like a great library, thanks a lot :). -- Suvayu Open source is the future. It sets us free. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: contribute: three pane mode for org Date: Tue, 26 Aug 2014 18:20:34 +0100 Message-ID: <87mwarb21p.fsf@ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33715) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMKQN-0000BW-Ht for emacs-orgmode@gnu.org; Tue, 26 Aug 2014 13:20:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XMKQF-00072F-VY for emacs-orgmode@gnu.org; Tue, 26 Aug 2014 13:20:51 -0400 Received: from mail-db3lrp0076.outbound.protection.outlook.com ([213.199.154.76]:19864 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMKQF-00070b-Pg for emacs-orgmode@gnu.org; Tue, 26 Aug 2014 13:20:43 -0400 In-Reply-To: (Florian Knupfer's message of "Sat, 23 Aug 2014 17:06:48 +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: Florian Knupfer Cc: emacs-orgmode@gnu.org Hi, this sounds interesting but I have just tried to use it and I get: : if: Symbol's value as variable is void: org-panes-list I can send a backtrace if you wish. Maybe I am not using this properly? All I tried was "M-x org-panes RET" after loading the file. thanks, eric -- : Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.1, Org release_8.3beta-246-g77d0da From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: contribute: three pane mode for org Date: Tue, 26 Aug 2014 20:01:42 +0100 Message-ID: <87a96raxd5.fsf@ucl.ac.uk> References: <87mwarb21p.fsf@ucl.ac.uk> <6fc48620-bea8-482c-ba5a-c3d259f84051@email.android.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52261) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMM0D-00028m-6a for emacs-orgmode@gnu.org; Tue, 26 Aug 2014 15:02:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XMM04-0005Mo-Ph for emacs-orgmode@gnu.org; Tue, 26 Aug 2014 15:01:57 -0400 Received: from mail-am1lrp0017.outbound.protection.outlook.com ([213.199.154.17]:36673 helo=emea01-am1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMM04-0005MP-JK for emacs-orgmode@gnu.org; Tue, 26 Aug 2014 15:01:48 -0400 In-Reply-To: <6fc48620-bea8-482c-ba5a-c3d259f84051@email.android.com> (Florian Knupfer's message of "Tue, 26 Aug 2014 19:37:30 +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: Florian Knupfer Cc: emacs-orgmode@gnu.org On Tuesday, 26 Aug 2014 at 19:37, Florian Knupfer wrote: > Hi eric, > > sry I was profiling and optimizing a bit the code and haven't noticed, > that this variable was only in my emacs session defined. > > It is now fixed and much less cpu-consuming. Thanks! It does work now. And it seems to work quite well. I need to play with some of the variables but I can see myself getting used to having this. Sort of an org specific multi-level speedbar. It's particularly useful on my very wide monitor where much of the space is wasted often... Thanks again, eric -- : Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.1, Org release_8.3beta-246-g77d0da From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: contribute: three pane mode for org Date: Wed, 27 Aug 2014 08:31:12 +0100 Message-ID: <87oav6o0cf.fsf@ucl.ac.uk> References: <87mwarb21p.fsf@ucl.ac.uk> <6fc48620-bea8-482c-ba5a-c3d259f84051@email.android.com> <87a96raxd5.fsf@ucl.ac.uk> <8850026e-6574-449f-85c9-1e78d3bc3104@email.android.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58424) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMXhU-0002AP-Dx for emacs-orgmode@gnu.org; Wed, 27 Aug 2014 03:31:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XMXhM-0001KJ-Ud for emacs-orgmode@gnu.org; Wed, 27 Aug 2014 03:31:24 -0400 Received: from mail-am1lrp0015.outbound.protection.outlook.com ([213.199.154.15]:41042 helo=emea01-am1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMXhM-0001KF-Oj for emacs-orgmode@gnu.org; Wed, 27 Aug 2014 03:31:16 -0400 In-Reply-To: <8850026e-6574-449f-85c9-1e78d3bc3104@email.android.com> (Florian Knupfer's message of "Tue, 26 Aug 2014 21:36:52 +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: Florian Knupfer Cc: emacs-orgmode@gnu.org On Tuesday, 26 Aug 2014 at 21:36, Florian Knupfer wrote: > your very welcome, > i'll refactor the code a bit and clean up in the next days and think that its than mostly complete. > If you've got suggestions concerning features or the code, I would be > pleased to hear from, enabling me to learn. A couple of quick points: - the highlight of headline seems to work in the OVERVIEW window but doesn't track lower down in the CONTENTS window. - I use org indent mode and visual-line-mode so lines wrap in the screen. This makes the OVERVIEW and CONTENTS windows messy. It would be nicer to have those windows truncate lines if possible. thanks, eric -- : Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.1, Org release_8.3beta-284-g2593b4 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ernesto Durante Subject: Re: contribute: three pane mode for org Date: Wed, 27 Aug 2014 11:20:25 +0200 Message-ID: <87r402l25i.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46629) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMZP9-0008Uc-4K for emacs-orgmode@gnu.org; Wed, 27 Aug 2014 05:20:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XMZP2-000812-Up for emacs-orgmode@gnu.org; Wed, 27 Aug 2014 05:20:34 -0400 Received: from mail-we0-x22c.google.com ([2a00:1450:400c:c03::22c]:48194) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMZP2-00080s-OW for emacs-orgmode@gnu.org; Wed, 27 Aug 2014 05:20:28 -0400 Received: by mail-we0-f172.google.com with SMTP id x48so15830127wes.17 for ; Wed, 27 Aug 2014 02:20:27 -0700 (PDT) Received: from localhost.localdomain (col74-1-88-183-113-172.fbx.proxad.net. [88.183.113.172]) by mx.google.com with ESMTPSA id ka3sm15481491wjc.3.2014.08.27.02.20.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Aug 2014 02:20:26 -0700 (PDT) In-Reply-To: (Florian Knupfer's message of "Sat, 23 Aug 2014 17:06:48 +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 Florian Knupfer writes: > Hello, > > I've written a function that enables a three pane view on org files. > I'm quite new to emacs but I'd like to contribute and receive > feedbacks, improvement etc. > > It can be found at: > https://github.com/knupfer/org-panes > > Best regards very good and integrates nicely with the current workflow. Why not 2 panes only (content and showall) ? Best Ernesto From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: contribute: three pane mode for org Date: Wed, 27 Aug 2014 12:13:25 +0200 Message-ID: <8738ci9r5m.fsf@gmail.com> References: <87r402l25i.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMaEg-0006az-BO for emacs-orgmode@gnu.org; Wed, 27 Aug 2014 06:13:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XMaEa-0006Qq-D0 for emacs-orgmode@gnu.org; Wed, 27 Aug 2014 06:13:50 -0400 Received: from plane.gmane.org ([80.91.229.3]:41981) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMaEa-0006Qh-3S for emacs-orgmode@gnu.org; Wed, 27 Aug 2014 06:13:44 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XMaEV-0001EF-5S for emacs-orgmode@gnu.org; Wed, 27 Aug 2014 12:13:39 +0200 Received: from e178190095.adsl.alicedsl.de ([85.178.190.95]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Aug 2014 12:13:39 +0200 Received: from tjolitz by e178190095.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Aug 2014 12:13:39 +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 Ernesto Durante writes: > Florian Knupfer writes: > >> Hello, >> >> I've written a function that enables a three pane view on org files. >> I'm quite new to emacs but I'd like to contribute and receive >> feedbacks, improvement etc. >> >> It can be found at: >> https://github.com/knupfer/org-panes >> >> Best regards > > very good and integrates nicely with the current workflow. > Why not 2 panes only (content and showall) ? Are you aware of navi-mode.el? It does exactly this - put the overview (-> content) in a second window next to the details (-> showall). Only that the overview is a *Navi* buffer that is - plain read-only text (not a folded outline), what has many advantages (though, like in occur and dired, 'M-x navi-edit-mode' makes the buffer temporarily editable and propagates changes to the associated Org/Outshine buffer) - a pretty smart remote-control of the associated Org (or Outshine) buffer, offering many different views on the Org buffer, and lots of navigation & structure editing commands with vim-like one-key-bindings. Keys 1 to 8 in the *Navi* buffer show the headlines up to that level. Additionally, these keyword searches have been defined for Org-mode: ,---- | [KEY] : [SEARCH] | ================ | b : srcblock | x : time | I : inline-srcblock | W : srcname-w-name | M : multilineheader | Y : priority | T : target | R : radiotarget | D : drawer | S : timestamp | N : srcname | U : result | Z : result-w-name | O : options | P : propertydrawer | A : deadline | H : scheduled-time-hour `---- (note that these searches are customizable, so they can be modified or extended by the user via the customize interface) With a prefix-arg, you can combine headline and keyword searches. E.g. given this Org buffer ,---- | * A | ** B | | #+BEGIN_SRC emacs-lisp | (+ 2 2) | #+END_SRC | | #+results: | : 4 | | ** C :mytag: | DEADLINE: <2014-08-27 Mi 22:00> | *** [#A] D | very important `---- trigger *Navi* buffer with ,----[ C-h f navi-search-and-switch RET ] | navi-search-and-switch is an interactive Lisp function in | `navi-mode.el'. | | It is bound to M-s n. | | (navi-search-and-switch) | | Call `occur' and immediatley switch to `*Navi:original-buffer-name*' buffer `---- then typing '2' shows ,---- | 1:* A | 2:** B | 11:** C :mytag: `---- typing 'A' shows ,---- | 12: DEADLINE: <2014-08-27 Mi 22:00> `---- and combining headline with keyword-searches with 'C-2 A' or 'C-u 2 A' shows ,---- | 1:* A | 2:** B | 11:** C :mytag: | 12: DEADLINE: <2014-08-27 Mi 22:00> `---- The *Navi* buffer is like a remote-control for the associated Org or Outshine buffer, here is a list of things (besides the headline and keyword searches) you can do without leaving the *Navi* buffer (using vim-like one-key bindings): ,----[ C-h f navi-mode RET ] | navi-mode is an interactive Lisp function in `navi-mode.el'. | | (navi-mode) | | Parent mode: `occur-mode'. | | Major mode for easy buffer-navigation. | In this mode (derived from `occur-mode') you can easily navigate | in an associated original-buffer via one-key commands in the | navi-buffer. You can alter the displayed document structure in | the navi-buffer by sending one-key commands that execute | predefined occur searches in the original buffer. `navi-mode' is | especially useful in buffers with outline structure, e.g. buffers | with `outline-minor-mode' activated and `outshine' extensions | loaded. | key binding | --- ------- | | C-c Prefix Command | TAB navi-cycle-subtree | RET occur-mode-goto-occurrence | C-o occur-mode-display-occurrence | ESC Prefix Command | SPC scroll-up-command | ! .. * navi-generic-command | + navi-demote-subtree | , navi-act-on-thing-at-point | - navi-promote-subtree | . scroll-other-window | / .. 9 navi-generic-command | : scroll-other-window-down | ; navi-generic-command | < navi-move-down-subtree | = .. D navi-generic-command | E navi-edit-mode | F .. ] navi-generic-command | ^ navi-move-up-subtree | _ .. b navi-generic-command | c navi-copy-thing-at-point-to-register-s | d occur-mode-display-occurrence | e navi-edit-as-org | f navi-generic-command | g navi-revert-function | h navi-show-help | i navi-isearch | j navi-generic-command | k navi-kill-thing-at-point | l navi-query-replace | m navi-mark-thing-at-point-and-switch | n occur-next | o navi-goto-occurrence-other-window | p occur-prev | q navi-quit-and-switch | r navi-narrow-to-thing-at-point | s navi-switch-to-twin-buffer | t navi-generic-command | u navi-undo | v navi-generic-command | w navi-widen | x navi-generic-command | y navi-yank-thing-from-register-s | z navi-mail-subtree | { .. ~ navi-generic-command | DEL scroll-down-command | occur-mode-mouse-goto | Prefix Command | | C-M-i navi-cycle-buffer | | M-n occur-next | M-p occur-prev | | C-c C-c occur-mode-goto-occurrence | C-c C-f next-error-follow-minor-mode | | | | In addition to any hooks its parent mode might have run, | this mode runs the hook `navi-mode-hook', as the final step | during initialization. `---- -- cheers, Thorsten From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ernesto Durante Subject: Re: contribute: three pane mode for org Date: Thu, 28 Aug 2014 15:46:56 +0200 Message-ID: <8738cgu3ov.fsf@gmail.com> References: <87r402l25i.fsf@gmail.com> <8738ci9r5m.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54488) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XN02h-0006qk-LO for emacs-orgmode@gnu.org; Thu, 28 Aug 2014 09:47:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XN02Y-0002jr-IO for emacs-orgmode@gnu.org; Thu, 28 Aug 2014 09:47:11 -0400 Received: from mail-wg0-x22c.google.com ([2a00:1450:400c:c00::22c]:35180) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XN02Y-0002jg-97 for emacs-orgmode@gnu.org; Thu, 28 Aug 2014 09:47:02 -0400 Received: by mail-wg0-f44.google.com with SMTP id m15so778777wgh.27 for ; Thu, 28 Aug 2014 06:47:01 -0700 (PDT) Received: from localhost.localdomain (col74-1-88-183-113-172.fbx.proxad.net. [88.183.113.172]) by mx.google.com with ESMTPSA id ys5sm10105935wjc.25.2014.08.28.06.46.59 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Aug 2014 06:46:59 -0700 (PDT) In-Reply-To: <8738ci9r5m.fsf@gmail.com> (Thorsten Jolitz's message of "Wed, 27 Aug 2014 12:13:25 +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 writes: Hi Thorsten, Great package. Thanks for all your explanation. Ernesto > Are you aware of navi-mode.el? > > It does exactly this - put the overview (-> content) in a second > window next to the details (-> showall). Only that the overview is a > *Navi* buffer that is > > - plain read-only text (not a folded outline), what has many advantages > (though, like in occur and dired, 'M-x navi-edit-mode' makes the > buffer temporarily editable and propagates changes to the associated > Org/Outshine buffer) > > - a pretty smart remote-control of the associated Org (or Outshine) > buffer, offering many different views on the Org buffer, and lots of > navigation & structure editing commands with vim-like > one-key-bindings. > > Keys 1 to 8 in the *Navi* buffer show the headlines up to that > level. Additionally, these keyword searches have been defined for > Org-mode: > > ,---- > | [KEY] : [SEARCH] > | ================ > | b : srcblock > | x : time > | I : inline-srcblock > | W : srcname-w-name > | M : multilineheader > | Y : priority > | T : target > | R : radiotarget > | D : drawer > | S : timestamp > | N : srcname > | U : result > | Z : result-w-name > | O : options > | P : propertydrawer > | A : deadline > | H : scheduled-time-hour > `---- > > (note that these searches are customizable, so they can be modified or > extended by the user via the customize interface) > > With a prefix-arg, you can combine headline and keyword searches. > E.g. given this Org buffer > > ,---- > | * A > | ** B > | > | #+BEGIN_SRC emacs-lisp > | (+ 2 2) > | #+END_SRC > | > | #+results: > | : 4 > | > | ** C :mytag: > | DEADLINE: <2014-08-27 Mi 22:00> > | *** [#A] D > | very important > `---- > > trigger *Navi* buffer with > > ,----[ C-h f navi-search-and-switch RET ] > | navi-search-and-switch is an interactive Lisp function in > | `navi-mode.el'. > | > | It is bound to M-s n. > | > | (navi-search-and-switch) > | > | Call `occur' and immediatley switch to `*Navi:original-buffer-name*' buffer > `---- > > then typing '2' shows > > ,---- > | 1:* A > | 2:** B > | 11:** C :mytag: > `---- > > typing 'A' shows > > ,---- > | 12: DEADLINE: <2014-08-27 Mi 22:00> > `---- > > and combining headline with keyword-searches with 'C-2 A' or 'C-u 2 A' > shows > > ,---- > | 1:* A > | 2:** B > | 11:** C :mytag: > | 12: DEADLINE: <2014-08-27 Mi 22:00> > `---- > > The *Navi* buffer is like a remote-control for the associated Org or > Outshine buffer, here is a list of things (besides the headline and > keyword searches) you can do without leaving the *Navi* buffer (using > vim-like one-key bindings): > > ,----[ C-h f navi-mode RET ] > | navi-mode is an interactive Lisp function in `navi-mode.el'. > | > | (navi-mode) > | > | Parent mode: `occur-mode'. > | > | Major mode for easy buffer-navigation. > | In this mode (derived from `occur-mode') you can easily navigate > | in an associated original-buffer via one-key commands in the > | navi-buffer. You can alter the displayed document structure in > | the navi-buffer by sending one-key commands that execute > | predefined occur searches in the original buffer. `navi-mode' is > | especially useful in buffers with outline structure, e.g. buffers > | with `outline-minor-mode' activated and `outshine' extensions > | loaded. > | key binding > | --- ------- > | > | C-c Prefix Command > | TAB navi-cycle-subtree > | RET occur-mode-goto-occurrence > | C-o occur-mode-display-occurrence > | ESC Prefix Command > | SPC scroll-up-command > | ! .. * navi-generic-command > | + navi-demote-subtree > | , navi-act-on-thing-at-point > | - navi-promote-subtree > | . scroll-other-window > | / .. 9 navi-generic-command > | : scroll-other-window-down > | ; navi-generic-command > | < navi-move-down-subtree > | = .. D navi-generic-command > | E navi-edit-mode > | F .. ] navi-generic-command > | ^ navi-move-up-subtree > | _ .. b navi-generic-command > | c navi-copy-thing-at-point-to-register-s > | d occur-mode-display-occurrence > | e navi-edit-as-org > | f navi-generic-command > | g navi-revert-function > | h navi-show-help > | i navi-isearch > | j navi-generic-command > | k navi-kill-thing-at-point > | l navi-query-replace > | m navi-mark-thing-at-point-and-switch > | n occur-next > | o navi-goto-occurrence-other-window > | p occur-prev > | q navi-quit-and-switch > | r navi-narrow-to-thing-at-point > | s navi-switch-to-twin-buffer > | t navi-generic-command > | u navi-undo > | v navi-generic-command > | w navi-widen > | x navi-generic-command > | y navi-yank-thing-from-register-s > | z navi-mail-subtree > | { .. ~ navi-generic-command > | DEL scroll-down-command > | occur-mode-mouse-goto > | Prefix Command > | > | C-M-i navi-cycle-buffer > | > | M-n occur-next > | M-p occur-prev > | > | C-c C-c occur-mode-goto-occurrence > | C-c C-f next-error-follow-minor-mode > | > | > | > | In addition to any hooks its parent mode might have run, > | this mode runs the hook `navi-mode-hook', as the final step > | during initialization. > `----