[Top][All Lists]

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

Re: [AUCTeX-devel] acronym.el

From: Tassilo Horn
Subject: Re: [AUCTeX-devel] acronym.el
Date: Mon, 07 Jan 2013 09:12:46 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

"address@hidden" <address@hidden> writes:

Hi Mosè,

> I'm sending style for `acronym.sty' package.  There is a bug: opening a 
> source 
> file which loads `acronym' (I'm sending the example file `acrotest.tex' taken 
> from `acronym' manual) results in the following error:
>   Symbol's function definition is void: LaTeX-add-acronyms
> Moving the line
>   (TeX-auto-add-type "acronym" "LaTeX")
> to `latex.el' seems to fix the bug.  Is this the correct solution?

Can't you just add that to acronym.el?  I've tried the attached version,
and I don't get an error when it's loaded.  The only changes are that
the `TeX-auto-add-type' is before adding the entry to
`LaTeX-auto-regexp-list', and I use `add-to-list' instead of `setq' and
`append', so that loading the acronym.el multiple times won't create
multiple entries in `LaTeX-auto-regexp-list'.

I also added it to so that it gets byte-compiled.  (Maybe
that makes a difference?)

However, even though I get no errors, the completion of existing
acronyms doesn't work.  When I open your acrotest.tex,
(TeX-acronym-list) always returns nil...


reply via email to

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