From unknown Tue Aug 19 21:03:47 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#11028 <11028@debbugs.gnu.org> To: bug#11028 <11028@debbugs.gnu.org> Subject: Status: 24.0.94; bad lighter and menus for `text-scale-mode' Reply-To: bug#11028 <11028@debbugs.gnu.org> Date: Wed, 20 Aug 2025 04:03:47 +0000 retitle 11028 24.0.94; bad lighter and menus for `text-scale-mode' reassign 11028 emacs submitter 11028 "Drew Adams" severity 11028 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 16 15:25:32 2012 Received: (at submit) by debbugs.gnu.org; 16 Mar 2012 19:25:32 +0000 Received: from localhost ([127.0.0.1]:53800 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S8cmK-0001qm-0m for submit@debbugs.gnu.org; Fri, 16 Mar 2012 15:25:32 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38185) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S8cm7-0001qV-RP for submit@debbugs.gnu.org; Fri, 16 Mar 2012 15:25:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S8cIp-0005Dh-8Y for submit@debbugs.gnu.org; Fri, 16 Mar 2012 14:55:04 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:54273) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8cIp-0005DK-52 for submit@debbugs.gnu.org; Fri, 16 Mar 2012 14:55:03 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45120) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8cIn-0005Oe-6Z for bug-gnu-emacs@gnu.org; Fri, 16 Mar 2012 14:55:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S8cIl-0005Az-4k for bug-gnu-emacs@gnu.org; Fri, 16 Mar 2012 14:55:00 -0400 Received: from rcsinet15.oracle.com ([148.87.113.117]:21443) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8cIk-0005Ar-UF for bug-gnu-emacs@gnu.org; Fri, 16 Mar 2012 14:54:59 -0400 Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q2GIsrsN013959 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 16 Mar 2012 18:54:54 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q2GIsqsq015045 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 16 Mar 2012 18:54:53 GMT Received: from abhmt102.oracle.com (abhmt102.oracle.com [141.146.116.54]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q2GIsq0Q006306 for ; Fri, 16 Mar 2012 13:54:52 -0500 Received: from dradamslap1 (/10.159.43.221) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 16 Mar 2012 11:54:52 -0700 From: "Drew Adams" To: Subject: 24.0.94; bad lighter and menus for `text-scale-mode' Date: Fri, 16 Mar 2012 11:54:49 -0700 Message-ID: <0F3DD8B617604CB59C5138747164263F@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: Ac0DpkNAgj5UK9/GSUqJQ8+zI3WSpg== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-CT-RefId: str=0001.0A090206.4F638C7E.001D,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) I appreciate the intention of keeping the lighter short, but currently it is meaningless, if not misleading, to users. They need to fiddle around to find out what it means. The lighter text is " " by default (but fortunately an all-space lighter is not shown). When you scale the text the lighter changes to a signed integer, such as "-1" or "+3". Seeing only that does not help users, unless they've already figured out what it stands for. It just makes them wonder, especially if they do not notice the lighter immediately after they change the text scale. You put your mouse over the lighter, to see what's up. The tooltip says only this, of course: Minor mode mouse-1: Display minor mode menu mouse-2: Show help for minor mode mouse-3: Toggle minor modes Not much help so far. You try mouse-1 and see this menu: -1 ------------------- Turn Off minor mode Help for minor mode ("Off" should not be capitalized, BTW.) Which minor mode? No idea still. This menu would be better if it included (at least the scaling) items from the menu shown by `S-mouse-1', i.e.: Change Default Buffer Face -------------------------- Change Buffer Font... Increase Buffer Text Size Decrease Buffer Text Size Reset to Default You try mouse-3. That shows you menu `Minor Modes' which has a list of minor modes you can toggle. But this mysterious "-1" minor mode is not one of them. Neither is `text-scale-mode', for that matter. Our mysterious mode is nowhere to be seen. Menu `Minor Modes' does not help with this minor mode, even though you can toggle this mode in other ways. You try mouse-2. And now you see that this mysterious "-1" or "-4" or "+3" in fact stands for `text-scale-mode'. Emacs users deserve better. If you cannot come up with something shorter and more meaningful for the lighter, then I would suggest "Zoom:-1" or "Text:-1" or "Scale:-1". I don't claim these suggestions are ideal, but they would at least be more helpful to users than just "-1". In GNU Emacs 24.0.94.1 (i386-mingw-nt5.1.2600) of 2012-02-26 on MARVIN Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --with-gcc (4.6) --no-opt --enable-checking --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include' From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 16 20:09:00 2012 Received: (at 11028) by debbugs.gnu.org; 17 Sep 2012 00:09:00 +0000 Received: from localhost ([127.0.0.1]:37870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TDOtY-0006Ne-Dk for submit@debbugs.gnu.org; Sun, 16 Sep 2012 20:09:00 -0400 Received: from rcsinet15.oracle.com ([148.87.113.117]:45193) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TDOtX-0006NY-4Z for 11028@debbugs.gnu.org; Sun, 16 Sep 2012 20:08:59 -0400 Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q8H07kir009046 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <11028@debbugs.gnu.org>; Mon, 17 Sep 2012 00:07:47 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q8H07kdg010849 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <11028@debbugs.gnu.org>; Mon, 17 Sep 2012 00:07:46 GMT Received: from abhmt108.oracle.com (abhmt108.oracle.com [141.146.116.60]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q8H07jqG022281 for <11028@debbugs.gnu.org>; Sun, 16 Sep 2012 19:07:45 -0500 Received: from dradamslap1 (/10.159.170.142) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 16 Sep 2012 17:07:45 -0700 From: "Drew Adams" To: <11028@debbugs.gnu.org> References: <0F3DD8B617604CB59C5138747164263F@us.oracle.com> Subject: RE: bug#11028: 24.0.94; bad lighter and menus for `text-scale-mode' Date: Sun, 16 Sep 2012 17:07:35 -0700 Message-ID: <8DE66C5BC7BC4E0BA70B8857DC54939C@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <0F3DD8B617604CB59C5138747164263F@us.oracle.com> Thread-Index: Ac0DpkNAgj5UK9/GSUqJQ8+zI3WSpiQwinNQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-Spam-Score: -7.4 (-------) X-Debbugs-Envelope-To: 11028 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -7.4 (-------) ping From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 28 10:01:13 2016 Received: (at 11028) by debbugs.gnu.org; 28 Apr 2016 14:01:13 +0000 Received: from localhost ([127.0.0.1]:53172 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avmVB-0007mP-R7 for submit@debbugs.gnu.org; Thu, 28 Apr 2016 10:01:13 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:39975) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avmV7-0007io-I2 for 11028@debbugs.gnu.org; Thu, 28 Apr 2016 10:01:09 -0400 Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1avmV4-0005Z3-Kj; Thu, 28 Apr 2016 16:01:04 +0200 From: Lars Ingebrigtsen To: "Drew Adams" Subject: Re: bug#11028: 24.0.94; bad lighter and menus for `text-scale-mode' References: <0F3DD8B617604CB59C5138747164263F@us.oracle.com> Date: Thu, 28 Apr 2016 16:01:01 +0200 In-Reply-To: <0F3DD8B617604CB59C5138747164263F@us.oracle.com> (Drew Adams's message of "Fri, 16 Mar 2012 11:54:49 -0700") Message-ID: <87fuu5kf36.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 11028 Cc: 11028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) "Drew Adams" writes: > I appreciate the intention of keeping the lighter short, but currently > it is meaningless, if not misleading, to users. They need to fiddle > around to find out what it means. > > The lighter text is " " by default (but fortunately an all-space lighter > is not shown). I think that's by design. There is no lighter for text-scale-mode when you haven't scaled anything. I think that's natural. > When you scale the text the lighter changes to a signed integer, such > as "-1" or "+3". > > Seeing only that does not help users, unless they've already figured out > what it stands for. It just makes them wonder, especially if they do > not notice the lighter immediately after they change the text scale. > > You put your mouse over the lighter, to see what's up. The tooltip > says only this, of course: > > Minor mode > mouse-1: Display minor mode menu > mouse-2: Show help for minor mode > mouse-3: Toggle minor modes I think all those mode menus should say what modes they belong to, yes, instead of just "Minor mode". > Not much help so far. You try mouse-1 and see this menu: > > -1 > ------------------- > Turn Off minor mode > Help for minor mode > > ("Off" should not be capitalized, BTW.) > > Which minor mode? No idea still. Yeah, that's not good. > This menu would be better if it included (at least the scaling) items > from the menu shown by `S-mouse-1', i.e.: > > Change Default Buffer Face > -------------------------- > Change Buffer Font... > Increase Buffer Text Size > Decrease Buffer Text Size > Reset to Default True. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun May 01 15:38:35 2016 Received: (at 11028) by debbugs.gnu.org; 1 May 2016 19:38:35 +0000 Received: from localhost ([127.0.0.1]:32775 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awxCN-0006TC-DL for submit@debbugs.gnu.org; Sun, 01 May 2016 15:38:35 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:40826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awxCL-0006T2-1i for 11028@debbugs.gnu.org; Sun, 01 May 2016 15:38:33 -0400 Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1awxCG-0001gI-4T; Sun, 01 May 2016 21:38:32 +0200 From: Lars Ingebrigtsen To: "Drew Adams" Subject: Re: bug#11028: 24.0.94; bad lighter and menus for `text-scale-mode' References: <0F3DD8B617604CB59C5138747164263F@us.oracle.com> Date: Sun, 01 May 2016 21:38:27 +0200 In-Reply-To: <0F3DD8B617604CB59C5138747164263F@us.oracle.com> (Drew Adams's message of "Fri, 16 Mar 2012 11:54:49 -0700") Message-ID: <87oa8py3f0.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 11028 Cc: 11028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) "Drew Adams" writes: > Turn Off minor mode > Help for minor mode > > ("Off" should not be capitalized, BTW.) I've now fixed this... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun May 01 15:46:43 2016 Received: (at 11028) by debbugs.gnu.org; 1 May 2016 19:46:43 +0000 Received: from localhost ([127.0.0.1]:32783 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awxKF-0006et-GA for submit@debbugs.gnu.org; Sun, 01 May 2016 15:46:43 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:40868) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awxKE-0006em-I2 for 11028@debbugs.gnu.org; Sun, 01 May 2016 15:46:42 -0400 Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1awxKB-0001kW-Or; Sun, 01 May 2016 21:46:41 +0200 From: Lars Ingebrigtsen To: "Drew Adams" Subject: Re: bug#11028: 24.0.94; bad lighter and menus for `text-scale-mode' References: <0F3DD8B617604CB59C5138747164263F@us.oracle.com> Date: Sun, 01 May 2016 21:46:39 +0200 In-Reply-To: <0F3DD8B617604CB59C5138747164263F@us.oracle.com> (Drew Adams's message of "Fri, 16 Mar 2012 11:54:49 -0700") Message-ID: <87k2jdy31c.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 11028 Cc: 11028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) "Drew Adams" writes: > -1 > ------------------- > Turn Off minor mode > Help for minor mode [...] > Which minor mode? No idea still. This seems like it's been kinda hackishly implemented. This is the function that shows the menu... (defun mouse-minor-mode-menu (event) "Show minor-mode menu for EVENT on minor modes area of the mode line." (interactive "@e") (let ((indicator (car (nth 4 (car (cdr event)))))) (debug event) (minor-mode-menu-from-indicator indicator))) Hm... but then (defun minor-mode-menu-from-indicator (indicator) [...] (let* ((minor-mode (lookup-minor-mode-from-indicator indicator)) (mm-fun (or (get minor-mode :minor-mode-function) minor-mode))) Wow, that's a roundabout way of doing it... Anyway, we then have the mode symbol... What about using a pretty version of the mode symbol as the menu header? That would be "Text Scale Mode" in this case. I think that would be better than using the lighter as the menu header. What's the name of the function that creates pretty strings from symbol names? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun May 01 16:01:07 2016 Received: (at 11028) by debbugs.gnu.org; 1 May 2016 20:01:07 +0000 Received: from localhost ([127.0.0.1]:32795 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awxY7-00070B-K2 for submit@debbugs.gnu.org; Sun, 01 May 2016 16:01:06 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46791) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awxY3-0006zY-4b for 11028@debbugs.gnu.org; Sun, 01 May 2016 16:01:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1awxXo-000398-7L for 11028@debbugs.gnu.org; Sun, 01 May 2016 16:00:50 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58991) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awxXo-00038d-28; Sun, 01 May 2016 16:00:44 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2870 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1awxXh-00015l-OC; Sun, 01 May 2016 16:00:38 -0400 Date: Sun, 01 May 2016 23:00:38 +0300 Message-Id: <83eg9lmtuh.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-reply-to: <87k2jdy31c.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun, 01 May 2016 21:46:39 +0200) Subject: Re: bug#11028: 24.0.94; bad lighter and menus for `text-scale-mode' References: <0F3DD8B617604CB59C5138747164263F@us.oracle.com> <87k2jdy31c.fsf@gnus.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: 11028 Cc: drew.adams@oracle.com, 11028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Lars Ingebrigtsen > Date: Sun, 01 May 2016 21:46:39 +0200 > Cc: 11028@debbugs.gnu.org > > "Drew Adams" writes: > > > -1 > > ------------------- > > Turn Off minor mode > > Help for minor mode > > [...] > (let* ((minor-mode (lookup-minor-mode-from-indicator indicator)) > (mm-fun (or (get minor-mode :minor-mode-function) minor-mode))) > > Wow, that's a roundabout way of doing it... Anyway, we then have the > mode symbol... What about using a pretty version of the mode symbol as > the menu header? That would be "Text Scale Mode" in this case. What menu header? Drew was complaining about the tooltip, not the menu. When you actually click on the lighter, the pop-up menu does have a header that shows the mode name. So what are you trying to do here? > I think that would be better than using the lighter as the menu header. Why? From debbugs-submit-bounces@debbugs.gnu.org Sun May 01 16:22:33 2016 Received: (at 11028) by debbugs.gnu.org; 1 May 2016 20:22:33 +0000 Received: from localhost ([127.0.0.1]:32824 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awxss-0007Tt-DX for submit@debbugs.gnu.org; Sun, 01 May 2016 16:22:33 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:41054) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awxsn-0007Th-LP for 11028@debbugs.gnu.org; Sun, 01 May 2016 16:22:29 -0400 Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1awxsi-00022M-Oy; Sun, 01 May 2016 22:22:24 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#11028: 24.0.94; bad lighter and menus for `text-scale-mode' References: <0F3DD8B617604CB59C5138747164263F@us.oracle.com> <87k2jdy31c.fsf@gnus.org> <83eg9lmtuh.fsf@gnu.org> Date: Sun, 01 May 2016 22:22:20 +0200 In-Reply-To: <83eg9lmtuh.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 01 May 2016 23:00:38 +0300") Message-ID: <87a8k9y1dv.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 11028 Cc: drew.adams@oracle.com, 11028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Eli Zaretskii writes: >> From: Lars Ingebrigtsen >> Date: Sun, 01 May 2016 21:46:39 +0200 >> Cc: 11028@debbugs.gnu.org >> >> "Drew Adams" writes: >> >> > -1 >> > ------------------- >> > Turn Off minor mode >> > Help for minor mode >> >> [...] >> (let* ((minor-mode (lookup-minor-mode-from-indicator indicator)) >> (mm-fun (or (get minor-mode :minor-mode-function) minor-mode))) >> >> Wow, that's a roundabout way of doing it... Anyway, we then have the >> mode symbol... What about using a pretty version of the mode symbol as >> the menu header? That would be "Text Scale Mode" in this case. > > What menu header? Drew was complaining about the tooltip, not the > menu. When you actually click on the lighter, the pop-up menu does > have a header that shows the mode name. > > So what are you trying to do here? The thing with the "+1" at the top is a menu: (setq menu (if menu (mouse-menu-non-singleton menu) (if (fboundp mm-fun) ; bug#20201 `(keymap ,indicator (turn-off menu-item "Turn off minor mode" ,mm-fun) (help menu-item "Help for minor mode" (lambda () (interactive) (describe-function ',mm-fun))))))) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 27 11:37:10 2022 Received: (at 11028) by debbugs.gnu.org; 27 Jan 2022 16:37:10 +0000 Received: from localhost ([127.0.0.1]:56309 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nD7lm-0000Ab-IR for submit@debbugs.gnu.org; Thu, 27 Jan 2022 11:37:10 -0500 Received: from quimby.gnus.org ([95.216.78.240]:60796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nD7lk-0000A5-M4 for 11028@debbugs.gnu.org; Thu, 27 Jan 2022 11:37:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=36th1MfFtT+0wES+RwHoxGzlM9D638lL/ZEpanRnXKg=; b=L5o1fmH+ED42WziDQ5ZaJ6Sgl2 7UaZU4F2bQR+uCOPiLGdgvjmlEjx6zalCdkN3TWZp8Vs4Q5RJOqUI6dPyHJ1ERoYof1cMSH4RA4PB /IDOrxwlBwWP03i+cyrwj4AP5oH8Dro0c8l/A7XCiJGO2sUpIH9xmXLNmu01iiO4dH+Q=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nD7lb-00008k-5T; Thu, 27 Jan 2022 17:37:01 +0100 From: Lars Ingebrigtsen To: "Drew Adams" Subject: Re: bug#11028: 24.0.94; bad lighter and menus for `text-scale-mode' References: <0F3DD8B617604CB59C5138747164263F@us.oracle.com> <87k2jdy31c.fsf@gnus.org> X-Now-Playing: David Sylvian's _Dead Bees on a Cake_: "God Man" Date: Thu, 27 Jan 2022 17:36:57 +0100 In-Reply-To: <87k2jdy31c.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 01 May 2016 21:46:39 +0200") Message-ID: <87sft9kudy.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > Wow, that's a roundabout way of doing it... Anyway, we then have the > mode symbol... What about using a pretty version of the mode symbol as > the menu header? That would be "Text Scale Mode" in th [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 11028 Cc: 11028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Lars Ingebrigtsen writes: > Wow, that's a roundabout way of doing it... Anyway, we then have the > mode symbol... What about using a pretty version of the mode symbol as > the menu header? That would be "Text Scale Mode" in this case. > > I think that would be better than using the lighter as the menu header. This has apparently been fixed in the years since I last looked at this: -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 27 11:37:56 2022 Received: (at 11028) by debbugs.gnu.org; 27 Jan 2022 16:37:56 +0000 Received: from localhost ([127.0.0.1]:56313 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nD7mV-0000Bi-T0 for submit@debbugs.gnu.org; Thu, 27 Jan 2022 11:37:56 -0500 Received: from quimby.gnus.org ([95.216.78.240]:60836) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nD7mU-0000BU-67 for 11028@debbugs.gnu.org; Thu, 27 Jan 2022 11:37:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=TuDJ/Idwc3aZ5Q/TU+YnVSub2nGhZF9kXiUq/9DgKn8=; b=gojX2hlokw6idXNe+eltEtn1mz 5873+fd5gA2gUjUXmONoyg7pm1NPkoOPqaXeDVE3AAXe18dkglj9ksrnAMucC5LJxj1aVtjvrnGwO b+r1R2d803xJTvGndaBiE/1JP6yioga0k1C4eNJgx6YKyzHIDNmaZJwK7dLO2va5F3UY=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nD7mK-00009k-KQ; Thu, 27 Jan 2022 17:37:47 +0100 From: Lars Ingebrigtsen To: "Drew Adams" Subject: Re: bug#11028: 24.0.94; bad lighter and menus for `text-scale-mode' In-Reply-To: <87k2jdy31c.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 01 May 2016 21:46:39 +0200") References: <0F3DD8B617604CB59C5138747164263F@us.oracle.com> <87k2jdy31c.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) X-Now-Playing: David Sylvian's _Dead Bees on a Cake_: "God Man" Date: Thu, 27 Jan 2022 17:37:43 +0100 Message-ID: <87r18tkuco.fsf@gnus.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > Wow, that's a roundabout way of doing it... Anyway, we then have the > mode symbol... What about using a pretty version of the mode symbol as > the menu header? That would be "Text Scale Mode" in th [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 11028 Cc: 11028@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Lars Ingebrigtsen writes: > Wow, that's a roundabout way of doing it... Anyway, we then have the > mode symbol... What about using a pretty version of the mode symbol as > the menu header? That would be "Text Scale Mode" in this case. > > I think that would be better than using the lighter as the menu header. This has apparently been fixed in the years since I last looked at this, and the menu header looks fine in Emacs 29, so I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 27 11:38:02 2022 Received: (at control) by debbugs.gnu.org; 27 Jan 2022 16:38:02 +0000 Received: from localhost ([127.0.0.1]:56316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nD7mc-0000C5-3Y for submit@debbugs.gnu.org; Thu, 27 Jan 2022 11:38:02 -0500 Received: from quimby.gnus.org ([95.216.78.240]:60850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nD7mZ-0000Bb-UO for control@debbugs.gnu.org; Thu, 27 Jan 2022 11:38:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=56yBUw2WOOTJaUcjo7Qz6ZFaL+tRD8/q/W/kh9wjSRs=; b=pMsfIjADgo0+AL/TkCkSmzP3sk +3QAQjrKgylLonkRxCY56AOBhMvYlgcuBcGzQA8J4xbtal3ecn9ohUN28XyBSSwuunu8w4MOe0WWn ZNdizpAoY5YyQ+pWWu5LA/xjEnprOXFGrni8sxldvXHWOtdV1cq4vmcPTxuOzgs7rh2E=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nD7mS-00009t-15 for control@debbugs.gnu.org; Thu, 27 Jan 2022 17:37:54 +0100 Date: Thu, 27 Jan 2022 17:37:50 +0100 Message-Id: <87pmodkuch.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #11028 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 11028 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 11028 quit From unknown Tue Aug 19 21:03:47 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 25 Feb 2022 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator