GNU bug report logs -
#57140
New user option mouse-wheel-text-scale-buffer
Previous Next
To reply to this bug, email your comments to 57140 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#57140
; Package
emacs
.
(Thu, 11 Aug 2022 13:11:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Tyler Grinn <tylergrinn <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Thu, 11 Aug 2022 13:11:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
By default, mouse-wheel-(global-)text-scale increases or decreases the
text scale for every scroll event. I think it's a good idea to have an
option to buffer that (is that the right word?) so you can more easily
choose the text scale you want. I kept the default behavior intact.
Best,
Tyler
[0001-Add-new-user-option-mouse-wheel-text-scale-buffer.patch (text/x-patch, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#57140
; Package
emacs
.
(Thu, 11 Aug 2022 13:22:01 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Tyler Grinn <tylergrinn <at> gmail.com> writes:
> By default, mouse-wheel-(global-)text-scale increases or decreases the
> text scale for every scroll event. I think it's a good idea to have an
> option to buffer that (is that the right word?) so you can more easily
> choose the text scale you want. I kept the default behavior intact.
>
> Best,
>
> Tyler
There was a typo.
[0001-Add-new-user-option-mouse-wheel-text-scale-buffer.patch (text/x-patch, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#57140
; Package
emacs
.
(Thu, 11 Aug 2022 13:29:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 57140 <at> debbugs.gnu.org (full text, mbox):
> From: Tyler Grinn <tylergrinn <at> gmail.com>
> Date: Thu, 11 Aug 2022 09:20:39 -0400
>
> > By default, mouse-wheel-(global-)text-scale increases or decreases the
> > text scale for every scroll event. I think it's a good idea to have an
> > option to buffer that (is that the right word?) so you can more easily
> > choose the text scale you want. I kept the default behavior intact.
Thanks, but isn't it better to control the amount of scaling by
changing the value of text-scale-mode-step instead? Having to scroll
the wheel several clicks without any effect would be confusing, I
think. And text-scale-mode-step is already a user variable that is
available for this purpose. So maybe you should try decreasing the
default value to, say, 1.02, to see if that satisfies your needs.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#57140
; Package
emacs
.
(Thu, 11 Aug 2022 15:24:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 57140 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Tyler Grinn <tylergrinn <at> gmail.com>
>> Date: Thu, 11 Aug 2022 09:20:39 -0400
>>
>> > By default, mouse-wheel-(global-)text-scale increases or decreases the
>> > text scale for every scroll event. I think it's a good idea to have an
>> > option to buffer that (is that the right word?) so you can more easily
>> > choose the text scale you want. I kept the default behavior intact.
>
> Thanks, but isn't it better to control the amount of scaling by
> changing the value of text-scale-mode-step instead? Having to scroll
> the wheel several clicks without any effect would be confusing, I
> think. And text-scale-mode-step is already a user variable that is
> available for this purpose. So maybe you should try decreasing the
> default value to, say, 1.02, to see if that satisfies your needs.
For some trackpads, controlling how many 'clicks' to scroll is quite
difficult. The step size fixes the issue of scrolling too fast, but I
still have trouble choosing the exact text scale I want. My preference
is still for a larger step size and throttling scroll events.
Thanks,
Tyler
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#57140
; Package
emacs
.
(Thu, 11 Aug 2022 16:03:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 57140 <at> debbugs.gnu.org (full text, mbox):
> From: Tyler Grinn <tylergrinn <at> gmail.com>
> Cc: 57140 <at> debbugs.gnu.org
> Date: Thu, 11 Aug 2022 11:23:51 -0400
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> > Thanks, but isn't it better to control the amount of scaling by
> > changing the value of text-scale-mode-step instead? Having to scroll
> > the wheel several clicks without any effect would be confusing, I
> > think. And text-scale-mode-step is already a user variable that is
> > available for this purpose. So maybe you should try decreasing the
> > default value to, say, 1.02, to see if that satisfies your needs.
>
> For some trackpads, controlling how many 'clicks' to scroll is quite
> difficult. The step size fixes the issue of scrolling too fast, but I
> still have trouble choosing the exact text scale I want. My preference
> is still for a larger step size and throttling scroll events.
Sorry, I don't understand why you need to count clicks. Typically
when users change the text scale, they just turn the wheel until the
size they get fits their needs. Making text-scale-mode-step smaller
causes finer changes, so it's easier to be more precise in finding the
desired scale.
Can you explain how your proposal makes it easier than that, and why?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#57140
; Package
emacs
.
(Thu, 11 Aug 2022 17:02:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 57140 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Tyler Grinn <tylergrinn <at> gmail.com>
>> Cc: 57140 <at> debbugs.gnu.org
>> Date: Thu, 11 Aug 2022 11:23:51 -0400
>>
>> Eli Zaretskii <eliz <at> gnu.org> writes:
>>
>> > Thanks, but isn't it better to control the amount of scaling by
>> > changing the value of text-scale-mode-step instead? Having to scroll
>> > the wheel several clicks without any effect would be confusing, I
>> > think. And text-scale-mode-step is already a user variable that is
>> > available for this purpose. So maybe you should try decreasing the
>> > default value to, say, 1.02, to see if that satisfies your needs.
>>
>> For some trackpads, controlling how many 'clicks' to scroll is quite
>> difficult. The step size fixes the issue of scrolling too fast, but I
>> still have trouble choosing the exact text scale I want. My preference
>> is still for a larger step size and throttling scroll events.
>
> Sorry, I don't understand why you need to count clicks. Typically
> when users change the text scale, they just turn the wheel until the
> size they get fits their needs. Making text-scale-mode-step smaller
> causes finer changes, so it's easier to be more precise in finding the
> desired scale.
>
> Can you explain how your proposal makes it easier than that, and why?
Sure, let me rephrase: for two-finger scrolling, it's hard to emit a
single scroll event. With a smaller step size it is easier to get it
close to the scale I want, but regardless of the step size, choosing an
exact text scale is difficult. This leads to buffers having slightly
different text scales.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#57140
; Package
emacs
.
(Thu, 11 Aug 2022 17:17:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 57140 <at> debbugs.gnu.org (full text, mbox):
> From: Tyler Grinn <tylergrinn <at> gmail.com>
> Cc: 57140 <at> debbugs.gnu.org
> Date: Thu, 11 Aug 2022 13:00:45 -0400
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> >> From: Tyler Grinn <tylergrinn <at> gmail.com>
> >> Cc: 57140 <at> debbugs.gnu.org
> >> Date: Thu, 11 Aug 2022 11:23:51 -0400
> >>
> >> Eli Zaretskii <eliz <at> gnu.org> writes:
> >>
> >> > Thanks, but isn't it better to control the amount of scaling by
> >> > changing the value of text-scale-mode-step instead? Having to scroll
> >> > the wheel several clicks without any effect would be confusing, I
> >> > think. And text-scale-mode-step is already a user variable that is
> >> > available for this purpose. So maybe you should try decreasing the
> >> > default value to, say, 1.02, to see if that satisfies your needs.
> >>
> >> For some trackpads, controlling how many 'clicks' to scroll is quite
> >> difficult. The step size fixes the issue of scrolling too fast, but I
> >> still have trouble choosing the exact text scale I want. My preference
> >> is still for a larger step size and throttling scroll events.
> >
> > Sorry, I don't understand why you need to count clicks. Typically
> > when users change the text scale, they just turn the wheel until the
> > size they get fits their needs. Making text-scale-mode-step smaller
> > causes finer changes, so it's easier to be more precise in finding the
> > desired scale.
> >
> > Can you explain how your proposal makes it easier than that, and why?
>
> Sure, let me rephrase: for two-finger scrolling, it's hard to emit a
> single scroll event. With a smaller step size it is easier to get it
> close to the scale I want, but regardless of the step size, choosing an
> exact text scale is difficult. This leads to buffers having slightly
> different text scales.
If that's the problem, shouldn't that be handled by techniques we use
in precision-scrolling?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#57140
; Package
emacs
.
(Thu, 11 Aug 2022 17:40:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 57140 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Tyler Grinn <tylergrinn <at> gmail.com>
>> Cc: 57140 <at> debbugs.gnu.org
>> Date: Thu, 11 Aug 2022 13:00:45 -0400
>>
>> Eli Zaretskii <eliz <at> gnu.org> writes:
>>
>> >> From: Tyler Grinn <tylergrinn <at> gmail.com>
>> >> Cc: 57140 <at> debbugs.gnu.org
>> >> Date: Thu, 11 Aug 2022 11:23:51 -0400
>> >>
>> >> Eli Zaretskii <eliz <at> gnu.org> writes:
>> >>
>> >> > Thanks, but isn't it better to control the amount of scaling by
>> >> > changing the value of text-scale-mode-step instead? Having to scroll
>> >> > the wheel several clicks without any effect would be confusing, I
>> >> > think. And text-scale-mode-step is already a user variable that is
>> >> > available for this purpose. So maybe you should try decreasing the
>> >> > default value to, say, 1.02, to see if that satisfies your needs.
>> >>
>> >> For some trackpads, controlling how many 'clicks' to scroll is quite
>> >> difficult. The step size fixes the issue of scrolling too fast, but I
>> >> still have trouble choosing the exact text scale I want. My preference
>> >> is still for a larger step size and throttling scroll events.
>> >
>> > Sorry, I don't understand why you need to count clicks. Typically
>> > when users change the text scale, they just turn the wheel until the
>> > size they get fits their needs. Making text-scale-mode-step smaller
>> > causes finer changes, so it's easier to be more precise in finding the
>> > desired scale.
>> >
>> > Can you explain how your proposal makes it easier than that, and why?
>>
>> Sure, let me rephrase: for two-finger scrolling, it's hard to emit a
>> single scroll event. With a smaller step size it is easier to get it
>> close to the scale I want, but regardless of the step size, choosing an
>> exact text scale is difficult. This leads to buffers having slightly
>> different text scales.
>
> If that's the problem, shouldn't that be handled by techniques we use
> in precision-scrolling?
Could you expand on that?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#57140
; Package
emacs
.
(Thu, 11 Aug 2022 17:49:02 GMT)
Full text and
rfc822 format available.
Message #29 received at 57140 <at> debbugs.gnu.org (full text, mbox):
> From: Tyler Grinn <tylergrinn <at> gmail.com>
> Cc: 57140 <at> debbugs.gnu.org
> Date: Thu, 11 Aug 2022 13:38:53 -0400
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> >> Sure, let me rephrase: for two-finger scrolling, it's hard to emit a
> >> single scroll event. With a smaller step size it is easier to get it
> >> close to the scale I want, but regardless of the step size, choosing an
> >> exact text scale is difficult. This leads to buffers having slightly
> >> different text scales.
> >
> > If that's the problem, shouldn't that be handled by techniques we use
> > in precision-scrolling?
>
> Could you expand on that?
Are you familiar with pixel-scroll-precision-mode?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#57140
; Package
emacs
.
(Thu, 11 Aug 2022 19:25:02 GMT)
Full text and
rfc822 format available.
Message #32 received at 57140 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Tyler Grinn <tylergrinn <at> gmail.com>
>> Cc: 57140 <at> debbugs.gnu.org
>> Date: Thu, 11 Aug 2022 13:38:53 -0400
>>
>> Eli Zaretskii <eliz <at> gnu.org> writes:
>>
>> >> Sure, let me rephrase: for two-finger scrolling, it's hard to emit a
>> >> single scroll event. With a smaller step size it is easier to get it
>> >> close to the scale I want, but regardless of the step size, choosing an
>> >> exact text scale is difficult. This leads to buffers having slightly
>> >> different text scales.
>> >
>> > If that's the problem, shouldn't that be handled by techniques we use
>> > in precision-scrolling?
>>
>> Could you expand on that?
>
> Are you familiar with pixel-scroll-precision-mode?
Yes, but it's unclear which techniques you're referring to, or what is
lacking from the proposed behavior.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#57140
; Package
emacs
.
(Fri, 12 Aug 2022 05:37:01 GMT)
Full text and
rfc822 format available.
Message #35 received at 57140 <at> debbugs.gnu.org (full text, mbox):
> From: Tyler Grinn <tylergrinn <at> gmail.com>
> Cc: 57140 <at> debbugs.gnu.org
> Date: Thu, 11 Aug 2022 15:24:33 -0400
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> >> From: Tyler Grinn <tylergrinn <at> gmail.com>
> >> Cc: 57140 <at> debbugs.gnu.org
> >> Date: Thu, 11 Aug 2022 13:38:53 -0400
> >>
> >> Eli Zaretskii <eliz <at> gnu.org> writes:
> >>
> >> >> Sure, let me rephrase: for two-finger scrolling, it's hard to emit a
> >> >> single scroll event. With a smaller step size it is easier to get it
> >> >> close to the scale I want, but regardless of the step size, choosing an
> >> >> exact text scale is difficult. This leads to buffers having slightly
> >> >> different text scales.
> >> >
> >> > If that's the problem, shouldn't that be handled by techniques we use
> >> > in precision-scrolling?
> >>
> >> Could you expand on that?
> >
> > Are you familiar with pixel-scroll-precision-mode?
>
> Yes, but it's unclear which techniques you're referring to, or what is
> lacking from the proposed behavior.
I refer to that mode's use of mwheel-coalesce-scroll-events and the
pixel-scroll-precision-* variables. That uses underlying capabilities
of using high-precision mouse events which are new in Emacs 29.
This bug report was last modified 2 years and 107 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.