From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Dunsmore Subject: Re: Strange extra-space when using yasnippet for Org-mode heading Date: Thu, 12 Apr 2012 10:31:37 -0500 Message-ID: <87pqbdnezq.fsf@riotblast.dunsmor.com> References: <2012-04-10T17-05-38@devnull.Karl-Voit.at> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SILzq-0001uF-Dg for emacs-orgmode@gnu.org; Thu, 12 Apr 2012 11:31:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SILzo-0001y5-Hi for emacs-orgmode@gnu.org; Thu, 12 Apr 2012 11:31:41 -0400 Received: from deathroller.dunsmor.com ([98.129.169.48]:42863) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SILzo-0001xZ-CY for emacs-orgmode@gnu.org; Thu, 12 Apr 2012 11:31:40 -0400 In-Reply-To: <2012-04-10T17-05-38@devnull.Karl-Voit.at> (Karl Voit's message of "Tue, 10 Apr 2012 17:17:36 +0200") 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: Karl Voit Cc: emacs-orgmode@gnu.org On Tue, Apr 10 2012, Karl Voit wrote: > When I invoke the snippet using =C2=BBtest=C2=AB followed by the TAB key, > yasnippet correctly inserts the template. But after pressing the > first key afterwards, I get an extra space character. > > So with =C2=BBtest=C2=AB followed by TAB, =C2=BBfoo=C2=AB, TAB, =C2=BBbar= =C2=AB, I get this: > > ,----[ result with extra-space after =C2=BBf=C2=AB ] > | ** f oo bar :f oobar: > | > `---- > > I am not even sure if this is an Org-mode related problem at all. > But since I do *not* end up with extra space characters when I > modify the template so that the two asterisks are missing (no > heading), I am afraid that Org-mode has a problem with yasnippet (at > least at my side). Are you using org-indent-mode? If so, maybe what you're seeing is related to this outstanding bug: http://lists.gnu.org/archive/html/emacs-orgmode/2011-08/msg01059.html Jason