GNU bug report logs - #77335
30.1; RefTeX: Move some 'setq' expressions out of loop

Previous Next

Package: emacs;

Reported by: Pengji Zhang <me <at> pengjiz.com>

Date: Fri, 28 Mar 2025 10:43:02 UTC

Severity: normal

Found in version 30.1

Done: Arash Esbati <arash <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Arash Esbati <arash <at> gnu.org>
To: Pengji Zhang <me <at> pengjiz.com>
Cc: 77335-done <at> debbugs.gnu.org
Subject: Re: bug#77335: 30.1; RefTeX: Move some 'setq' expressions out of loop
Date: Mon, 14 Jul 2025 21:51:38 +0200
Pengji Zhang <me <at> pengjiz.com> writes:

> (I am not sure if this is the right list to submit a patch for RefTeX.
> Please let me know if it is not. Thanks!)

I'd say here or bug-auctex <at> gnu.org should work.

> In the function 'reftex-offer-label-menu', there are two 'setq'
> expressions inside a loop. That makes it hard for users to change those
> settings. For example, I would like to remove 'global-mode-string' from
> the mode line of the label buffer, but there is no easy way to do so.
>
> This patch moves the two 'setq' expressions to the definition of the
> major mode for the buffer, so users could use the mode hook to tweak
> those two settings.

I installed your patch (commit 5d9a67e4).  My apologies it took so long;
I managed to miss this report which I'm now closing.

Best, Arash




This bug report was last modified 1 day ago.

Previous Next


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