unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#28194: text-scale-adjust should show current accumulated scale factor
@ 2017-08-23  1:06 積丹尼 Dan Jacobson
  2017-08-23  1:33 ` Drew Adams
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: 積丹尼 Dan Jacobson @ 2017-08-23  1:06 UTC (permalink / raw)
  To: 28194

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.





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#28194: text-scale-adjust should show current accumulated scale factor
  2017-08-23  1:06 bug#28194: text-scale-adjust should show current accumulated scale factor 積丹尼 Dan Jacobson
@ 2017-08-23  1:33 ` Drew Adams
  2017-08-23 14:49 ` 積丹尼 Dan Jacobson
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 9+ messages in thread
From: Drew Adams @ 2017-08-23  1:33 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson, 28194

> 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.





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#28194: text-scale-adjust should show current accumulated scale factor
  2017-08-23  1:06 bug#28194: text-scale-adjust should show current accumulated scale factor 積丹尼 Dan Jacobson
  2017-08-23  1:33 ` Drew Adams
@ 2017-08-23 14:49 ` 積丹尼 Dan Jacobson
  2017-08-23 15:51   ` Drew Adams
  2017-08-23 16:00 ` 積丹尼 Dan Jacobson
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 9+ messages in thread
From: 積丹尼 Dan Jacobson @ 2017-08-23 14:49 UTC (permalink / raw)
  To: Drew Adams; +Cc: 28194

>>>>> "DA" == Drew Adams <drew.adams@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/





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#28194: text-scale-adjust should show current accumulated scale factor
  2017-08-23 14:49 ` 積丹尼 Dan Jacobson
@ 2017-08-23 15:51   ` Drew Adams
  0 siblings, 0 replies; 9+ messages in thread
From: Drew Adams @ 2017-08-23 15:51 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 28194

> 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. ;-)





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#28194: text-scale-adjust should show current accumulated scale factor
  2017-08-23  1:06 bug#28194: text-scale-adjust should show current accumulated scale factor 積丹尼 Dan Jacobson
  2017-08-23  1:33 ` Drew Adams
  2017-08-23 14:49 ` 積丹尼 Dan Jacobson
@ 2017-08-23 16:00 ` 積丹尼 Dan Jacobson
  2019-09-29  1:49 ` Stefan Kangas
  2019-09-29  4:19 ` 積丹尼 Dan Jacobson
  4 siblings, 0 replies; 9+ messages in thread
From: 積丹尼 Dan Jacobson @ 2017-08-23 16:00 UTC (permalink / raw)
  To: Drew Adams; +Cc: 28194

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





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#28194: text-scale-adjust should show current accumulated scale factor
  2017-08-23  1:06 bug#28194: text-scale-adjust should show current accumulated scale factor 積丹尼 Dan Jacobson
                   ` (2 preceding siblings ...)
  2017-08-23 16:00 ` 積丹尼 Dan Jacobson
@ 2019-09-29  1:49 ` Stefan Kangas
  2019-10-07 18:18   ` Juri Linkov
  2019-09-29  4:19 ` 積丹尼 Dan Jacobson
  4 siblings, 1 reply; 9+ messages in thread
From: Stefan Kangas @ 2019-09-29  1:49 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 28194

tags 28194 + moreinfo
quit

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

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





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#28194: text-scale-adjust should show current accumulated scale factor
  2017-08-23  1:06 bug#28194: text-scale-adjust should show current accumulated scale factor 積丹尼 Dan Jacobson
                   ` (3 preceding siblings ...)
  2019-09-29  1:49 ` Stefan Kangas
@ 2019-09-29  4:19 ` 積丹尼 Dan Jacobson
  4 siblings, 0 replies; 9+ messages in thread
From: 積丹尼 Dan Jacobson @ 2019-09-29  4:19 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 28194-done

OK I just did dired /tmp and saw the number in the modeline. Closing.





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#28194: text-scale-adjust should show current accumulated scale factor
  2019-09-29  1:49 ` Stefan Kangas
@ 2019-10-07 18:18   ` Juri Linkov
  2019-11-13 20:50     ` Juri Linkov
  0 siblings, 1 reply; 9+ messages in thread
From: Juri Linkov @ 2019-10-07 18:18 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 28194, 積丹尼 Dan Jacobson

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)





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#28194: text-scale-adjust should show current accumulated scale factor
  2019-10-07 18:18   ` Juri Linkov
@ 2019-11-13 20:50     ` Juri Linkov
  0 siblings, 0 replies; 9+ messages in thread
From: Juri Linkov @ 2019-11-13 20:50 UTC (permalink / raw)
  To: 28194

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.





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-11-13 20:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-23  1:06 bug#28194: text-scale-adjust should show current accumulated scale factor 積丹尼 Dan Jacobson
2017-08-23  1:33 ` Drew Adams
2017-08-23 14:49 ` 積丹尼 Dan Jacobson
2017-08-23 15:51   ` Drew Adams
2017-08-23 16:00 ` 積丹尼 Dan Jacobson
2019-09-29  1:49 ` Stefan Kangas
2019-10-07 18:18   ` Juri Linkov
2019-11-13 20:50     ` Juri Linkov
2019-09-29  4:19 ` 積丹尼 Dan Jacobson

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).