From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: can I refile or archive from the agenda without rebuilding? Date: Wed, 17 Dec 2014 16:36:13 +0100 Message-ID: References: <87egs4u7j4.fsf@kyleam.com> <87y4q9tiug.fsf@konixwork.incubateur.ens-lyon.fr> <87ppbj5nm1.fsf@kyleam.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1GeI-0002yc-CF for emacs-orgmode@gnu.org; Wed, 17 Dec 2014 10:36:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y1GeD-0004A1-9Y for emacs-orgmode@gnu.org; Wed, 17 Dec 2014 10:36:26 -0500 Received: from mx1.polytechnique.org ([129.104.30.34]:51466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1GeD-00049Q-3G for emacs-orgmode@gnu.org; Wed, 17 Dec 2014 10:36:21 -0500 In-Reply-To: <87ppbj5nm1.fsf@kyleam.com> (Kyle Meyer's message of "Tue, 16 Dec 2014 15:46:46 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Kyle Meyer Cc: emacs-orgmode , Samuel Loury --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 2014-12-16 15:46, Kyle Meyer writes: > Alan Schmitt wrote: >> On 2014-12-15 09:31, Samuel Loury 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-noupdat= e))) >> #+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 =2D-=20 OpenPGP Key ID : 040D0A3B4ED2E5C7 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBCgAGBQJUkaLyAAoJEAQNCjtO0uXHcosH/iEYfRrzSUaVLI33tfTxn0qV ocs7/DqibTA3lWbAtBgI3aiziKJgn3fMUUrRLO5VTtECanp/1iypmcNziR7HKbuT NLfWQJtIGsWzNJMIb2EGsfFrH35PxG4TWcGJWPuDeoYajdf7q5iRvTj8tAnU8nFO wQREr453E+uI2i1xgKN+edn36NZb+FiAPEDrWb05WzhA+N8TAFNVFLeXmL20LE1u 2Ue2LE0s9BD4nlGq1xpCt4lSHQ5wZSo0IVmoOgXrRvWidr97lcfGuFR8i9M0JfmO ZxxuUis1NtpMcpB9HUJ+C04rdewq9l4iLGa37YgGHd2lQdUot3TE8g4qSPEo1iE= =FFk2 -----END PGP SIGNATURE----- --=-=-=--