emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: XeCycle <xecycle@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Bug: %?%i in org-capture-templates
Date: Sat, 12 Nov 2011 17:07:59 +0800	[thread overview]
Message-ID: <87y5vlzp1s.fsf@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 631 bytes --]

Hello.

I have an template entry in org-capture-templates like this:

("s" "Software usage notes" entry
 (file "~/workspace/notes/software.org")
 "* %^{Title} %^g\n\n  %?%i")

When the active region is more than one line, the %i is indented on
every line by literal "%?", which is not desired, I'm afraid.  Only the
%? on the first line gets snipped and cursor is placed there.

My environment:

emacs-version "24.0.91.2"
org-version "7.7"

-- 
Carl Lei (XeCycle)
Department of Physics, Shanghai Jiao Tong University
OpenPGP public key: 7795E591
Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591

[-- Attachment #2: Type: application/pgp-signature, Size: 489 bytes --]

                 reply	other threads:[~2011-11-12  9:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=87y5vlzp1s.fsf@gmail.com \
    --to=xecycle@gmail.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).