emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Use "; " for org-toggle-comment speedy command and "#" for org-update-statistics-cookies
@ 2014-01-29  9:35 Bastien
  2014-01-29 10:32 ` Sebastien Vauban
  0 siblings, 1 reply; 6+ messages in thread
From: Bastien @ 2014-01-29  9:35 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 279 bytes --]

Hi all,

I suggest to use ";" for the speedy command org-toggle-comment and
"#" for org-update-statistics-cookies.  See the attached patch.

Let me know if 

1) you feel using ; for toggling COMMENT is better than #
1) you feel the new # speedy command would be useful

Thanks,


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: new-speed-commands.patch --]
[-- Type: text/x-diff, Size: 439 bytes --]

diff --git a/lisp/org.el b/lisp/org.el
index 7a4f347..f04858c 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -19354,7 +19354,8 @@ boundaries."
     ("w" . org-refile)
     ("a" . org-archive-subtree-default-with-confirmation)
     ("@" . org-mark-subtree)
-    ("#" . org-toggle-comment)
+    (";" . org-toggle-comment)
+    ("#" . org-update-statistics-cookies)
     ("Clock Commands")
     ("I" . org-clock-in)
     ("O" . org-clock-out)

[-- Attachment #3: Type: text/plain, Size: 14 bytes --]


-- 
 Bastien

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: Use "; " for org-toggle-comment speedy command and "#" for org-update-statistics-cookies
  2014-01-29  9:35 Use "; " for org-toggle-comment speedy command and "#" for org-update-statistics-cookies Bastien
@ 2014-01-29 10:32 ` Sebastien Vauban
  2014-01-29 11:04   ` Bastien
  0 siblings, 1 reply; 6+ messages in thread
From: Sebastien Vauban @ 2014-01-29 10:32 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Bastien,

> I suggest to use ";" for the speedy command org-toggle-comment and
> "#" for org-update-statistics-cookies.  See the attached patch.
>
> Let me know if 
>
> 1) you feel using ; for toggling COMMENT is better than #

It seems more natural to me, as `M-;' is the standard key for commenting
stuff in Emacs.

> 1) you feel the new # speedy command would be useful

Not for me. But that does not mean it shouldn't be added for others, of
course.

BTW, the documented `F' and `B' speed commands don't work for me on
Babel code blocks. Is it only me?

Best regards,
  Seb

-- 
Sebastien Vauban

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Use "; " for org-toggle-comment speedy command and "#" for org-update-statistics-cookies
  2014-01-29 10:32 ` Sebastien Vauban
@ 2014-01-29 11:04   ` Bastien
  2014-01-29 11:34     ` Sebastien Vauban
  0 siblings, 1 reply; 6+ messages in thread
From: Bastien @ 2014-01-29 11:04 UTC (permalink / raw)
  To: Sebastien Vauban; +Cc: public-emacs-orgmode-mXXj517/zsQ



"Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
writes:

> BTW, the documented `F' and `B' speed commands don't work for me on
> Babel code blocks. Is it only me?

The speed commands work on headlines -- hitting F or B goes to the
next/previous src block fine here.  What's wrong for you?

-- 
 Bastien

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Use "; " for org-toggle-comment speedy command and "#" for org-update-statistics-cookies
  2014-01-29 11:04   ` Bastien
@ 2014-01-29 11:34     ` Sebastien Vauban
  2014-01-29 13:31       ` Bastien
  0 siblings, 1 reply; 6+ messages in thread
From: Sebastien Vauban @ 2014-01-29 11:34 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Bastien,

Bastien wrote:
> "Sebastien Vauban" writes:
>
>> BTW, the documented `F' and `B' speed commands don't work for me on
>> Babel code blocks. Is it only me?
>
> The speed commands work on headlines -- hitting F or B goes to the
> next/previous src block fine here.  What's wrong for you?

I've always thought they worked on the meta line of the code blocks! --
and never succeeded using them...

Too bad it just goes from the headline to the first code block, and then
stops...

Best regards,
  Seb

-- 
Sebastien Vauban

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Use "; " for org-toggle-comment speedy command and "#" for org-update-statistics-cookies
  2014-01-29 11:34     ` Sebastien Vauban
@ 2014-01-29 13:31       ` Bastien
  2014-01-29 13:35         ` Sebastien Vauban
  0 siblings, 1 reply; 6+ messages in thread
From: Bastien @ 2014-01-29 13:31 UTC (permalink / raw)
  To: Sebastien Vauban; +Cc: public-emacs-orgmode-mXXj517/zsQ



"Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
writes:

> Too bad it just goes from the headline to the first code block, and then
> stops...

But then you have C-c C-v C-n

-- 
 Bastien

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Use "; " for org-toggle-comment speedy command and "#" for org-update-statistics-cookies
  2014-01-29 13:31       ` Bastien
@ 2014-01-29 13:35         ` Sebastien Vauban
  0 siblings, 0 replies; 6+ messages in thread
From: Sebastien Vauban @ 2014-01-29 13:35 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Bastien wrote:
> "Sebastien Vauban" writes:
>
>> Too bad it just goes from the headline to the first code block, and then
>> stops...
>
> But then you have C-c C-v C-n

Right (forgot about that one)... but not a "speed" command anymore ;-)

Best regards,
  Seb

-- 
Sebastien Vauban

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-01-29 13:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-29  9:35 Use "; " for org-toggle-comment speedy command and "#" for org-update-statistics-cookies Bastien
2014-01-29 10:32 ` Sebastien Vauban
2014-01-29 11:04   ` Bastien
2014-01-29 11:34     ` Sebastien Vauban
2014-01-29 13:31       ` Bastien
2014-01-29 13:35         ` Sebastien Vauban

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).