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 #17 received at 24780 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: Andreas Röhler <andreas.roehler <at> easy-emacs.de>,
 24780 <at> debbugs.gnu.org
Subject: Re: bug#24780: 26.0.50; describe-mode lexical-binding
Date: Sat, 27 Jul 2019 18:42:17 +0200
Noam Postavsky <npostavs <at> gmail.com> writes:

> IMO it's not worth spending space on the mode line for this.  Yeah,
> sometimes I want to check, and M-< followed by C-u C-SPC to go back
> works fine for that.

OK, there doesn't seem to be much enthusiasm for putting this in our
precious mode line real estate, and I concur.

But I had another look at `describe-mode', and contrary to what I
believed, it does include stuff that's not directly mode-related.  In
particular:

	;; Narrowing is not a minor mode, but its indicator is part of
	;; mode-line-modes.
	(when (buffer-narrowed-p)
	  (push '(narrow-to-region "Narrow" " Narrow") minor-modes))

So perhaps it'd be an idea to do the same with `lexical-binding'?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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.