From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: patch:org-agenda-refile Date: Mon, 26 Apr 2010 06:42:24 +0200 Message-ID: <30B312A5-E672-429A-8D9D-3AD5E68BB4AC@gmail.com> References: <7d7ea7-f9j.ln1@news.eternal-september.org> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O6HDz-0002rA-Ac for emacs-orgmode@gnu.org; Mon, 26 Apr 2010 01:51:19 -0400 Received: from [140.186.70.92] (port=47025 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6HDv-0002pd-VD for emacs-orgmode@gnu.org; Mon, 26 Apr 2010 01:51:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O6HDu-0007IG-L4 for emacs-orgmode@gnu.org; Mon, 26 Apr 2010 01:51:15 -0400 Received: from mail-ew0-f214.google.com ([209.85.219.214]:52229) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6HDu-0007I7-7S for emacs-orgmode@gnu.org; Mon, 26 Apr 2010 01:51:14 -0400 Received: by ewy6 with SMTP id 6so4024262ewy.32 for ; Sun, 25 Apr 2010 22:51:13 -0700 (PDT) In-Reply-To: <7d7ea7-f9j.ln1@news.eternal-september.org> 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: Richard Riley Cc: emacs-orgmode@gnu.org 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