On 2009-05-01 17:57 +0100, Santiago Mejia wrote:
> Is there a way to deal with abbreviations (abbrevs) in latex documents
> that work only under LaTeX or TeX documents, but that do not work in
> other text based modes.
>
> I recently began using gnus, but there are many abbreviations, that I
> use specifically for LaTeX, which I do not want to use in gnus.
>
> Thanks in advance.
>
> Santiago.

I raised this issue a long time ago.
http://article.gmane.org/gmane.emacs.auctex.devel/2402/match=abbrev

Unfortunately nobody takes notice.

For the moment you may use the following workaround.

(define-abbrev-table 'TeX-mode-abbrev-table (make-abbrev-table))
(add-hook 'TeX-mode-hook (lambda ()
   (setq abbrev-mode t)
   (setq local-abbrev-table TeX-mode-abbrev-table)))

Best wishes,
--
.: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :.



_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to