emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-refile hack to show headings
@ 2007-11-30  1:22 John Rakestraw
  2007-12-01  6:40 ` Max Mikhanosha
  0 siblings, 1 reply; 4+ messages in thread
From: John Rakestraw @ 2007-11-30  1:22 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 966 bytes --]

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. 

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))
******

-- 
John Rakestraw

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-12-02 18:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-30  1:22 org-refile hack to show headings John Rakestraw
2007-12-01  6:40 ` Max Mikhanosha
2007-12-02 16:42   ` Chris Randle
2007-12-02 18:25     ` Carsten Dominik

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).