emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: "Philipp Möller" <bootsarehax@googlemail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: %(SEXP) with %c in org-capture templates
Date: Sun, 24 Jul 2011 18:48:13 +0200	[thread overview]
Message-ID: <87hb6btrru.fsf@altern.org> (raw)
In-Reply-To: <CAC5Joch5AjJHKj3h=Ou3pwFBQPqLLarqYdQmikK+F_BzdpbYqA@mail.gmail.com> ("Philipp \=\?iso-8859-1\?Q\?M\=F6ller\=22's\?\= message of "Sat, 16 Jul 2011 00:38:09 +0200")

Hi Philipp,

Philipp Möller <bootsarehax@googlemail.com> writes:

> nevermind. I figured out that the expansion order of %s and s
> expressions is the problem and also the reason for the with the
> correct URL.
> The solution is to use %(get-page-title (current-kill 0)).

Thanks for letting us know!

> Can this be added to the documentation or is it supposed to be obvious
> from the order of available template expansions?

IMHO this should go in the documentation -- could you provide a patch
for this?

Thanks,

-- 
 Bastien

  reply	other threads:[~2011-07-24 19:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-12 23:46 %(SEXP) with %c in org-capture templates Philipp Möller
2011-07-15 22:38 ` Philipp Möller
2011-07-24 16:48   ` Bastien [this message]
2011-07-25 13:49     ` Philipp Möller
2011-07-25 21:09       ` Bastien

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=87hb6btrru.fsf@altern.org \
    --to=bzg@altern.org \
    --cc=bootsarehax@googlemail.com \
    --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).