[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] [PATCH] Call org-reveal after refiling

From: Carsten Dominik
Subject: Re: [Orgmode] [PATCH] Call org-reveal after refiling
Date: Thu, 16 Apr 2009 06:09:10 +0200

Applied, thanks.

- Carsten

On Apr 16, 2009, at 4:06 AM, Bernt Hansen wrote:

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

Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]