From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Fiano Subject: Bug with capture template having %? cursor in the tags section Date: Fri, 30 Sep 2016 18:42:48 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114ac88a54b514053dc1500b Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33687) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bq6W3-00050V-HL for emacs-orgmode@gnu.org; Fri, 30 Sep 2016 18:42:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bq6W2-0004fm-13 for emacs-orgmode@gnu.org; Fri, 30 Sep 2016 18:42:50 -0400 Received: from mail-io0-x230.google.com ([2607:f8b0:4001:c06::230]:33526) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bq6W1-0004fd-Re for emacs-orgmode@gnu.org; Fri, 30 Sep 2016 18:42:49 -0400 Received: by mail-io0-x230.google.com with SMTP id r145so73622051ior.0 for ; Fri, 30 Sep 2016 15:42:49 -0700 (PDT) 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" To: emacs-orgmode@gnu.org --001a114ac88a54b514053dc1500b Content-Type: text/plain; charset=UTF-8 If I create a capture template that creates a headline such as: "* %? :note:\n", then upon capturing the note tag is correctly shifted over to org-tags-column. However, if I position the %? cursor to be: %?:note: :note:%? or anywhere in between, the tags are not written to the correct column, instead with 1 space after the headline. I just wanted to manually define some extra tags, instead of using %^g/%^G, but this messes up the column placement. --001a114ac88a54b514053dc1500b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
If I create a capture template that creates a headline suc= h as:

"* %? :note:\n", then upon capturing the= note tag is correctly shifted over to org-tags-column.

<= /div>
However, if I position the %? cursor to be:

<= div>%?:note:
:note:%?

or anywhere in bet= ween, the tags are not written to the correct column, instead with 1 space = after the headline. I just wanted to manually define some extra tags, inste= ad of using %^g/%^G, but this messes up the column placement.
--001a114ac88a54b514053dc1500b--