From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leonidas Tsampros Subject: Re: Hiding/Narrowing dblocks and keywords Date: Wed, 02 Feb 2011 16:22:54 +0200 Message-ID: <87oc6uldmp.fsf@bifteki.lan> References: <87sjwaqgpc.fsf@bifteki.lan> <87d3nad7ym.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=35931 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pkdg8-0002AC-Kg for emacs-orgmode@gnu.org; Wed, 02 Feb 2011 09:27:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pkdfp-0007BY-G2 for emacs-orgmode@gnu.org; Wed, 02 Feb 2011 09:27:25 -0500 Received: from mail-fx0-f41.google.com ([209.85.161.41]:34769) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pkdfp-0007B4-7p for emacs-orgmode@gnu.org; Wed, 02 Feb 2011 09:27:09 -0500 Received: by fxm12 with SMTP id 12so20891fxm.0 for ; Wed, 02 Feb 2011 06:27:07 -0800 (PST) In-Reply-To: <87d3nad7ym.fsf@gnu.org> (Bastien's message of "Wed, 02 Feb 2011 11:52:33 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: emacs-orgmode@gnu.org Bastien writes: > Hi Leonidas, > > Leonidas Tsampros writes: > >> I'm a recent new happy org-mode user. While hacking around and using it >> for various tasks/todos and schedules, it occured to me that keywords >> and dynamic blocks take a lot of screen real estate while I do very >> little editing on them. > > You can now use this: > > M-x org-narrow-to-block RET (or C-x n b) > > This work for all blocks, being source blocks or dynamic blocks. > > (Note that the usual way of editing src block is to use C-c ' .) > I cannot find such a command in my current version of Org-mode (6.21b) so I'll have to upgrade first and then test. Thanks. >> Is there a way to have dblocks/keywords hidden/narrowed in a per >> buffer manner? > > I'm not sure I understand the part of your request re keywords, > though... can you explicit a bit? > > Thanks, Yes. Let's say I have a buffer like this: #+LINK: blabla1 http://blablabla/%s #+LINK: blabla2 http://blablabla2.org/%s #+LINK: blabla3 http://blablabla3.org/%s #+TODO: TODO1(t) | DONE1(d) * test entry1 #+BEGIN clocktable :maxlevel 3 :scope file :link Clock summary etc etc #+END: My question is: Can I hide the keywords defined on the top of the buffer and the keywords defined for the dynamic block that might be occurring further in my tree? Did I clarify my question enough? Or am I misunderstading the way dblocks/keywords work? Thanks, Leonidas