emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Richard Riley <rileyrgdev@gmail.com>
To: emacs-orgmode@gnu.org
Subject: patch:org-agenda-refile
Date: Sun, 25 Apr 2010 18:32:04 +0200	[thread overview]
Message-ID: <7d7ea7-f9j.ln1@news.eternal-september.org> (raw)


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	other threads:[~2010-04-25 16:36 UTC|newest]

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

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=7d7ea7-f9j.ln1@news.eternal-september.org \
    --to=rileyrgdev@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).