GNU bug report logs - #28194
text-scale-adjust should show current accumulated scale factor

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Wed, 23 Aug 2017 01:08:02 UTC

Severity: wishlist

Tags: unreproducible

Fixed in version 27.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 28194 in the body.
You can then email your comments to 28194 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#28194; Package emacs. (Wed, 23 Aug 2017 01:08:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 23 Aug 2017 01:08:02 GMT) Full text and rfc822 format available.

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

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gnu-emacs <at> gnu.org
Subject: text-scale-adjust should show current accumulated scale factor
Date: Wed, 23 Aug 2017 09:06:43 +0800
C-x C-= runs the command text-scale-adjust.

It should give some feedback, in the minibuffer,
about the current accumulated scale factor etc.
E.g., the user repeats the command using '=', but nothing on the screen
changes until each fifth '='. In the meantime a running tally of the
current accumulated scale factor could be shown in the minibuffer so the
user knows the command is indeed doing something.

Also when the fonts get bigger (e.g., every fifth '=') have a message
saying what new font has been used.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#28194; Package emacs. (Wed, 23 Aug 2017 01:34:01 GMT) Full text and rfc822 format available.

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

From: Drew Adams <drew.adams <at> oracle.com>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>,
 28194 <at> debbugs.gnu.org
Subject: RE: bug#28194: text-scale-adjust should show current accumulated
 scale factor
Date: Tue, 22 Aug 2017 18:33:20 -0700 (PDT)
> C-x C-= runs the command text-scale-adjust.
> 
> It should give some feedback, in the minibuffer,
> about the current accumulated scale factor etc.
> E.g., the user repeats the command using '=', but nothing on the screen
> changes until each fifth '='. In the meantime a running tally of the
> current accumulated scale factor could be shown in the minibuffer so the
> user knows the command is indeed doing something.
> 
> Also when the fonts get bigger (e.g., every fifth '=') have a message
> saying what new font has been used.

Dunno if this responds to your request, but the mode line shows
(in the minor-mode lighter area) +1, +2, +3, or -1, -2, -3, when
you scale up or down.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#28194; Package emacs. (Wed, 23 Aug 2017 14:50:01 GMT) Full text and rfc822 format available.

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

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 28194 <at> debbugs.gnu.org
Subject: Re: bug#28194: text-scale-adjust should show current accumulated
 scale factor
Date: Wed, 23 Aug 2017 22:49:19 +0800
>>>>> "DA" == Drew Adams <drew.adams <at> oracle.com> writes:

DA> Dunno if this responds to your request, but the mode line shows
DA> (in the minor-mode lighter area) +1, +2, +3, or -1, -2, -3, when
DA> you scale up or down.

Yes I see (Fundamental +2) etc. using a vanilla emacs,
but none of that when used with my
http://jidanni.org/comp/configuration/




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#28194; Package emacs. (Wed, 23 Aug 2017 15:52:01 GMT) Full text and rfc822 format available.

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

From: Drew Adams <drew.adams <at> oracle.com>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 28194 <at> debbugs.gnu.org
Subject: RE: bug#28194: text-scale-adjust should show current accumulated
 scale factor
Date: Wed, 23 Aug 2017 08:51:15 -0700 (PDT)
> DA> Dunno if this responds to your request, but the mode line shows
> DA> (in the minor-mode lighter area) +1, +2, +3, or -1, -2, -3, when
> DA> you scale up or down.
> 
> Yes I see (Fundamental +2) etc. using a vanilla emacs,
> but none of that when used with my
> https://urldefense.proofpoint.com/v2/url?u=http-
> 3A__jidanni.org_comp_configuration_&d=DwIBAg&c=RoP1YumCXCgaWHvlZYR8PQcxBKCX5
> YTpkKY057SbK10&r=qZLZosY6GBAaJtOG9v8QX7nD4BS9t9s5otgxC3d4IFU&m=zPJux4dRjQaJC
> HxUy07L8mQfbJe4IpMUo8ARbDDUNAQ&s=FC4EBvkjlxsIaa2XhH17QNg-
> HLyf7viK9ugT8apdsWw&e=

In that case, it's pilot error. ;-)  You are (apparently)
shooting yourself in the foot.  Don't do that. ;-)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#28194; Package emacs. (Wed, 23 Aug 2017 16:01:02 GMT) Full text and rfc822 format available.

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

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 28194 <at> debbugs.gnu.org
Subject: Re: bug#28194: text-scale-adjust should show current accumulated
 scale factor
Date: Thu, 24 Aug 2017 00:00:17 +0800
>>>>> "DA" == Drew Adams <drew.adams <at> oracle.com> writes:

DA> In that case, it's pilot error. ;-)  You are (apparently)
DA> shooting yourself in the foot.  Don't do that. ;-)

I think it is more likely an emacs bug, that something I set in my
http://jidanni.org/comp/configuration/.emacs
wipes out the functionality.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#28194; Package emacs. (Sun, 29 Sep 2019 01:50:02 GMT) Full text and rfc822 format available.

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

From: Stefan Kangas <stefan <at> marxist.se>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 28194 <at> debbugs.gnu.org, Drew Adams <drew.adams <at> oracle.com>
Subject: Re: bug#28194: text-scale-adjust should show current accumulated
 scale factor
Date: Sun, 29 Sep 2019 03:49:03 +0200
tags 28194 + moreinfo
quit

積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:

>>>>>> "DA" == Drew Adams <drew.adams <at> oracle.com> writes:
>
> DA> In that case, it's pilot error. ;-)  You are (apparently)
> DA> shooting yourself in the foot.  Don't do that. ;-)
>
> I think it is more likely an emacs bug, that something I set in my
> http://jidanni.org/comp/configuration/.emacs
> wipes out the functionality.

Could you please provide a minimal recipe for how to reproduce this,
starting from "emacs -Q"?

Best regards,
Stefan Kangas




Added tag(s) moreinfo. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Sun, 29 Sep 2019 01:50:02 GMT) Full text and rfc822 format available.

Reply sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
You have taken responsibility. (Sun, 29 Sep 2019 04:20:02 GMT) Full text and rfc822 format available.

Notification sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
bug acknowledged by developer. (Sun, 29 Sep 2019 04:20:02 GMT) Full text and rfc822 format available.

Message #27 received at 28194-done <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 28194-done <at> debbugs.gnu.org, Drew Adams <drew.adams <at> oracle.com>
Subject: Re: bug#28194: text-scale-adjust should show current accumulated
 scale factor
Date: Sun, 29 Sep 2019 12:19:36 +0800
OK I just did dired /tmp and saw the number in the modeline. Closing.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#28194; Package emacs. (Mon, 07 Oct 2019 19:02:01 GMT) Full text and rfc822 format available.

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

From: Juri Linkov <juri <at> linkov.net>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 28194 <at> debbugs.gnu.org,
 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Subject: Re: bug#28194: text-scale-adjust should show current accumulated
 scale factor
Date: Mon, 07 Oct 2019 21:18:35 +0300
reopen 28194
quit

>> I think it is more likely an emacs bug, that something I set in my
>> http://jidanni.org/comp/configuration/.emacs
>> wipes out the functionality.
>
> Could you please provide a minimal recipe for how to reproduce this,
> starting from "emacs -Q"?

I can reproduce this bug.  Running either "emacs -Q" or without "-Q"
after loading all customizations from init file it works correctly:

1. C-x C-=
2. there is "+1" in the mode-line
3. and evaluation results:

text-scale-mode
=> t

text-scale-mode-lighter
=> "+1"

(assq 'text-scale-mode minor-mode-alist)
=> (text-scale-mode (" " text-scale-mode-lighter))

But after several hours of active Emacs session
this feature breaks and doesn't work anymore even in new buffers:

4. C-x b new-buffer RET
5. C-x C-=
6. there is NO "+1" in the mode-line
7. and evaluation results:

text-scale-mode
=> t

text-scale-mode-lighter
=> "+1"

(assq 'text-scale-mode minor-mode-alist)
=> nil

Since this feature is so unreliable, maybe we should duplicate
the scale factor information in two places: in the mode-line
and in the message in the echo area.

Stefan, after you pushed your patch that supports changing font size
using mouse wheel, now would it make sense to do also what web browsers do
- on pressing C-+ they momentarily display information about new percentage
in a small window.  In Emacs this information could be added to the message
in the echo area, e.g. replace

  (message "Use +,-,0 for further adjustment")

with

  (message "%s Use +,-,0 for further adjustment" text-scale-mode-lighter)




Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 07 Oct 2019 19:02:03 GMT) Full text and rfc822 format available.

Removed tag(s) moreinfo. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Sat, 02 Nov 2019 00:49:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#28194; Package emacs. (Wed, 13 Nov 2019 21:50:04 GMT) Full text and rfc822 format available.

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

From: Juri Linkov <juri <at> linkov.net>
To: 28194 <at> debbugs.gnu.org
Subject: Re: bug#28194: text-scale-adjust should show current accumulated
 scale factor
Date: Wed, 13 Nov 2019 22:50:55 +0200
tags 28194 unreproducible
close 28194 27.0.50
quit

>>> I think it is more likely an emacs bug, that something I set in my
>>> http://jidanni.org/comp/configuration/.emacs
>>> wipes out the functionality.
>>
>> Could you please provide a minimal recipe for how to reproduce this,
>> starting from "emacs -Q"?
>
> I can reproduce this bug.  Running either "emacs -Q" or without "-Q"
> after loading all customizations from init file it works correctly:

This can't be reproduced anymore, so I suppose it's fixed.




Added tag(s) unreproducible. Request was from Juri Linkov <juri <at> linkov.net> to control <at> debbugs.gnu.org. (Wed, 13 Nov 2019 21:50:07 GMT) Full text and rfc822 format available.

bug marked as fixed in version 27.0.50, send any further explanations to 28194 <at> debbugs.gnu.org and 積丹尼 Dan Jacobson <jidanni <at> jidanni.org> Request was from Juri Linkov <juri <at> linkov.net> to control <at> debbugs.gnu.org. (Wed, 13 Nov 2019 21:50:12 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 12 Dec 2019 12:24:13 GMT) Full text and rfc822 format available.

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

Previous Next


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