GNU bug report logs - #40088
27.0.90; Symbol’s value as variable is void: debugger-outer-match-data

Previous Next

Package: emacs;

Reported by: Joost Kremers <joostkremers <at> fastmail.fm>

Date: Mon, 16 Mar 2020 11:42:01 UTC

Severity: normal

Tags: fixed, patch

Found in version 27.0.90

Fixed in version 27.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Michael Heerdegen <michael_heerdegen <at> web.de>, Joost Kremers <joostkremers <at> fastmail.fm>
Cc: 40088 <at> debbugs.gnu.org
Subject: bug#40088: 27.0.90; Symbol’s value as variable is void: debugger-outer-match-data
Date: Tue, 17 Mar 2020 13:06:09 +0200
On 17.03.2020 3:01, Michael Heerdegen wrote:
> Another defvar with a missing init value so the variable is not globally
> special?  Or is this case intentional for some reason?
> 
> I guess someone with a bride knowledge of Emacs should look at all
> locations of such defvars and see whether an init value should be added.

It doesn't look like this bug should be solved this way. Having "... is 
unbound" is better because it points at some function forgetting to 
let-bind this variable (someone should find out which and to which values).

Whereas if it had an init value, that would mask such problems because 
nil is a somewhat valid value.




This bug report was last modified 5 years and 56 days ago.

Previous Next


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