From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#57140: New user option mouse-wheel-text-scale-buffer Date: Thu, 11 Aug 2022 20:16:21 +0300 Message-ID: <834jyipuoq.fsf@gnu.org> References: <871qtnudsc.fsf@gmail.com> <878rnuudaw.fsf@gmail.com> <83o7wqq58o.fsf@gnu.org> <87pmh6st14.fsf@gmail.com> <83k07epy3w.fsf@gnu.org> <87a68asojm.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10012"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57140@debbugs.gnu.org To: Tyler Grinn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 11 19:32:34 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oMC2r-0002Qi-Tz for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 11 Aug 2022 19:32:34 +0200 Original-Received: from localhost ([::1]:42418 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oMC2p-00047U-RT for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 11 Aug 2022 13:32:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43402) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMBnr-0008Ty-0x for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2022 13:17:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36951) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oMBnq-000102-Nz for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2022 13:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oMBnq-0004MZ-Fd for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2022 13:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Aug 2022 17:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57140 X-GNU-PR-Package: emacs Original-Received: via spool by 57140-submit@debbugs.gnu.org id=B57140.166023819616729 (code B ref 57140); Thu, 11 Aug 2022 17:17:02 +0000 Original-Received: (at 57140) by debbugs.gnu.org; 11 Aug 2022 17:16:36 +0000 Original-Received: from localhost ([127.0.0.1]:54933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMBnP-0004Lk-SZ for submit@debbugs.gnu.org; Thu, 11 Aug 2022 13:16:36 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMBnM-0004LX-Gx for 57140@debbugs.gnu.org; Thu, 11 Aug 2022 13:16:35 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56324) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMBnH-0000v1-5C; Thu, 11 Aug 2022 13:16:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=PVSGtZ/MRmHDfqMpmzLApppcdYH9oTBrumnFiw/yWTQ=; b=CpXA2g2FsDgt j86HQgCpQMhrKSGz9Q3LUkVqTjzxXq8AlONnniDN62Dh+IbxVgt0K6N90dDxuv4bIkIQGhxdQm8c+ XpYpXzP1RgIQvk8Bd6Y0W0DatyVExmowmgHJbp1HyW72oVBSIwTuhLcRMHT1lqkSzUWAKg6lKdM+8 bAHz8YuaH5EgH9REOuW1INgOz8NM75VGypLvLGAP4fomOfeWo8SC3CmVuXjV+ojtJrzvM+p4na1MR 6pOdosrpUrUPNL3URcpnOLg93sI0Zx0VUtFqkVccT+DeTmKf/ulv+Uafouzvl0UgVRXn03SUliE66 V1ij2MmfQ54SBRo0GpglOQ==; Original-Received: from [87.69.77.57] (port=2055 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMBnG-0002DD-JD; Thu, 11 Aug 2022 13:16:26 -0400 In-Reply-To: <87a68asojm.fsf@gmail.com> (message from Tyler Grinn on Thu, 11 Aug 2022 13:00:45 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:239364 Archived-At: > From: Tyler Grinn > Cc: 57140@debbugs.gnu.org > Date: Thu, 11 Aug 2022 13:00:45 -0400 > > Eli Zaretskii writes: > > >> From: Tyler Grinn > >> Cc: 57140@debbugs.gnu.org > >> Date: Thu, 11 Aug 2022 11:23:51 -0400 > >> > >> Eli Zaretskii 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?