Subject: bug#42232: closed (Re: bug#42232: Acknowledgement (Fix for lisp/allout-widgets void variable))

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 20 Jul 2020 19:22:02 +0000

Your bug report

#42232: Fix for lisp/allout-widgets void variable

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
42232: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42232
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#42232: Acknowledgement (Fix for lisp/allout-widgets void variable)
From: Ken Manheimer <[email-masked]>
To: [email-masked]
Date: Mon, 20 Jul 2020 15:20:49 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Fix committed in 3c410b6b4753e02269bb36914e7534eb124150dd and pushed to
main repository main and (mistakenly) emacs-27 branches

On Mon, Jul 6, 2020 at 1:44 PM GNU bug Tracking System <[email-masked]>
wrote:

> Thank you for filing a new bug report with debbugs.gnu.org.
>
> This is an automatically generated reply to let you know your message
> has been received.
>
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
>
> Your message has been sent to the package maintainer(s):
>  [email-masked]
>
> If you wish to submit further information on this problem, please
> send it to [email-masked].
>
> Please do not send mail to [email-masked] unless you wish
> to report a problem with the Bug-tracking system.
>
> --
> 42232: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42232
> GNU Bug Tracking System
> Contact [email-masked] with problems
>

Subject: Fix for lisp/allout-widgets void variable
From: Ken Manheimer <[email-masked]>
To: [email-masked]
Date: Mon, 6 Jul 2020 13:43:06 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

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)'.)