GNU bug report logs - #24780
26.0.50; describe-mode lexical-binding

Previous Next

Package: emacs;

Reported by: Andreas Röhler <andreas.roehler <at> easy-emacs.de>

Date: Mon, 24 Oct 2016 09:06:01 UTC

Severity: wishlist

Tags: fixed

Found in version 26.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Kangas <stefan <at> marxist.se>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Alan Mackenzie <acm <at> muc.de>, Stefan Monnier <monnier <at> iro.umontreal.ca>,
 24780 <at> debbugs.gnu.org
Subject: Re: bug#24780: 26.0.50; describe-mode lexical-binding
Date: Wed, 12 Aug 2020 06:10:31 -0700
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Lars Ingebrigtsen <larsi <at> gnus.org> writes:
>
>>> This would indicate the legacy nature of dynamic binding, and gently
>>> nudge users to move to lexical-binding.
>>
>> That's a very good idea, I think.
>
> Heh.  I should look at the mode line more -- it currently says "Elisp/l"
> and "Elisp/d" with a ugly orange on the "/d", so I guess somebody
> already fixed this without us noticing?

I missed that due to diminish, which changes it to "el" for me in both
cases.  But you are correct now that I'm trying emacs -Q.

This was added in:

commit 620f672518b1c009a028ebdb0fd1d4a0aabfa1d0
Author: Stefan Monnier <monnier <at> iro.umontreal.ca>
Date:   Tue Mar 3 11:34:49 2020 -0500

    * lisp/progmodes/elisp-mode.el (elisp-enable-lexical-binding): New command

    (emacs-lisp-mode): Indicate lex/dyn binding mode in the mode line.
    (elisp--dynlex-modeline-map): New var.

We could of course still change it to "Elisp" for the "Elisp/l" case.
Or we could just close this bug.

Best regards,
Stefan Kangas




This bug report was last modified 4 years and 287 days ago.

Previous Next


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