From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Voit Subject: Re: [Bug] Yasnippet/Org: properties messed up when expanding $1 Date: Fri, 15 Feb 2013 18:38:10 +0100 Message-ID: <2013-02-15T18-34-46@devnull.Karl-Voit.at> References: <2013-02-07T12-39-18@devnull.Karl-Voit.at> <2013-02-10T18-48-03@devnull.Karl-Voit.at> <87y5ergl4t.fsf@mean.albasani.net> <2013-02-15T15-41-52@devnull.Karl-Voit.at> <2013-02-15T16-01-24@devnull.Karl-Voit.at> Reply-To: news1142@Karl-Voit.at Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45883) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6Qmr-00049b-Eq for emacs-orgmode@gnu.org; Fri, 15 Feb 2013 14:17:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U6Qmn-00008A-PV for emacs-orgmode@gnu.org; Fri, 15 Feb 2013 14:17:33 -0500 Received: from plane.gmane.org ([80.91.229.3]:43239) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6PEw-0001xS-2P for emacs-orgmode@gnu.org; Fri, 15 Feb 2013 12:38:26 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1U6PFD-0001QN-2T for emacs-orgmode@gnu.org; Fri, 15 Feb 2013 18:38:43 +0100 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 ; Fri, 15 Feb 2013 18:38:43 +0100 Received: from news1142 by mail.michael-prokop.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Feb 2013 18:38:43 +0100 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 * Karl Voit wrote: > > I guess I have to do a bug report to yasnippet. Bugreport: https://github.com/capitaomorte/yasnippet/issues/362 I cut down this issue to a minimal example: it's the combination of heading followed by a line with two colons and a text after the replacement string: ,----[ Snippet: ] | * Test | :ID: ${1:test}-after `---- ,----[ Expected result: ] | * Test | :ID: foo bar-afte `---- ,----[ But unfortunately: ] | * Test | foo bar :test: test-after `---- When the heading OR one colon OR the string after the replacement is omitted, it's working as expected though :-O -- Karl Voit