* 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
* Re: patch:org-agenda-refile
2010-04-25 16:32 patch:org-agenda-refile Richard Riley
@ 2010-04-26 4:42 ` Carsten Dominik
0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2010-04-26 4:42 UTC (permalink / raw)
To: Richard Riley; +Cc: emacs-orgmode
Hi Richard,
thanks, I have applied the patch, with the modification that
during bulk refiling, the agenda is only refreshed once, at the end.
- Carsten
On Apr 25, 2010, at 6:32 PM, Richard Riley wrote:
>
> 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.
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
^ 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).