From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ilya Shlyakhter Subject: Re: hiding PROPERTIES line Date: Wed, 4 Aug 2010 12:35:18 -0400 Message-ID: References: <87lj8nvvax.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=34686 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oggw5-0007uW-QL for emacs-orgmode@gnu.org; Wed, 04 Aug 2010 12:35:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oggw4-0003Nb-F6 for emacs-orgmode@gnu.org; Wed, 04 Aug 2010 12:35:21 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:59035) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oggw4-0003NT-5N for emacs-orgmode@gnu.org; Wed, 04 Aug 2010 12:35:20 -0400 Received: by wwi14 with SMTP id 14so6439388wwi.30 for ; Wed, 04 Aug 2010 09:35:19 -0700 (PDT) In-Reply-To: <87lj8nvvax.fsf@gnu.org> 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 > to 100% hide the :PROPERTIES: drawer while giving the user a hint that > there is one... What about a command to hide/unhide _all_ :PROPERTY: lines? Then they're out-of-the-way in ordinary use, and you can do the command and see if there's a property drawer on a given entry. Better, you would hide all :PROPERTY: drawers that contain only specified properties. Then you could have tree-wide properties (such as entry creation or modification times) for every entry, without cluttering the tree. You could set the entry creation property at creation time, and entry modification property at save time (by seeing which entries have changed since last save). Then you could quickly find recently-modified entries either globally or in a given subtree. Also, it would be good to have a command to hide :LOGBOOK: lines in the same way. Usually they're only needed for computing time totals spent under each tree branch, but you don't care about the details recorded in a given :LOGBOOK: drawer. More generally, you could have a list of "hideable" drawers that are completely hidden/revealed by the command, unless they meet a condition specified by a callback function. Would that be hard to add? thanks, ilya On Wed, Aug 4, 2010 at 12:47 AM, Bastien wrot= e: > Ilya Shlyakhter writes: > >> Is there a way to hide/show the :PROPERTIES: line representing the >> properties locker, either globally or for a subtree? > > Nope. > > Well, every UI element you hide must be partly visible, so that the user > knows how to unhide (or unfold) it. =A0I cannot think of a reasonable way > to 100% hide the :PROPERTIES: drawer while giving the user a hint that > there is one... > > -- > =A0Bastien >