emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] patch:org-agenda-refile


From: Richard Riley
Subject: [Orgmode] patch:org-agenda-refile
Date: Sun, 25 Apr 2010 18:32:04 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Possibly naive, but useful for myself as I tend to follow Bernd's
"refile" policy - just about all new remember items are placed in refile
for later refiling to more relevant locations thus simplifying the
remember item creation process. I have never yet had the situation where
I refiled from the agenda and didnt want my  agenda updated to reflect
that refiling. So ...

----

 diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
 index c68038d..02d7e1e 100644
 --- a/lisp/org-agenda.el
 +++ b/lisp/org-agenda.el
 @@ -6217,7 +6217,8 @@ If this information is not given, the function uses the 
tree at point."
            (widen)
            (goto-char marker)
            (org-remove-subtree-entries-from-agenda)
 -          (org-refile goto buffer rfloc)))))))
 +          (org-refile goto buffer rfloc))))))
 +  (org-agenda-redo))
  
  (defun org-agenda-open-link (&optional arg)
    "Follow the link in the current line, if any.

----

regards

r.





reply via email to

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