bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#54405: 27.1; How to reset connection-local variable


From: Michael Albinus
Subject: bug#54405: 27.1; How to reset connection-local variable
Date: Sat, 19 Mar 2022 18:57:18 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Drew Adams <drew.adams@oracle.com> writes:

Hi Drew,

> E.g., do we say that a var that's local in more
> than one of these ways might be problematic ("there
> might be conflicts")?  Should the doc say clearly
> what happens (e.g., what determines the order or
> priority)?

It is documented that in case a variable has both file-local and
directory-local settings, the file-local value will be used. See
(info "(emacs)Directory Variables") (at the bottom).

Otherwise, it is kind of undetermined, I believe. Every package (author)
is free to call `hack-local-variables', `hack-dir-local-variables' or
`hack-connection-local-variables' in any order.

Best regards, Michael.





reply via email to

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