emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: emacs-orgmode@gnu.org
Subject: Re: feature request: additional org/remember template escapes:
Date: Tue, 04 Sep 2007 07:37:49 +0200	[thread overview]
Message-ID: <878x7nrnwy.fsf@bzg.ath.cx> (raw)
In-Reply-To: <200709040100.l8410Ape004084@localhost.localdomain> (Xavier Maillard's message of "Tue, 4 Sep 2007 03:00:10 +0200")

Hi Xavier,

Xavier Maillard <xma@gnu.org> writes:

>    Starting with 5.08, you will be able to use %A in the template.
>    It will insert the link, but explicitly prompt you for
>    the link description.
>
> Maybe I have not understood the problem, but what is the
> difference with me, doing an explicit C-c C-l ?

Well, the discussion was about remember templates, not direct
interactive link insertion.

See (info "(Org)Remember templates") :

(setq org-remember-templates
  '((?t "* TODO %?\n  %i\n  %a" "~/org/TODO.org")
    (?j "* %U %?\n\n  %i\n  %a" "~/org/JOURNAL.org")
    (?i "* %^{Title}\n  %i\n  %a" "~/org/JOURNAL.org" "New Ideas")))

The `%a' refers to an "annotation, normally the link created with
`org-store-link'". The proposed solution is to make this insertion
interactive by prompting for the link description.

Hope it's clearer now!

-- 
Bastien

  reply	other threads:[~2007-09-04  5:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-01  4:32 feature request: additional org/remember template escapes: T. V. Raman
2007-09-03 16:06 ` Carsten Dominik
2007-09-03 18:13   ` T. V. Raman
2007-09-04  1:00   ` Xavier Maillard
2007-09-04  5:37     ` Bastien [this message]
2007-09-05  1:00       ` Xavier Maillard
2007-09-04  6:51     ` Carsten Dominik
2007-09-05  1:00       ` Xavier Maillard

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=878x7nrnwy.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --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).