From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: Kyle Meyer <kyle@kyleam.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>,
Samuel Loury <konubinix@gmail.com>
Subject: Re: can I refile or archive from the agenda without rebuilding?
Date: Wed, 17 Dec 2014 16:36:13 +0100 [thread overview]
Message-ID: <m2vblap9ua.fsf@eduroam-175a.sophia.inria.fr> (raw)
In-Reply-To: <87ppbj5nm1.fsf@kyleam.com> (Kyle Meyer's message of "Tue, 16 Dec 2014 15:46:46 -0500")
[-- Attachment #1: Type: text/plain, Size: 844 bytes --]
On 2014-12-16 15:46, Kyle Meyer <kyle@kyleam.com> writes:
> Alan Schmitt <alan.schmitt@polytechnique.org> wrote:
>> On 2014-12-15 09:31, Samuel Loury <konubinix@gmail.com> writes:
> [...]
>> This is how I did it:
>>
>> #+begin_src emacs-lisp
>> (defun as/org-agenda-refile-noupdate (&optional goto rfloc)
>> "Call `org-agenda-refile' with arguments GOTO, RFLOC, and t."
>> (interactive "P")
>> (org-agenda-refile goto rfloc t))
>>
>> (add-hook 'org-agenda-mode-hook
>> (lambda ()
>> (local-set-key (kbd "C-c C-w") 'as/org-agenda-refile-noupdate)))
>> #+end_src
>
> You could also use
>
> (define-key org-agenda-mode-map [remap org-agenda-refile]
> 'as/org-agenda-refile-noupdate)
Thank you for this suggestion, it is most useful.
Alan
--
OpenPGP Key ID : 040D0A3B4ED2E5C7
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 494 bytes --]
prev parent reply other threads:[~2014-12-17 15:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-12 13:30 can I refile or archive from the agenda without rebuilding? Alan Schmitt
2014-12-12 17:01 ` Kyle Meyer
2014-12-13 9:16 ` Alan Schmitt
2014-12-15 8:31 ` Samuel Loury
2014-12-16 9:17 ` Alan Schmitt
2014-12-16 20:46 ` Kyle Meyer
2014-12-17 9:34 ` Samuel Loury
2014-12-17 15:36 ` Alan Schmitt [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2vblap9ua.fsf@eduroam-175a.sophia.inria.fr \
--to=alan.schmitt@polytechnique.org \
--cc=emacs-orgmode@gnu.org \
--cc=konubinix@gmail.com \
--cc=kyle@kyleam.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.