[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [Bug] Yasnippet/Org: properties messed up when expanding $1
From: |
Karl Voit |
Subject: |
Re: [O] [Bug] Yasnippet/Org: properties messed up when expanding $1 |
Date: |
Fri, 15 Feb 2013 18:38:10 +0100 |
User-agent: |
slrn/0.9.9 (Linux) |
* Karl Voit <address@hidden> 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