From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug with capture template having %? cursor in the tags section Date: Sat, 08 Oct 2016 15:57:16 +0200 Message-ID: <87d1jbkkoz.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42084) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bss7q-0006TU-P0 for emacs-orgmode@gnu.org; Sat, 08 Oct 2016 09:57:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bss7p-0007Md-1p for emacs-orgmode@gnu.org; Sat, 08 Oct 2016 09:57:17 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:46635) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bss7o-0007LW-SK for emacs-orgmode@gnu.org; Sat, 08 Oct 2016 09:57:16 -0400 In-Reply-To: (Michael Fiano's message of "Fri, 30 Sep 2016 18:42:48 -0400") 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: Michael Fiano Cc: emacs-orgmode@gnu.org Hello, Michael Fiano writes: > 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. This is because neither %?:note: nor :note:%? are tag syntax, and %? place holder is removed as the last step of the process, i.e., after aligning tags. This doesn't solve your problem, but, at least you know the reason why. Regards, -- Nicolas Goaziou