From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: [PATCH] Call org-reveal after refiling Date: Wed, 15 Apr 2009 22:06:54 -0400 Message-ID: <1239847615-15244-1-git-send-email-bernt@norang.ca> Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LuH0T-0005jx-4D for emacs-orgmode@gnu.org; Wed, 15 Apr 2009 22:07:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LuH0P-0005jH-I7 for emacs-orgmode@gnu.org; Wed, 15 Apr 2009 22:07:12 -0400 Received: from [199.232.76.173] (port=52929 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LuH0P-0005j1-ES for emacs-orgmode@gnu.org; Wed, 15 Apr 2009 22:07:09 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:50774) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LuH0P-0000fZ-3M for emacs-orgmode@gnu.org; Wed, 15 Apr 2009 22:07:09 -0400 Received: from cpe000102d0fe75-cm0012256ecbde.cpe.net.cable.rogers.com ([99.239.148.180] helo=mail.norang.ca) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1LuH0O-0004yJ-6C for emacs-orgmode@gnu.org; Thu, 16 Apr 2009 02:07:08 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Cc: Bernt Hansen 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