emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: killing all contents of a headline
Date: Tue, 19 Feb 2013 16:43:32 +0100	[thread overview]
Message-ID: <20130219154332.GE5588@kuru.dyndns-at-home.com> (raw)
In-Reply-To: <87mwv07bet.fsf@bzg.ath.cx>

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

On Tue, Feb 19, 2013 at 01:09:30PM +0100, Bastien wrote:
> When using speedy commands (setq org-use-speed-commands t)
> 
> . C-w 
> 
> at the beginning of a headline.
> 
> I'm willing to update the "." speedy command and use "@" instead
> to be consistent with the "C-c @" command.

Yes that would be good.  To save you some work, I attached a patch.

-- 
Suvayu

Open source is the future. It sets us free.

[-- Attachment #2: 0001-Change-default-org-mark-subtree-speed-command.patch --]
[-- Type: text/plain, Size: 919 bytes --]

From 664f375b7c2f65269e730fdb870cf81cd01f2bf2 Mon Sep 17 00:00:00 2001
From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
Date: Tue, 19 Feb 2013 16:40:14 +0100
Subject: [PATCH] Change default org-mark-subtree speed command

* org.el (org-speed-commands-default): Change default binding
  for org-mark-subtree from "." to "@" to be more consistent with "C-c
  @".

TINYCHANGE
---
 lisp/org.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org.el b/lisp/org.el
index 91763d3..85a6a4a 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -18658,7 +18658,7 @@ BEG and END default to the buffer boundaries."
     ("^" . org-sort)
     ("w" . org-refile)
     ("a" . org-archive-subtree-default-with-confirmation)
-    ("." . org-mark-subtree) ;; FIXME Better use @ (see C-c @) here?
+    ("@" . org-mark-subtree)
     ("#" . org-toggle-comment)
     ("Clock Commands")
     ("I" . org-clock-in)
-- 
1.8.1.2


  reply	other threads:[~2013-02-19 15:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-19 11:01 killing all contents of a headline 42 147
2013-02-19 11:13 ` Daimrod
2013-02-19 11:36 ` Marcel van der Boom
2013-02-19 12:09 ` Bastien
2013-02-19 15:43   ` Suvayu Ali [this message]
2013-02-19 17:02     ` Bastien
2013-02-19 16:40   ` 42 147
2013-02-19 17:05     ` Bastien
2013-02-19 20:29       ` 42 147
2013-02-19 17:11     ` Suvayu Ali

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=20130219154332.GE5588@kuru.dyndns-at-home.com \
    --to=fatkasuvayu+linux@gmail.com \
    --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).