From: Ivanov Dmitry <usr345@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: yasnippets are not loaded
Date: Fri, 18 Nov 2011 13:27:12 +0300 [thread overview]
Message-ID: <01283998.20111118132712@gmail.com> (raw)
I have GNU Emacs 23.1.1 on Windows. I installed yasnippet lib and it works. But when I create custom snippets they are not loaded. For example in c-mode subdir I made a snippet
# -*- mode: snippet -*-
# name: switch
# key: switch
# --
switch (${1:x})
{
case $2:
$3
break;
}
When I open it and try to test it - it works. When I load it into the snippets table for c-mode it starts working in c-mode. But when I just open emacs and start c-mode it's not loaded.
So for some reson yasnippet doesn't load it from the dir.
next reply other threads:[~2011-11-18 10:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-18 10:27 Ivanov Dmitry [this message]
2011-11-19 19:36 ` yasnippets are not loaded Ivanov Dmitry
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=01283998.20111118132712@gmail.com \
--to=usr345@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.