GNU bug report logs - #42232
Fix for lisp/allout-widgets void variable

Previous Next

Package: emacs;

Reported by: Ken Manheimer <ken.manheimer <at> gmail.com>

Date: Mon, 6 Jul 2020 17:44:02 UTC

Severity: normal

Done: Ken Manheimer <ken.manheimer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ken Manheimer <ken.manheimer <at> gmail.com>
To: 42232 <at> debbugs.gnu.org
Subject: bug#42232: Fix for lisp/allout-widgets void variable
Date: Mon, 6 Jul 2020 13:43:06 -0400
[Message part 1 (text/plain, inline)]
The attached patch provides for a background void-variable error that
happens when parts of an outline are being concealed. Because the error
happens via the after-change-functions hook, it was being caught by an
allout provision and reported in the mode line.

To see the error before applying the patch, make a simple outline, activate
allout-mode, and then conceal a part of the outline by positioning on the
item whose contents you can hide and using `allout-hide-current-subtree'
(by default, bound to '\C-c SPC \C-h'). When the problem occurs you will
see a message in the mode line, like:

allout-widgets-last-hook-error stored,
allout-widgets-hook-error-handler/error (void-variable handled-conceal)
 6-Jul-2020 01:10:58 PM

You can then see that message and a full backtrace in the *Messages* buffer.

(The let declaration for the variable was probably removed because use of
the variable is oblique. It happens through `(symbol-value handling)'.)
[Message part 2 (text/html, inline)]
[0001-Provide-missing-let-definition-to-prevent-background.patch (application/octet-stream, attachment)]

This bug report was last modified 4 years and 302 days ago.

Previous Next


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