GNU bug report logs - #54405
27.1; How to reset connection-local variable

Previous Next

Package: emacs;

Reported by: David Landell <david.landell <at> sunnyhill.email>

Date: Tue, 15 Mar 2022 20:46:01 UTC

Severity: normal

Tags: moreinfo

Found in version 27.1

Fixed in version 29.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Drew Adams <drew.adams <at> oracle.com>
To: Michael Albinus <michael.albinus <at> gmx.de>, David Landell <david.landell <at> sunnyhill.email>
Cc: "54405-done <at> debbugs.gnu.org" <54405-done <at> debbugs.gnu.org>
Subject: bug#54405: 27.1; How to reset connection-local variable
Date: Sat, 19 Mar 2022 15:57:54 +0000
> File-local, directory-local and connection-local variables are set
> independently. All of them are implemented as buffer-local variables,
> that means, if a given variable is both file-local and connection-local
> (or directory-local), there might be conflicts.
> 
> Until now, there is no mechanism to avoid this (AFAIK).

Good to know.  Thx.

I haven't checked the doc for each of those kinds
of var.  But do we mention what you say in the
doc?

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)?





This bug report was last modified 3 years and 63 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.