emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* patch:org-agenda-refile
@ 2010-04-25 16:32 Richard Riley
  2010-04-26  4:42 ` patch:org-agenda-refile Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Riley @ 2010-04-25 16:32 UTC (permalink / raw)
  To: emacs-orgmode


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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-26  5:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-25 16:32 patch:org-agenda-refile Richard Riley
2010-04-26  4:42 ` patch:org-agenda-refile Carsten Dominik

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