GNU bug report logs - #56894
Don't set outline-level to texinfo-outline-level

Previous Next

Package: auctex;

Reported by: Philip Kaludercic <philipk <at> posteo.net>

Date: Tue, 2 Aug 2022 17:20:02 UTC

Severity: normal

Done: Tassilo Horn <tsdh <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 56894 in the body.
You can then email your comments to 56894 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-auctex <at> gnu.org:
bug#56894; Package auctex. (Tue, 02 Aug 2022 17:20:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Philip Kaludercic <philipk <at> posteo.net>:
New bug report received and forwarded. Copy sent to bug-auctex <at> gnu.org. (Tue, 02 Aug 2022 17:20:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Philip Kaludercic <philipk <at> posteo.net>
To: bug-auctex <at> gnu.org
Subject: Don't set outline-level to texinfo-outline-level
Date: Tue, 02 Aug 2022 17:18:48 +0000
[Message part 1 (text/plain, inline)]
Apparently, the function `texinfo-outline-level' was added to texinfo.el
in 1996 (ChangeLog.6) and removed in 2003 (ChangeLog.10).  In release
9.4f (1996) `outline-level' was set to this then newly added function,
which has been void for 19 years now.

I just noticed it now, because consult[0] checks if `outline-level' is
bound, in which case it is funcall'ed.  In .texi buffer with auctex
loaded, this triggers an error.  For that reason I'd appreciate it if
this patch could be applied:

[0001-tex-info.el-TeX-texinfo-mode-Don-t-set-outline-level.patch (text/x-patch, inline)]
From 213748eeaea7c798f54ad627e8c2b4743d293041 Mon Sep 17 00:00:00 2001
From: Philip Kaludercic <philipk <at> posteo.net>
Date: Tue, 2 Aug 2022 19:12:17 +0200
Subject: [PATCH] * tex-info.el (TeX-texinfo-mode): Don't use texinfo-outline-level

---
 tex-info.el | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tex-info.el b/tex-info.el
index 66e57517..2ee3d7ac 100644
--- a/tex-info.el
+++ b/tex-info.el
@@ -680,7 +680,6 @@ value of `Texinfo-mode-hook'."
        (concat "@\\("
                (mapconcat #'car texinfo-section-list "\\>\\|")
                "\\>\\)"))
-  (set (make-local-variable 'outline-level) 'texinfo-outline-level)
 
   ;; Mostly AUCTeX stuff
   (set (make-local-variable 'TeX-command-current) #'TeX-command-master)
-- 
2.37.1

[Message part 3 (text/plain, inline)]
[0] https://elpa.gnu.org/packages/consult.html

Reply sent to Tassilo Horn <tsdh <at> gnu.org>:
You have taken responsibility. (Tue, 02 Aug 2022 20:13:01 GMT) Full text and rfc822 format available.

Notification sent to Philip Kaludercic <philipk <at> posteo.net>:
bug acknowledged by developer. (Tue, 02 Aug 2022 20:13:01 GMT) Full text and rfc822 format available.

Message #10 received at 56894-done <at> debbugs.gnu.org (full text, mbox):

From: Tassilo Horn <tsdh <at> gnu.org>
To: Philip Kaludercic <philipk <at> posteo.net>
Cc: 56894-done <at> debbugs.gnu.org
Subject: Re: bug#56894: Don't set outline-level to texinfo-outline-level
Date: Tue, 02 Aug 2022 22:10:07 +0200
Philip Kaludercic <philipk <at> posteo.net> writes:

Hi Philip,

> loaded, this triggers an error.  For that reason I'd appreciate it if
> this patch could be applied:
>
> From 213748eeaea7c798f54ad627e8c2b4743d293041 Mon Sep 17 00:00:00 2001
> From: Philip Kaludercic <philipk <at> posteo.net>
> Date: Tue, 2 Aug 2022 19:12:17 +0200
> Subject: [PATCH] * tex-info.el (TeX-texinfo-mode): Don't use texinfo-outline-level

Thanks a lot, it's always interesting how long plain bugs can stay
unnoticed.  I've applied your patch with slight modifications to the
commit message (so that they include the "outer" mails explanation).

Bye,
Tassilo




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 31 Aug 2022 11:24:15 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 343 days ago.

Previous Next


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