emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Richard Riley <rileyrgdev@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: patch:org-agenda-refile
Date: Mon, 26 Apr 2010 06:42:24 +0200	[thread overview]
Message-ID: <30B312A5-E672-429A-8D9D-3AD5E68BB4AC@gmail.com> (raw)
In-Reply-To: <7d7ea7-f9j.ln1@news.eternal-september.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

      reply	other threads:[~2010-04-26  5:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-25 16:32 patch:org-agenda-refile Richard Riley
2010-04-26  4:42 ` Carsten Dominik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=30B312A5-E672-429A-8D9D-3AD5E68BB4AC@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rileyrgdev@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).