From mboxrd@z Thu Jan 1 00:00:00 1970 From: XeCycle Subject: Bug: %?%i in org-capture-templates Date: Sat, 12 Nov 2011 17:07:59 +0800 Message-ID: <87y5vlzp1s.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:33388) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RP9ZS-0005jK-2G for emacs-orgmode@gnu.org; Sat, 12 Nov 2011 04:08:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RP9ZO-0002AX-3U for emacs-orgmode@gnu.org; Sat, 12 Nov 2011 04:08:18 -0500 Received: from lo.gmane.org ([80.91.229.12]:48435) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RP9ZN-0002AL-Ul for emacs-orgmode@gnu.org; Sat, 12 Nov 2011 04:08:14 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RP9ZL-0004CP-GH for emacs-orgmode@gnu.org; Sat, 12 Nov 2011 10:08:11 +0100 Received: from 59.78.37.25 ([59.78.37.25]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 12 Nov 2011 10:08:11 +0100 Received: from xecycle by 59.78.37.25 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 12 Nov 2011 10:08:11 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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" =2D-=20 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 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAEBAgAGBQJOvjdvAAoJEI1xjsR3leWRuWwH/A7kivu0hFIyFN4SSIGS8PAz czS05RUHPh8SZAs9GVuKIo3Z+CMrb3HB+O6ESQAYzLqKMYLM5wbFXWTOPqL72W2s wyqOD7I1KvGJVnkyrZoqmJ2+bwe97ucV7xiClenpUTHNaGYblcPfhbgyDO5dataC maprK0iDKYssNfO7Y6zJJ48poK8BN3+dR56KIVuYrDJB5EfLn7Hdsqe3J/mQ9Hah ch36GNiF8EkRdxGgwEiIWg722AEoZQr9WD1IFcpYnE35O3S4XKC2760SQa6q4exg U90oggHroYDRNbNf1pcR1IDFXu4xeGQhU8koePAyv9qiT+N1RoHIfIGeibf+0WY= =EaTD -----END PGP SIGNATURE----- --=-=-=--