emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matthew Lundin <mdl@imapmail.org>
To: Matthew Lundin <mdl@imapmail.org>
Cc: emacs-orgmode@gnu.org, charles_cave@optusnet.com.au
Subject: Re: Seeking further clarification of org-refile-targets variable
Date: Thu, 18 Dec 2008 07:51:29 -0600	[thread overview]
Message-ID: <m2ljudfv6m.fsf@fastmail.fm> (raw)
In-Reply-To: <m2prjpfvjk.fsf@fastmail.fm> (Matthew Lundin's message of "Thu\, 18 Dec 2008 07\:43\:43 -0600")


Matthew Lundin <mdl@imapmail.org> writes:
>
> I believe you need to substitute a number for N, such as:
>
> (:level . 2:)
>
> But I think the setting you're looking for is:
>
> (:maxlevel . 2:)

Oops, that should be:

(:level . 2)

(:maxlevel . 2) 

[Thank goodness for smileys in gnus, which alerted me to my own error.
I'm afraid I'm too used to PmWiki markup, so I tried to close the
opening parenthesis-colon.]

For good measure my own full setting is:

(setq org-refile-targets '((org-agenda-files :maxlevel . 2)))

Best, 

Matt

>
> As I understand it, the difference between level and maxlevel is that
> the level setting only offers level 2 headlines as targets, while the
> maxlevel offers both level 1 or level 2 headlines as targets.
>
> I think this is a good candidate for an FAQ entry. I'll put it up on
> Worg.
>
>> Perhaps some examples for non-Lisp programmers would be helpful.
>>
>> As org-mode popularity increases, the users are not necessarily
>> Lisp-literate, and I have read messages from users willing to learn
>> Emacs just to use org-mode! 
>
> Yes, as a long-time vim user, I was certainly in that category. And I
> have to say that your very helpful and accessible tutorials were one
> of the first things that drew me to org-mode (and emacs) in the first
> place.
>
> Best,
>
> Matt
>
>
> _______________________________________________
> 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

  reply	other threads:[~2008-12-18 13:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-18  6:27 Seeking further clarification of org-refile-targets variable Charles Cave
2008-12-18 13:43 ` Matthew Lundin
2008-12-18 13:51   ` Matthew Lundin [this message]
2008-12-18 14:01 ` Bernt Hansen
2008-12-18 14:25   ` Matthew Lundin
2008-12-20 22:03   ` 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=m2ljudfv6m.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=charles_cave@optusnet.com.au \
    --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).