From unknown Tue Jun 17 01:31:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42232: Fix for lisp/allout-widgets void variable Resent-From: Ken Manheimer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Jul 2020 17:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42232 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 42232@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159405741117681 (code B ref -1); Mon, 06 Jul 2020 17:44:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Jul 2020 17:43:31 +0000 Received: from localhost ([127.0.0.1]:34804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jsV9O-0004b7-Pw for submit@debbugs.gnu.org; Mon, 06 Jul 2020 13:43:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:51222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jsV9L-0004ay-QK for submit@debbugs.gnu.org; Mon, 06 Jul 2020 13:43:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43860) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jsV9L-00038p-Iy for bug-gnu-emacs@gnu.org; Mon, 06 Jul 2020 13:43:27 -0400 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]:33281) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jsV9J-0005pM-UY for bug-gnu-emacs@gnu.org; Mon, 06 Jul 2020 13:43:27 -0400 Received: by mail-wm1-x344.google.com with SMTP id a6so54517wmm.0 for ; Mon, 06 Jul 2020 10:43:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=o7ruebeA6SJK/OW3ddy/GFUhqRAnb1A2nTkHfoOcVeI=; b=o39D1Smyi4yYoBpczK+6JV4S17HjwKMg8fc0nWkQ4UOZFbS1A1DucDndWWPQyIn5qP 0Et1Lxw9qk8LtwIrpVZ6+DxooBYnHYO+64nuYlwTw9vmP52tcTX/aNVLacrZIu0kRjjs UjbP6ZkdXqMTt8ENBbUOEU8JjkufKu1eZ+90AI7OTDlEACrozIvMkDqk2oMqXHFnxZik 0KzYb0W/aFY2hwUkHEebynQ10ww7ZooiGdhKIAOB4JyVsqrojr1EIsVXD1sCF68qjWsI /DmEjrsju/LeNkAd4mI4RpYHroCMAmZRwSykC3qw3G4LujfDvq6GQ747AqmRzP1dXFVk 8obA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=o7ruebeA6SJK/OW3ddy/GFUhqRAnb1A2nTkHfoOcVeI=; b=Lv+B+9yi5MWKJKb9U3TIR0xNa7bsKaZmC+/bOOgyMG/11cph1IGXtIZ3J33RIZlKPN 38mNdt7ik9aIeoZSZfVxZZaN0ZX5acdguFLzX1Fh+xxnqrf3gaxeMvvMzibYwYF+4oe1 w3MXt7K65fIgEekjxxjSIci3wIMfSt/26GcV8tgtppa2G+VxLLnc643WcxtjPUz94Yos suuNoH2PT6HepdeTtiRpm9QtsVqxIBWVABe6Hy+eXb3hgSNEaI2dBM4QbIDiggCyCjkq ATomgMGF+3nQByhPzfLU7cBBhEZQyyzQ8Mb/CCVAH+fwyPcY2i1w4zrjyRVyhWul3yfL o4/w== X-Gm-Message-State: AOAM5306O2WYp1Rvhr+zdhTZmrfFKRtgVi93sn6SO6Jfcg9vIlrRCTnG C07+aFZ5WhnKQNfx4Jh/NSlqnm2TJSJz4G4kFyKcYR1gjEU= X-Google-Smtp-Source: ABdhPJz78And++5CEWFxVtOrKpoEI+Uv0itheN2kYVEErNUgj/OQBmDazY7Dvzch+T4Z4pyrPDMqrX327MfkpOCiaew= X-Received: by 2002:a1c:9d07:: with SMTP id g7mr303871wme.160.1594057403535; Mon, 06 Jul 2020 10:43:23 -0700 (PDT) MIME-Version: 1.0 From: Ken Manheimer Date: Mon, 6 Jul 2020 13:43:06 -0400 Message-ID: Content-Type: multipart/mixed; boundary="0000000000004a2ca105a9c96943" Received-SPF: pass client-ip=2a00:1450:4864:20::344; envelope-from=ken.manheimer@gmail.com; helo=mail-wm1-x344.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: 0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --0000000000004a2ca105a9c96943 Content-Type: multipart/alternative; boundary="0000000000004a2c9c05a9c96941" --0000000000004a2c9c05a9c96941 Content-Type: text/plain; charset="UTF-8" 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)'.) --0000000000004a2c9c05a9c96941 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The attached patch provides for a background void-variable= error that happens when parts of an outline are being concealed. Because t= he error happens via the after-change-functions hook, it was being caught b= y an allout provision and reported in the mode line.

To see the erro= r before applying the patch, make a simple outline, activate allout-mode, a= nd then conceal a part of the outline by positioning on the item whose cont= ents 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 m= essage in the mode line, like:

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

You can then see that=C2=A0message and = a full backtrace in=C2=A0the *Messages* buffer.

(The let declaration= for the variable was probably removed because use of the variable is obliq= ue. It happens through `(symbol-value handling)'.)


--0000000000004a2c9c05a9c96941-- --0000000000004a2ca105a9c96943 Content-Type: application/octet-stream; name="0001-Provide-missing-let-definition-to-prevent-background.patch" Content-Disposition: attachment; filename="0001-Provide-missing-let-definition-to-prevent-background.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_kcask5hy0 RnJvbSA1NDEyYTY2ODhlMzRhZTZmNjQ5NDg2Yzg0NDgzYmVhMjkwZDkwZjgwIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBLZW4gTWFuaGVpbWVyIDxrZW4ubWFuaGVpbWVyQGdtYWlsLmNv bT4KRGF0ZTogTW9uLCA2IEp1bCAyMDIwIDEzOjE5OjExIC0wNDAwClN1YmplY3Q6IFtQQVRDSF0g UHJvdmlkZSBtaXNzaW5nIGxldCBkZWZpbml0aW9uIHRvIHByZXZlbnQgYmFja2dyb3VuZAogdm9p ZC12YXJpYWJsZSBlcnJvci4KCiogbGlzcC9hbGxvdXQtd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FyaykKIAotLSAKMi4xNy4xCgo= --0000000000004a2ca105a9c96943-- From unknown Tue Jun 17 01:31:48 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ken Manheimer Subject: bug#42232: closed (Re: bug#42232: Acknowledgement (Fix for lisp/allout-widgets void variable)) Message-ID: References: X-Gnu-PR-Message: they-closed 42232 X-Gnu-PR-Package: emacs Reply-To: 42232@debbugs.gnu.org Date: Mon, 20 Jul 2020 19:22:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1595272922-30597-1" This is a multi-part message in MIME format... ------------=_1595272922-30597-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 42232@debbugs.gnu.org. --=20 42232: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D42232 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1595272922-30597-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 42232-done) by debbugs.gnu.org; 20 Jul 2020 19:21:15 +0000 Received: from localhost ([127.0.0.1]:36222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jxbLe-0007wU-Fp for submit@debbugs.gnu.org; Mon, 20 Jul 2020 15:21:15 -0400 Received: from mail-wr1-f44.google.com ([209.85.221.44]:40646) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jxbLc-0007wF-D6 for 42232-done@debbugs.gnu.org; Mon, 20 Jul 2020 15:21:13 -0400 Received: by mail-wr1-f44.google.com with SMTP id f2so18907516wrp.7 for <42232-done@debbugs.gnu.org>; Mon, 20 Jul 2020 12:21:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=v+4A/g419plumHbbc9IlrUAsOX6SVdqzffk5GlvWBCM=; b=JRnihtH0RGEkWakhr7cNz5zzIX5SFR6Txsg0lV9H2/uuBHAW9M+Zjt3qJInUGI7Gq8 IxAFdLOVjFjy9z0HKNiPgpokMWLPLwKuqWFc2UBi5TpICx93K8otiCU1Kq42uwmb42KD g73JWpNHbgCLhkoaiG5zbLR5+B1FP1m6t2zB+I5pr8HhOYXgo3L8pUCtXbBr0d1ZTKdw r0mwfg6LQSWBckpmZpP/zxUpIS0vw3nuv6fqpgkRZosOaJnS0JM1rLj+6l+HrUDUAMsO 8KQ3E+3fOSdiiX+DcYbysQAICfYHvmbNv/g1j9zlNkcSe+1bSxmyQXH3botTvdFJLQ0L 6CWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=v+4A/g419plumHbbc9IlrUAsOX6SVdqzffk5GlvWBCM=; b=Xu5xHsIcMwQ0mQ/uQ5tfvvJSyfRyo6iPj2GrnR3/iKM3xsA5bXBlZe42SMD57iNYY3 9X+sKYR/ahekYQJN2/cOgEULki6jk9OMfRPJc0nWiOApouQ7u/aKiS8LFmXSddiVEJNP pvhQufJdCed3LztEGtzggN/JA50xI32BffASXoEvBxdnQVvkkKNA8S0sRjoe79vYIUAK fkWh/jpl74kEtzB/lZCBpmWJeonturDUH78fQPhtjSF+DMEESaUgrlN81xZOneytCgnJ Nc0yIjagewBkjO0mLdudUhBEvOG/rY6EoHNKEDvnfOZm4PpfqE+Seiy0jC3yeG8MRGL4 fLZg== X-Gm-Message-State: AOAM5324x8mYMEqcIdehHVIRyMgqvYNM8NSrcmd04b5uHoysynbDLwQ+ dnPtSFACO1r7/Kq0Q58QKdF2Yjb2PaoeTFF6PodjUtlHy/s= X-Google-Smtp-Source: ABdhPJxouo/t57ezLLWh+8gITo/eeh6xi+LrewhttnO86o+fIhjQhmRaph5SkhFWv41xF9LNk+0+3/1+NS0Z/rWaKY8= X-Received: by 2002:adf:fc90:: with SMTP id g16mr23174555wrr.42.1595272865856; Mon, 20 Jul 2020 12:21:05 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ken Manheimer Date: Mon, 20 Jul 2020 15:20:49 -0400 Message-ID: Subject: Re: bug#42232: Acknowledgement (Fix for lisp/allout-widgets void variable) To: 42232-done@debbugs.gnu.org Content-Type: multipart/alternative; boundary="0000000000007d400e05aae4683a" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42232-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --0000000000007d400e05aae4683a Content-Type: text/plain; charset="UTF-8" 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 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): > bug-gnu-emacs@gnu.org > > If you wish to submit further information on this problem, please > send it to 42232@debbugs.gnu.org. > > Please do not send mail to help-debbugs@gnu.org 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 help-debbugs@gnu.org with problems > --0000000000007d400e05aae4683a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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 <help-debbugs@gnu.org> wrote:
Thank you for filing a new bug re= port 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):
=C2=A0bug-gnu-em= acs@gnu.org

If you wish to submit further information on this problem, please
send it to 42232= @debbugs.gnu.org.

Please do not send mail to help-debbugs@gnu.org unless you wish
to report a problem with the Bug-tracking system.

--
42232: http://debbugs.gnu.org/cgi/bugreport.cgi?= bug=3D42232
GNU Bug Tracking System
Contact help-debb= ugs@gnu.org with problems
--0000000000007d400e05aae4683a-- ------------=_1595272922-30597-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 6 Jul 2020 17:43:31 +0000 Received: from localhost ([127.0.0.1]:34804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jsV9O-0004b7-Pw for submit@debbugs.gnu.org; Mon, 06 Jul 2020 13:43:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:51222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jsV9L-0004ay-QK for submit@debbugs.gnu.org; Mon, 06 Jul 2020 13:43:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43860) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jsV9L-00038p-Iy for bug-gnu-emacs@gnu.org; Mon, 06 Jul 2020 13:43:27 -0400 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]:33281) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jsV9J-0005pM-UY for bug-gnu-emacs@gnu.org; Mon, 06 Jul 2020 13:43:27 -0400 Received: by mail-wm1-x344.google.com with SMTP id a6so54517wmm.0 for ; Mon, 06 Jul 2020 10:43:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=o7ruebeA6SJK/OW3ddy/GFUhqRAnb1A2nTkHfoOcVeI=; b=o39D1Smyi4yYoBpczK+6JV4S17HjwKMg8fc0nWkQ4UOZFbS1A1DucDndWWPQyIn5qP 0Et1Lxw9qk8LtwIrpVZ6+DxooBYnHYO+64nuYlwTw9vmP52tcTX/aNVLacrZIu0kRjjs UjbP6ZkdXqMTt8ENBbUOEU8JjkufKu1eZ+90AI7OTDlEACrozIvMkDqk2oMqXHFnxZik 0KzYb0W/aFY2hwUkHEebynQ10ww7ZooiGdhKIAOB4JyVsqrojr1EIsVXD1sCF68qjWsI /DmEjrsju/LeNkAd4mI4RpYHroCMAmZRwSykC3qw3G4LujfDvq6GQ747AqmRzP1dXFVk 8obA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=o7ruebeA6SJK/OW3ddy/GFUhqRAnb1A2nTkHfoOcVeI=; b=Lv+B+9yi5MWKJKb9U3TIR0xNa7bsKaZmC+/bOOgyMG/11cph1IGXtIZ3J33RIZlKPN 38mNdt7ik9aIeoZSZfVxZZaN0ZX5acdguFLzX1Fh+xxnqrf3gaxeMvvMzibYwYF+4oe1 w3MXt7K65fIgEekjxxjSIci3wIMfSt/26GcV8tgtppa2G+VxLLnc643WcxtjPUz94Yos suuNoH2PT6HepdeTtiRpm9QtsVqxIBWVABe6Hy+eXb3hgSNEaI2dBM4QbIDiggCyCjkq ATomgMGF+3nQByhPzfLU7cBBhEZQyyzQ8Mb/CCVAH+fwyPcY2i1w4zrjyRVyhWul3yfL o4/w== X-Gm-Message-State: AOAM5306O2WYp1Rvhr+zdhTZmrfFKRtgVi93sn6SO6Jfcg9vIlrRCTnG C07+aFZ5WhnKQNfx4Jh/NSlqnm2TJSJz4G4kFyKcYR1gjEU= X-Google-Smtp-Source: ABdhPJz78And++5CEWFxVtOrKpoEI+Uv0itheN2kYVEErNUgj/OQBmDazY7Dvzch+T4Z4pyrPDMqrX327MfkpOCiaew= X-Received: by 2002:a1c:9d07:: with SMTP id g7mr303871wme.160.1594057403535; Mon, 06 Jul 2020 10:43:23 -0700 (PDT) MIME-Version: 1.0 From: Ken Manheimer Date: Mon, 6 Jul 2020 13:43:06 -0400 Message-ID: Subject: Fix for lisp/allout-widgets void variable To: bug-gnu-emacs@gnu.org Content-Type: multipart/mixed; boundary="0000000000004a2ca105a9c96943" Received-SPF: pass client-ip=2a00:1450:4864:20::344; envelope-from=ken.manheimer@gmail.com; helo=mail-wm1-x344.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --0000000000004a2ca105a9c96943 Content-Type: multipart/alternative; boundary="0000000000004a2c9c05a9c96941" --0000000000004a2c9c05a9c96941 Content-Type: text/plain; charset="UTF-8" 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)'.) --0000000000004a2c9c05a9c96941 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The attached patch provides for a background void-variable= error that happens when parts of an outline are being concealed. Because t= he error happens via the after-change-functions hook, it was being caught b= y an allout provision and reported in the mode line.

To see the erro= r before applying the patch, make a simple outline, activate allout-mode, a= nd then conceal a part of the outline by positioning on the item whose cont= ents 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 m= essage in the mode line, like:

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

You can then see that=C2=A0message and = a full backtrace in=C2=A0the *Messages* buffer.

(The let declaration= for the variable was probably removed because use of the variable is obliq= ue. It happens through `(symbol-value handling)'.)


--0000000000004a2c9c05a9c96941-- --0000000000004a2ca105a9c96943 Content-Type: application/octet-stream; name="0001-Provide-missing-let-definition-to-prevent-background.patch" Content-Disposition: attachment; filename="0001-Provide-missing-let-definition-to-prevent-background.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_kcask5hy0 RnJvbSA1NDEyYTY2ODhlMzRhZTZmNjQ5NDg2Yzg0NDgzYmVhMjkwZDkwZjgwIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBLZW4gTWFuaGVpbWVyIDxrZW4ubWFuaGVpbWVyQGdtYWlsLmNv bT4KRGF0ZTogTW9uLCA2IEp1bCAyMDIwIDEzOjE5OjExIC0wNDAwClN1YmplY3Q6IFtQQVRDSF0g UHJvdmlkZSBt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