From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Rakestraw Subject: org-refile hack to show headings Date: Thu, 29 Nov 2007 20:22:53 -0500 Message-ID: <20071129202253.6e2a6c21@maggiejean2.rakestrawmornlocal> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1220735765==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ixuaw-0000A2-UL for emacs-orgmode@gnu.org; Thu, 29 Nov 2007 20:23:06 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ixuav-00009i-Dv for emacs-orgmode@gnu.org; Thu, 29 Nov 2007 20:23:06 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ixuav-00009f-8f for emacs-orgmode@gnu.org; Thu, 29 Nov 2007 20:23:05 -0500 Received: from relay02.pair.com ([209.68.5.16]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Ixuav-00067h-Bf for emacs-orgmode@gnu.org; Thu, 29 Nov 2007 20:23:05 -0500 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: emacs-orgmode@gnu.org --===============1220735765== Content-Type: multipart/signed; boundary="Sig_/8hjXRFE7B0UrR6pA4s70cI4"; protocol="application/pgp-signature"; micalg=PGP-SHA1 --Sig_/8hjXRFE7B0UrR6pA4s70cI4 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable I really the heading refile system developed first by Max Mikhanosha and then adapted/adopted by Carsten in org 5.14. However, I found it difficult sometimes to remember the particular heading to which I wanted to move the new item -- the auto-complete is helpful, but only if I can remember just how a heading starts. I have a simple (and probably inelegant) hack that works well enough for me, and I thought others might be interested in it as well.=20 In my set-up my projects are 2d-level headings; this simply shows the 2d-level headings in a buffer and then calls org-refile. If others who know lisp think this is worth doing, I suspect they can show us a much better way to do it. But I thought that for once I'd propose a way to do something rather than simply asking for yet another feature. ****** (defun org-show-headings-for-refile () (interactive) (hide-sublevels 2) (show-entry) (org-refile)) ****** --=20 John Rakestraw --Sig_/8hjXRFE7B0UrR6pA4s70cI4 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHT2XtcltzkSGj+xwRAm5uAJ9UZ9i6leTSI1WdR5z5Y/hUryrPaACgplxA rz3F+e35HZdKK2+YYTaa07Y= =77dL -----END PGP SIGNATURE----- --Sig_/8hjXRFE7B0UrR6pA4s70cI4-- --===============1220735765== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1220735765==--