auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX] Re: Dealing with abbreviations


From: Leo
Subject: [AUCTeX] Re: Dealing with abbreviations
Date: Fri, 01 May 2009 18:31:20 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (darwin)

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 :.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]