From: Bernt Hansen <bernt@norang.ca>
To: emacs-orgmode@gnu.org
Cc: Bernt Hansen <bernt@norang.ca>
Subject: [PATCH] Call org-reveal after refiling
Date: Wed, 15 Apr 2009 22:06:54 -0400 [thread overview]
Message-ID: <1239847615-15244-1-git-send-email-bernt@norang.ca> (raw)
Sometimes refiling a task displays the next task heading after ... at the
end of a folded task. This keeps the next task the cursor is on starting
in column 1 which feels more natural.
---
This is a similar change to commit 8fb7354 (Call org-reveal after archiving)
This commit is available at git://git.norang.ca/org-mode for-carsten
lisp/org.el | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/lisp/org.el b/lisp/org.el
index af2c97c..7af1637 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -8336,7 +8336,8 @@ See also `org-refile-use-outline-path' and `org-completion-use-ido'"
(delete-region (point) (+ (point) region-length))
(org-cut-subtree))
(setq org-markers-to-move nil)
- (message "Refiled to \"%s\"" (car it)))))))
+ (message "Refiled to \"%s\"" (car it))))))
+ (org-reveal))
(defun org-refile-goto-last-stored ()
"Go to the location where the last refile was stored."
--
1.6.3.rc0
next reply other threads:[~2009-04-16 2:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-16 2:06 Bernt Hansen [this message]
2009-04-16 2:06 ` [PATCH] Jump to selected clock task when starting the clock Bernt Hansen
2009-04-16 4:09 ` Carsten Dominik
2009-04-16 4:09 ` [PATCH] Call org-reveal after refiling Carsten Dominik
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=1239847615-15244-1-git-send-email-bernt@norang.ca \
--to=bernt@norang.ca \
--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).