GNU bug report logs - #73872
30.0.91; emacs-lisp-mode-syntax-table active when calling `describe-variable' on variable with textually large value.

Previous Next

Package: emacs;

Reported by: Sigurd Dam Sonniks <sigurddam <at> hotmail.com>

Date: Sat, 19 Oct 2024 03:09:01 UTC

Severity: normal

Found in version 30.0.91

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Sigurd Dam Sonniks <sigurddam <at> hotmail.com>,
 Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 73872 <at> debbugs.gnu.org
Subject: Re: bug#73872: 30.0.91;
 emacs-lisp-mode-syntax-table active when calling `describe-variable'
 on variable with textually large value.
Date: Sat, 02 Nov 2024 13:55:15 +0200
> From: Sigurd Dam Sonniks <sigurddam <at> hotmail.com>
> Date: Fri, 18 Oct 2024 22:14:21 +0000
> 
> When you call `describle-variable' on a variable with a value that's
> large enough that it's moved to the end of the help buffer, the syntax
> table is changed to `emacs-lisp-mode-syntax-table' but never changed
> back. There is a very easy fix where you just set it back to
> `help-mode-syntax-table' at the end of the enclosing
> `with-current-buffer', but I guess you could also switch to a
> temporary buffer instead. Below is the relevant code snippet with the
> first suggested fix applied.

Shouldn't the syntax table be left at that value until the buffer is
reused for another variable/function?  Otherwise, why do we set the
syntax table to this value?  Stefan, do you know the reason?




This bug report was last modified 187 days ago.

Previous Next


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