emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ilya Shlyakhter <ilya_shl@alum.mit.edu>
To: Bastien <bastien.guerry@wikimedia.fr>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: hiding PROPERTIES line
Date: Wed, 4 Aug 2010 12:35:18 -0400	[thread overview]
Message-ID: <AANLkTi=81W0FHsJO9sCUi9LaSYZn_gkp3NzureP2g1P3@mail.gmail.com> (raw)
In-Reply-To: <87lj8nvvax.fsf@gnu.org>

> 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 <bastien.guerry@wikimedia.fr> wrote:
> Ilya Shlyakhter <ilya_shl@alum.mit.edu> 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.  I cannot think of a reasonable way
> to 100% hide the :PROPERTIES: drawer while giving the user a hint that
> there is one...
>
> --
>  Bastien
>

  reply	other threads:[~2010-08-04 16:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-03 16:11 hiding PROPERTIES line Ilya Shlyakhter
2010-08-04  4:47 ` Bastien
2010-08-04 16:35   ` Ilya Shlyakhter [this message]
2010-08-04 22:34     ` Bastien
2010-08-04 23:19       ` Samuel Wales

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi=81W0FHsJO9sCUi9LaSYZn_gkp3NzureP2g1P3@mail.gmail.com' \
    --to=ilya_shl@alum.mit.edu \
    --cc=bastien.guerry@wikimedia.fr \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).