From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Edgington Subject: bad interaction between yasnippet and org-mode Date: Tue, 9 Jun 2015 08:44:47 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36214) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2IuJ-0000Qq-4h for emacs-orgmode@gnu.org; Tue, 09 Jun 2015 08:45:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2IuH-0001lS-Lv for emacs-orgmode@gnu.org; Tue, 09 Jun 2015 08:45:31 -0400 Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]:34182) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2IuH-0001jd-FV for emacs-orgmode@gnu.org; Tue, 09 Jun 2015 08:45:29 -0400 Received: by wibut5 with SMTP id ut5so16881605wib.1 for ; Tue, 09 Jun 2015 05:45:28 -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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode I have a yas snippet that looks like the following: * $1 :sometag: $0 When I try to expand this snippet (on an empty line) in an org-mode buffer, there seems to be a bad interaction happening between org-mode and yasnippet, such that when entering in text at the $1 location, typing something like "abc" results in "a b c " being inserted (spaces get interspersed). This behavior does not happen if there is no tag at the end of the headline, or if the $1 is replaced with $0 (so yas mode is exited after expanding the snippet). I'm using yas 0.8.0beta (latest git), and Org-mode 8.3beta (release_8.3beta-1206-g2f0bcc) Is there a way to work around or fix this?