From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#28182: maybe implement CTRL++ to zoom text Date: Wed, 28 Aug 2019 00:13:43 +0300 Organization: LINKOV.NET Message-ID: <87v9uixqew.fsf@mail.linkov.net> References: <87y3qcs3nf.fsf@jidanni.org> <87tva69q12.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="11884"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: Tak Kunihiro , Richard Stallman , 28182@debbugs.gnu.org, =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 27 23:16:17 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i2ip7-0002xy-44 for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Aug 2019 23:16:17 +0200 Original-Received: from localhost ([::1]:58668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i2ip5-0006qO-QA for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Aug 2019 17:16:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59945) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i2iot-0006m6-EH for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2019 17:16:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i2ios-0001hy-3T for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2019 17:16:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40668) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i2ior-0001ho-VM for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2019 17:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i2ior-0000qk-NN for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2019 17:16:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Aug 2019 21:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28182 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 28182-submit@debbugs.gnu.org id=B28182.15669405353227 (code B ref 28182); Tue, 27 Aug 2019 21:16:01 +0000 Original-Received: (at 28182) by debbugs.gnu.org; 27 Aug 2019 21:15:35 +0000 Original-Received: from localhost ([127.0.0.1]:49489 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i2ioR-0000py-C3 for submit@debbugs.gnu.org; Tue, 27 Aug 2019 17:15:35 -0400 Original-Received: from cadetblue.birch.relay.mailchannels.net ([23.83.209.28]:61385) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i2ioP-0000pq-JT for 28182@debbugs.gnu.org; Tue, 27 Aug 2019 17:15:34 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 0D6F322B38; Tue, 27 Aug 2019 21:15:32 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a50.g.dreamhost.com (100-96-4-156.trex.outbound.svc.cluster.local [100.96.4.156]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 3A7BC206A8; Tue, 27 Aug 2019 21:15:31 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a50.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.5); Tue, 27 Aug 2019 21:15:31 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Stretch-Imminent: 5b1b5a495600f63f_1566940531851_1389372298 X-MC-Loop-Signature: 1566940531850:869834307 X-MC-Ingress-Time: 1566940531850 Original-Received: from pdx1-sub0-mail-a50.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a50.g.dreamhost.com (Postfix) with ESMTP id C41877F4AA; Tue, 27 Aug 2019 14:15:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=RXXGbfqkNK87ZmmHs3rdNp5Yf88=; b= ksHCGoqzSJEJqpHa7dl0t+6IGivTHJu702K8u+n4++iroNQaOfwbGoLFv/eE5G9Q UXcJ46NcGGxOQOjsKD/vyvDdeCHmkOas2T7fzj3w7n6eHQ8CIKHBG0tZolvTeC4I VUJO+nwbmI600J75/O2DsRnoW4Dpw1iIsq8CrcJZEQ8= Original-Received: from mail.jurta.org (m91-129-108-240.cust.tele2.ee [91.129.108.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a50.g.dreamhost.com (Postfix) with ESMTPSA id 89A0A7F3C2; Tue, 27 Aug 2019 14:15:21 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a50 In-Reply-To: (Stefan Kangas's message of "Tue, 27 Aug 2019 02:40:24 +0200") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduvddrudehkedguddtkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffuohhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecuffhomhgrihhnpehgnhhurdhorhhgnecukfhppeeluddruddvledruddtkedrvdegtdenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutdekrddvgedtpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepshhtvghfrghnsehmrghrgihishhtrdhsvgenucevlhhushhtvghrufhiiigvpedt X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:165983 Archived-At: >> Another variant is to add special symbols to >> the existing customization, e.g.: >> >> '(5 ((shift) . 1) ((control) . text-scale) ((meta) . nil)) >> >> or even support text-scale step number if needed: >> >> '(5 ((shift) . 1) ((control) . (text-scale . 1)) ((meta) . nil)) > > I like your idea that this would all be defined in one place. > > One nit is that the variable name there is mouse-wheel-scroll-amount, > and I'm not sure this is the best name for functionality to change the > font size. If we go ahead with that, perhaps it should be renamed to > something like mouse-wheel-scroll-modifiers? It looks like mouse-wheel-scroll-amount still makes some sense as using wheel-scrolling to change the amount of font pixels. Generally it's better to refrain from renaming old customisable variables when possible. >> This is similar to what I proposed with >> >> '((shift) . (hscroll . 1)) >> >> to scroll horizontally like Shift-wheel does in web browsers: >> >> https://lists.gnu.org/archive/html/emacs-devel/2010-10/msg00202.html > > Thanks for pointing that out. AFAICT that was never merged? Alas, that was never merged, but I still miss this functionality. Maybe now there is another chance first to implement ((control) . text-scale) and then duplicate the same functionality for ((shift) . (hscroll . 1)) >> Also please look at discussions for other related requests: >> >> https://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00529.html >> https://lists.gnu.org/archive/html/emacs-devel/2017-03/msg00797.html >> https://lists.gnu.org/archive/html/emacs-devel/2017-09/msg00129.html > > Thanks. These are more about changing the numeric values for smoother scrolling, I already customized to the suggested values, and scrolling is really smoother, but I'm not sure about changing the default values.