From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Voit Subject: Re: Strange extra-space when using yasnippet for Org-mode heading Date: Thu, 12 Apr 2012 18:03:39 +0200 Message-ID: <2012-04-12T17-58-22@devnull.Karl-Voit.at> References: <2012-04-10T17-05-38@devnull.Karl-Voit.at> <87pqbdnezq.fsf@riotblast.dunsmor.com> Reply-To: news1142@Karl-Voit.at Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51620) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIMVI-0001eY-B7 for emacs-orgmode@gnu.org; Thu, 12 Apr 2012 12:04:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SIMV6-0002lx-Qv for emacs-orgmode@gnu.org; Thu, 12 Apr 2012 12:04:11 -0400 Received: from plane.gmane.org ([80.91.229.3]:46994) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIMV6-0002kO-KF for emacs-orgmode@gnu.org; Thu, 12 Apr 2012 12:04:00 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SIMV5-0000ho-4s for emacs-orgmode@gnu.org; Thu, 12 Apr 2012 18:03:59 +0200 Received: from mail.michael-prokop.at ([88.198.6.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Apr 2012 18:03:59 +0200 Received: from news1142 by mail.michael-prokop.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Apr 2012 18:03:59 +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: emacs-orgmode@gnu.org * Jason Dunsmore wrote: > On Tue, Apr 10 2012, Karl Voit wrote: > >> When I invoke the snippet using »test« 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 »test« followed by TAB, »foo«, TAB, »bar«, I get this: >> >> ,----[ result with extra-space after »f« ] >> | ** f oo bar :f oobar: >> | >> `---- > > Are you using org-indent-mode? Yes. > 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 It is? Oh. I do not get the relation yet and if I deactivate «org-startup-indented», I still can reproduce my problem with the extra space. Probably I was not able to explain it correctly: I do not mind, where the tags are being placed. The extra space is *within* the first word I type. So »foo« gets replaced by »f oo« for example. -- Karl Voit