Ramiro James Rebolledo Cormack <
ramr...@gmail.com> writes:
> For example, I added the follow lines to yasnippet.el:
>
> ("lr(" "\\left($0\\right)" "\\left( ... \\right)" nil nil nil nil))
> ("lr[" "\\left[$0\\right]" "\\left[ ... \\right]" nil nil nil nil)
> ("lr{" "\\left\\lbrace$0\\right\\rbrace" "\\left\\{ ... \\right\\}" nil nil
> nil nil)
Whoo, stop right there? Why are you adding lines to yasnippet.el? Where
are you adding those lines? Are you sure you're not using
yasnippet-bundle.el? It's very old and you should not be using it
anymore.
You should be using the latest yasnippet from github
(
http://github.com/capitaomorte/yasnippet) and defining new snippets
with **snippet files**. Read the docs, there's a They are outdated, but
they help you in this basic use case.
> * Question 2:
> After manipulate yasnipet.el I need to close and reopen the emacs editor to
> get the difference.
If you don't "manipulate" yasnippet.el, you can call do "M-x
yas-reload-all", for example
> * Question 3 (end the last):
> It's okay to ask this in this mailing list?
It's OK. But it's better if you open an issue on github, and I'll mark
it a "user support" issue.
J