All Questions
5 questions
0
votes
2
answers
48
views
In LaTex mode, check if we are not in math mode for aas package
I am using the aas package (auto-activating snippets). When I want a snippet to expand we can do so by putting the following in the use-package declaration in the .emacs file:
:cond #'texmathp
"...
4
votes
2
answers
2k
views
Yasnippets: loading two major modes (`org-mode` and `LaTeX`)
I'm trying to load the yasnippets for the LaTeX mode every time I open an org file.
Is it possible? How can this be achieved?
2
votes
1
answer
324
views
how to define a yasnippet in init file?
My init file (.emacs) is version-controlled, my packages are installed with use-package, so my Emacs config is self-contained.
I don't want to add (and manage) specific snippet files into my ...
4
votes
1
answer
1k
views
Is there something I should do about "package assoc is obsolete" message?
Just noticed this message after emacs startup "Package assoc is obsolete!", but everything seems to work nice. The requirement seems to be called by yasnippet only.
I just want to know if I should ...
8
votes
1
answer
765
views
How can I prevent yasnippet from breaking when I update my packages?
After packages have been updated, the location of the loaded elisp files will change to be in the folder of the new version of the package.
Yasnippet attempts to lazily load snippets for the file it ...