unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* yasnippet placeholder problems
@ 2013-05-02  8:35 Julien Cubizolles
  0 siblings, 0 replies; only message in thread
From: Julien Cubizolles @ 2013-05-02  8:35 UTC (permalink / raw)
  To: help-gnu-emacs

I can't jump anymore from one placeholder to the next with some of my
snippets. Here is an example of such a snippet:

--8<---------------cut here---------------start------------->8---
# -*- mode: snippet -*-
# name: Vitesse
# key: vit
# --
\Vitesse{$1}{$2} $0
--8<---------------cut here---------------end--------------->8---

I also get this message when opening the snippet file:

--8<---------------cut here---------------start------------->8---
font-lock-fontify-keywords-region: Symbol's function definition is void: font-lock-preprocessor-face
--8<---------------cut here---------------end--------------->8---

What is even stranger is that the problem is intermittent: the error
message isn't displayed if I try to open the file immediately after and
the placeholder jumping works if I reload the snippet from the file
buffer just after...

Any idea what's going wrong ?

I'm using running GNU Emacs 24.3.50.1 and yasnippet 20130218.2229 from
github.

Julien.




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-05-02  8:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-02  8:35 yasnippet placeholder problems Julien Cubizolles

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).