[Top][All Lists]

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

Re: [AUCTeX-devel] Re: Make TeX-insert-macro behave intelligently on \us

From: Ralf Angeli
Subject: Re: [AUCTeX-devel] Re: Make TeX-insert-macro behave intelligently on \usepackage
Date: Wed, 12 Oct 2005 11:29:20 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

* Arne Jørgensen (2005-10-11) writes:

> Reiner Steib <address@hidden> writes:
>> I think we should provide an option to get the current behavior back.
>> Things like these might be in the finger-memory of users. 
> I've made a variable `LaTeX-usepackage-intelligent-behavior-p' that
> will give the old behavior if set to nil.

In my opinion this is unnecessary.  If we think the new behavior is
favorable let's just do that and don't look back to the old one which
I always found awkward.

By the way, coding conventions suggest to use a `-p' suffix for
functions but a `-flag' suffix for variables concerning true-or-false
conditions, see (info "(elisp)Coding Conventions").  I don't think we
are consistent throughout AUCTeX's code base, but this could change
over time. (c:

> +  (if (null LaTeX-usepackage-intelligent-behaviour-p)

That should be `not' instead of `null' for clarity.  `null' is
normally used if the object to be checked is considered a list, see
(info "(elisp)List-related Predicates").


reply via email to

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