emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Sebastien Vauban <wxhgmqzgwmuf@spammotel.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Use prefix arg 0 to inhibit note taking for TODO change
Date: Sat, 19 Nov 2011 00:05:50 +0100	[thread overview]
Message-ID: <4BA0DF6B-EED6-40A1-87E3-2FD514887A44@gmail.com> (raw)
In-Reply-To: <80aa7taidl.fsf@somewhere.org>


On 18.11.2011, at 10:29, Sebastien Vauban wrote:

> Hi Carsten,
> 
> You committed:
> 
>> Use prefix arg 0 to inhibit note taking for TODO change
>> 
>> * lisp/org.el (org-todo): Interpret 0 prefix arg as note inhibitor.
>> 
>> Sometimes I want to quickly make a few TODOs done in the agenda and I
>> want to bypass the note taking I have normally set up.  With this
>> change, I can press `0 t d' in the agenda to do this.
> 
> But isn't "dangerous" to use the `0' for that, as it is used, with other
> effects, as a speed command.

As a speed command, you would use C-u 0 t d.  In the agenda,
numbers are special, they set the prefix argument.  One could do the same
in speed commands, of cause.

> 
> I know that `0' does not work as of today in the agenda view, but I think
> speeds commands (I mean: one-letter shortcuts) should work in both places
> (that is, in the agenda, and in column 0 of Org headlines), and quite a lot
> already are shared (`I' for clocking, `t' for changing states, etc.).
> 
> Wouldn't we want to try to make those two sets equal?
> 
> Best regards,
>  Seb
> 
> PS- It's true that we can see inconsistencies, as of today, between some
> one-letter keys in the agenda and the speed commands. An example that comes to
> mind is:
> 
> - `;' is used to set tags in *speed commands*
> - `:' is used to set tags in *agenda* (and `;' is used for starting the time)

I think you are right here - it is not good that these are different.
Numerical prefix commands are different a bit, but maybe you are
even right there.

- Carsten

> 
> -- 
> Sebastien Vauban
> 
> 

      parent reply	other threads:[~2011-11-18 23:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-18  9:29 Use prefix arg 0 to inhibit note taking for TODO change Sebastien Vauban
2011-11-18 22:59 ` Sebastien Vauban
2011-11-18 23:05 ` Carsten Dominik [this message]

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=4BA0DF6B-EED6-40A1-87E3-2FD514887A44@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=wxhgmqzgwmuf@spammotel.com \
    /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).