GNU bug report logs - #11028
24.0.94; bad lighter and menus for `text-scale-mode'

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: "Drew Adams" <drew.adams@HIDDEN>; dated Fri, 16 Mar 2012 19:26:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 11028 <at> debbugs.gnu.org:


Received: (at 11028) by debbugs.gnu.org; 1 May 2016 20:22:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 01 16:22:33 2016
Received: from localhost ([127.0.0.1]:32824 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1awxss-0007Tt-DX
	for submit <at> 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 <larsi@HIDDEN>) id 1awxsn-0007Th-LP
 for 11028 <at> 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 <larsi@HIDDEN>)
 id 1awxsi-00022M-Oy; Sun, 01 May 2016 22:22:24 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#11028: 24.0.94; bad lighter and menus for `text-scale-mode'
References: <0F3DD8B617604CB59C5138747164263F@HIDDEN>
 <87k2jdy31c.fsf@HIDDEN> <83eg9lmtuh.fsf@HIDDEN>
Date: Sun, 01 May 2016 22:22:20 +0200
In-Reply-To: <83eg9lmtuh.fsf@HIDDEN> (Eli Zaretskii's message of "Sun, 01 May
 2016 23:00:38 +0300")
Message-ID: <87a8k9y1dv.fsf@HIDDEN>
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@HIDDEN, 11028 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Lars Ingebrigtsen <larsi@HIDDEN>
>> Date: Sun, 01 May 2016 21:46:39 +0200
>> Cc: 11028 <at> debbugs.gnu.org
>> 
>> "Drew Adams" <drew.adams@HIDDEN> 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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#11028; Package emacs. Full text available.

Message received at 11028 <at> debbugs.gnu.org:


Received: (at 11028) by debbugs.gnu.org; 1 May 2016 20:01:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 01 16:01:07 2016
Received: from localhost ([127.0.0.1]:32795 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1awxY7-00070B-K2
	for submit <at> 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 <eliz@HIDDEN>) id 1awxY3-0006zY-4b
 for 11028 <at> 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 <eliz@HIDDEN>) id 1awxXo-000398-7L
 for 11028 <at> 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 <eliz@HIDDEN>)
 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 <eliz@HIDDEN>)
 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@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
In-reply-to: <87k2jdy31c.fsf@HIDDEN> (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@HIDDEN>
 <87k2jdy31c.fsf@HIDDEN>
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@HIDDEN, 11028 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Date: Sun, 01 May 2016 21:46:39 +0200
> Cc: 11028 <at> debbugs.gnu.org
> 
> "Drew Adams" <drew.adams@HIDDEN> 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?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#11028; Package emacs. Full text available.

Message received at 11028 <at> debbugs.gnu.org:


Received: (at 11028) by debbugs.gnu.org; 1 May 2016 19:46:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 01 15:46:43 2016
Received: from localhost ([127.0.0.1]:32783 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1awxKF-0006et-GA
	for submit <at> 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 <larsi@HIDDEN>) id 1awxKE-0006em-I2
 for 11028 <at> 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 <larsi@HIDDEN>)
 id 1awxKB-0001kW-Or; Sun, 01 May 2016 21:46:41 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: "Drew Adams" <drew.adams@HIDDEN>
Subject: Re: bug#11028: 24.0.94; bad lighter and menus for `text-scale-mode'
References: <0F3DD8B617604CB59C5138747164263F@HIDDEN>
Date: Sun, 01 May 2016 21:46:39 +0200
In-Reply-To: <0F3DD8B617604CB59C5138747164263F@HIDDEN> (Drew Adams's
 message of "Fri, 16 Mar 2012 11:54:49 -0700")
Message-ID: <87k2jdy31c.fsf@HIDDEN>
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 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

"Drew Adams" <drew.adams@HIDDEN> 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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#11028; Package emacs. Full text available.

Message received at 11028 <at> debbugs.gnu.org:


Received: (at 11028) by debbugs.gnu.org; 1 May 2016 19:38:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 01 15:38:35 2016
Received: from localhost ([127.0.0.1]:32775 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1awxCN-0006TC-DL
	for submit <at> 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 <larsi@HIDDEN>) id 1awxCL-0006T2-1i
 for 11028 <at> 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 <larsi@HIDDEN>)
 id 1awxCG-0001gI-4T; Sun, 01 May 2016 21:38:32 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: "Drew Adams" <drew.adams@HIDDEN>
Subject: Re: bug#11028: 24.0.94; bad lighter and menus for `text-scale-mode'
References: <0F3DD8B617604CB59C5138747164263F@HIDDEN>
Date: Sun, 01 May 2016 21:38:27 +0200
In-Reply-To: <0F3DD8B617604CB59C5138747164263F@HIDDEN> (Drew Adams's
 message of "Fri, 16 Mar 2012 11:54:49 -0700")
Message-ID: <87oa8py3f0.fsf@HIDDEN>
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 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

"Drew Adams" <drew.adams@HIDDEN> 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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#11028; Package emacs. Full text available.

Message received at 11028 <at> debbugs.gnu.org:


Received: (at 11028) by debbugs.gnu.org; 28 Apr 2016 14:01:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 28 10:01:13 2016
Received: from localhost ([127.0.0.1]:53172 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1avmVB-0007mP-R7
	for submit <at> 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 <larsi@HIDDEN>) id 1avmV7-0007io-I2
 for 11028 <at> 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 <larsi@HIDDEN>)
 id 1avmV4-0005Z3-Kj; Thu, 28 Apr 2016 16:01:04 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: "Drew Adams" <drew.adams@HIDDEN>
Subject: Re: bug#11028: 24.0.94; bad lighter and menus for `text-scale-mode'
References: <0F3DD8B617604CB59C5138747164263F@HIDDEN>
Date: Thu, 28 Apr 2016 16:01:01 +0200
In-Reply-To: <0F3DD8B617604CB59C5138747164263F@HIDDEN> (Drew Adams's
 message of "Fri, 16 Mar 2012 11:54:49 -0700")
Message-ID: <87fuu5kf36.fsf@HIDDEN>
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 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

"Drew Adams" <drew.adams@HIDDEN> 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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#11028; Package emacs. Full text available.

Message received at 11028 <at> debbugs.gnu.org:


Received: (at 11028) by debbugs.gnu.org; 17 Sep 2012 00:09:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 16 20:09:00 2012
Received: from localhost ([127.0.0.1]:37870 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1TDOtY-0006Ne-Dk
	for submit <at> 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 <drew.adams@HIDDEN>) id 1TDOtX-0006NY-4Z
	for 11028 <at> 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 <at> 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 <at> 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 <at> 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" <drew.adams@HIDDEN>
To: <11028 <at> debbugs.gnu.org>
References: <0F3DD8B617604CB59C5138747164263F@HIDDEN>
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@HIDDEN>
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@HIDDEN>
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 <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -7.4 (-------)

ping





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#11028; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 16 Mar 2012 19:25:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 16 15:25:32 2012
Received: from localhost ([127.0.0.1]:53800 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1S8cmK-0001qm-0m
	for submit <at> 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 <drew.adams@HIDDEN>) id 1S8cm7-0001qV-RP
	for submit <at> 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 <drew.adams@HIDDEN>) id 1S8cIp-0005Dh-8Y
	for submit <at> 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 <drew.adams@HIDDEN>) id 1S8cIp-0005DK-52
	for submit <at> 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 <drew.adams@HIDDEN>) id 1S8cIn-0005Oe-6Z
	for bug-gnu-emacs@HIDDEN; Fri, 16 Mar 2012 14:55:02 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <drew.adams@HIDDEN>) id 1S8cIl-0005Az-4k
	for bug-gnu-emacs@HIDDEN; 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 <drew.adams@HIDDEN>) id 1S8cIk-0005Ar-UF
	for bug-gnu-emacs@HIDDEN; 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 <bug-gnu-emacs@HIDDEN>; 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 <bug-gnu-emacs@HIDDEN>; 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 <bug-gnu-emacs@HIDDEN>; 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" <drew.adams@HIDDEN>
To: <bug-gnu-emacs@HIDDEN>
Subject: 24.0.94; bad lighter and menus for `text-scale-mode'
Date: Fri, 16 Mar 2012 11:54:49 -0700
Message-ID: <0F3DD8B617604CB59C5138747164263F@HIDDEN>
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 <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> 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'






Acknowledgement sent to "Drew Adams" <drew.adams@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#11028; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 1 May 2016 20:30:02 UTC

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