From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Voit Subject: Re: Expanded property drawers as per file option Date: Wed, 29 May 2013 22:09:04 +0200 Message-ID: <2013-05-29T21-55-35@devnull.Karl-Voit.at> References: <2013-05-28T16-16-08@devnull.Karl-Voit.at> <871u8rduyb.fsf@gmail.com> <87wqqjcfse.fsf@gmail.com> <87sj16xv91.fsf@news.tumashu-localhost.org> Reply-To: news1142@Karl-Voit.at Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46231) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhmgV-0007KW-0H for emacs-orgmode@gnu.org; Wed, 29 May 2013 16:09:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UhmgP-0000El-V2 for emacs-orgmode@gnu.org; Wed, 29 May 2013 16:09:22 -0400 Received: from plane.gmane.org ([80.91.229.3]:54047) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhmgP-0000ES-P4 for emacs-orgmode@gnu.org; Wed, 29 May 2013 16:09:17 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UhmgM-0005mv-2K for emacs-orgmode@gnu.org; Wed, 29 May 2013 22:09:14 +0200 Received: from mail.michael-prokop.at ([88.198.6.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 May 2013 22:09:14 +0200 Received: from news1142 by mail.michael-prokop.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 May 2013 22:09:14 +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 * Feng Shu wrote: > Thorsten Jolitz writes: > >> Thorsten Jolitz writes: >> >> ,------------------------------------- >> | (defun find-org-contracts () >> | (interactive) >> | (find-file "/path/to/contracts.org") >> | (show-all)) >> | >> | M-x find-org-contracts >> `------------------------------------- > > I use: > #+STARTUP: showeverything Those two methods result in expanded properties, yes. However, I obviously was not precise enough to explain my requirement which is more complicated than "showeverything". I would like to have all headings folded when I open the file (as it is now). Then I navigate to a heading of a person by using text search or arrow keys and TAB (to expand hierarchies). On the heading of the "target" person, I want TAB to expand also the properties drawer, not only the content of the heading with properties collapsed. Example: I start with contacts.org like this: * job * family I go to "job" and expand using TAB: * job * Bob * Peter * Susan * family After that, I navigate to "Peter" and press TAB once again to expand the heading of Peter *and* its property drawer all together (only for "Peter"): * job * Bob * Peter :PROPERTIES: :EMAIL: peter@example.com :COMPANY: Acme :ADDRESS: Hiscity, hisstreet 42 :END: - met him at conference XY in 2009 - works in the field of foobar * Susan * family The desired difference to my current situation is, that I do not have to navigate on the PROPERTY line and press TAB to open the drawer for email, company name, address, and so forth. Usual behavior: PROPERTY drawer stays collapsed when its corresponding heading gets expanded. My wish: PROPERTY drawer gets collapsed when its corresponding heading gets expanded. I know that this is a very specific requirement and it spares me only one positioning effort followed by TAB. However, for contacts it would eliminate one annoyance for my work flow :-) Thanks for your comments, thoughts, tipps! -- mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode: > get Memacs from https://github.com/novoid/Memacs < https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github