emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: emacs-orgmode@gnu.org
Subject: Re: Free `1' and `0' keys from the org-agenda interface ?
Date: Tue, 16 Oct 2007 18:53:47 +0100	[thread overview]
Message-ID: <87wstnkkt0.fsf@bzg.ath.cx> (raw)
In-Reply-To: <20071016163144.GE3018@atlantic.linksys.moosehall> (Adam Spiers's message of "Tue, 16 Oct 2007 17:31:44 +0100")

Adam Spiers <orgmode@adamspiers.org> writes:

> I'm curious about your suggestion of '<<' though - does that imply the
> sub-keymap functionality I asked for already exists?

I first thought yes, since it looks like the first `<' keystroke is
waiting for the next one (at least from the description I proposed).

But in fact there is no sub-keymap involved here: it's only about
cycling through three states: 

- not-restricted
- buffer-restricted
- subtree/region-resctricted

Then three keystrokes would turn off the restriction.

But calling a sub-keymap with `<' could also be useful:

`< <' : cycle through default restricted states (see above)
`< f' : prompt for an org-agenda-file to restrict to
`< s' : prompt for a subtree to restrict

Caveat: we should better not allow interactive restriction to a
property, since this is the job of the custom-command itself...

My 2.5 cents.

-- 
Bastien

  reply	other threads:[~2007-10-16 16:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-16 17:23 Free `1' and `0' keys from the org-agenda interface ? Bastien
2007-10-16 16:31 ` Adam Spiers
2007-10-16 17:53   ` Bastien [this message]
2007-10-16 17:39     ` Adam Spiers
2007-10-16 21:26       ` Bastien
2007-10-17 15:47         ` Carsten Dominik
2007-10-17 17:03           ` Adam Spiers
2007-10-16 23:49 ` Andrew J. Korty
2007-10-17  1:13   ` Bastien

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=87wstnkkt0.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --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).