From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#24780: 26.0.50; describe-mode lexical-binding Date: Sat, 27 Jul 2019 18:42:17 +0200 Message-ID: References: <87y30jhbw2.fsf@mouse.gnus.org> <87ftmrvd1p.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="235165"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 24780@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 27 18:43:08 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hrPml-000z35-KX for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Jul 2019 18:43:07 +0200 Original-Received: from localhost ([::1]:46616 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hrPmk-0003oy-Hs for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Jul 2019 12:43:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45565) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hrPmh-0003os-H1 for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2019 12:43:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hrPmg-0006QG-IT for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2019 12:43:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36488) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hrPmg-0006QC-FT for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2019 12:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hrPmg-00034m-B5 for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2019 12:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Jul 2019 16:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24780 X-GNU-PR-Package: emacs Original-Received: via spool by 24780-submit@debbugs.gnu.org id=B24780.156424574411746 (code B ref 24780); Sat, 27 Jul 2019 16:43:02 +0000 Original-Received: (at 24780) by debbugs.gnu.org; 27 Jul 2019 16:42:24 +0000 Original-Received: from localhost ([127.0.0.1]:45309 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrPm4-00033O-1R for submit@debbugs.gnu.org; Sat, 27 Jul 2019 12:42:24 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:41900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrPm2-00033F-CM for 24780@debbugs.gnu.org; Sat, 27 Jul 2019 12:42:22 -0400 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hrPlx-0002gS-SH; Sat, 27 Jul 2019 18:42:20 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAD1BMVEV/AQMlAABTAQKeFxpH AAFlvZNhAAACK0lEQVQ4jV1T7YHrIAxzIANgzgMAYQBfeQNAjv1nejJpru3xI2kjbEn+oJ+dWRL3 pnv3zQ6V9ewLEPUq7BpR0zdglqjUmEPTRPQE5jZYKLqmzIddv4HBXGV2IsfiLVFrzriIQSFjzjG5 AFiXbyAOQdwU3wgB6pc4AxCzsZzc1SBPf4AIL6QOKnzzFwBZmWVK8tCUwK+/wDoRWcyG01cqHmcF OVFyjxouVdf1Ucf4OUsit3P0upwvrRH5euVEiveyQ48RM2TVGXvdQqVM5J0B+SKfM6baD84OPt44 uPKZslUasvz+UoUQ6qduEpsj4hcgAMrZtBNq6z4AgTl4pkPT6jE9jc9A/dBC2xfaiwaTkY+JTOJg ucx8NBcIj5XK+hQpnwrt0e8BRXRXKpgPD0lqWYM7URIAw7o6RneHVwvv6qzEl0FhLuTzjq5wfOC7 GvmchhUkLdl+6eoKjSFL8GmlXFICYfCI6rNYwJ8n5i+v7i4il5BvhL8agLzqgQTlDmVpJne5MIBf B8ADgCy5QeK4hNtwI6Le10K0NDFtbA0sxjHty4yyquO/A75jT6ZcpGWU9bbCN4/ZWz4Qk7aajYAy 7FkHb47uaI9mvhyfwPFwBwjjcwvWXF259+DRqMOjfc8dvMjXPA1BMfwNXEgN3wjG3FLzH6k4VqwV 5j2pb78jGhfk4CalteWv2bXjJbsfeuO4i4V/W8cYtLWcbwCanQ9y5dAPcg7/cB1yCxnwH+irfa7/ 1zcoAAAAAElFTkSuQmCC In-Reply-To: <87ftmrvd1p.fsf@gmail.com> (Noam Postavsky's message of "Sat, 27 Jul 2019 09:10:10 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:163900 Archived-At: Noam Postavsky 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