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, 09 Oct 2019 23:54:28 +0300 Organization: LINKOV.NET Message-ID: <87eezlg017.fsf@mail.linkov.net> References: <87y3qcs3nf.fsf@jidanni.org> <87tva69q12.fsf@mail.linkov.net> <87v9uixqew.fsf@mail.linkov.net> <83lfu8h6pn.fsf@gnu.org> <83blut3hrm.fsf@gnu.org> <8736g4zh6k.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="7746"; 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: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson , Tak Kunihiro , 28182@debbugs.gnu.org, Richard Stallman To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 09 23:22:43 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 1iIJPu-0001kI-S7 for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Oct 2019 23:22:42 +0200 Original-Received: from localhost ([::1]:58668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIJPt-0000KL-MN for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Oct 2019 17:22:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42483) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIJ32-0001Cs-6v for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2019 16:59:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iIJ31-0004HC-4U for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2019 16:59:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45416) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iIJ31-0004H6-12 for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2019 16:59:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iIJ30-000685-RP for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2019 16:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Oct 2019 20:59:02 +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.157065471823504 (code B ref 28182); Wed, 09 Oct 2019 20:59:02 +0000 Original-Received: (at 28182) by debbugs.gnu.org; 9 Oct 2019 20:58:38 +0000 Original-Received: from localhost ([127.0.0.1]:54233 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIJ2c-000671-DW for submit@debbugs.gnu.org; Wed, 09 Oct 2019 16:58:38 -0400 Original-Received: from bisque.elm.relay.mailchannels.net ([23.83.212.18]:30039) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIJ2a-00066t-RP for 28182@debbugs.gnu.org; Wed, 09 Oct 2019 16:58:37 -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 8854B501AFE; Wed, 9 Oct 2019 20:58:35 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a88.g.dreamhost.com (100-96-4-204.trex.outbound.svc.cluster.local [100.96.4.204]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 0F6FB501AFD; Wed, 9 Oct 2019 20:58:35 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a88.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.18.5); Wed, 09 Oct 2019 20:58:35 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Company-Trade: 3e30901d66253b10_1570654715353_4212870468 X-MC-Loop-Signature: 1570654715353:3653896057 X-MC-Ingress-Time: 1570654715353 Original-Received: from pdx1-sub0-mail-a88.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a88.g.dreamhost.com (Postfix) with ESMTP id 7A99981384; Wed, 9 Oct 2019 13:58:32 -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=qqYcdS6ZNWYHH5m8Roc2qgc4TEM=; b= LCxRoXEaDJ8iMOHMzxFJI3xPp5RT7eLqERZo51/ExD3/p3kOZlS7Gmpd3qXnrW9y VjjkvG4vR6tVmb6KagVL6ktt0bsMUQkzM35+F+ScTDUlOMsWQM1dGiCA10MlQAhB NCjD5f1a+K2PZ2kRaLijNY6QJhNJx7IwK8KJN4MsGmI= Original-Received: from mail.jurta.org (m91-129-99-99.cust.tele2.ee [91.129.99.99]) (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-a88.g.dreamhost.com (Postfix) with ESMTPSA id 43CE881383; Wed, 9 Oct 2019 13:58:28 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a88 In-Reply-To: (Stefan Kangas's message of "Tue, 8 Oct 2019 23:58:09 +0200") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedufedriedugddufeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrdelledrleelnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledrleelrdelledprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopehsthgvfhgrnhesmhgrrhigihhsthdrshgvnecuvehluhhsthgvrhfuihiivgepud 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:168790 Archived-At: >> > What is expected is that mouse scrolling in the non-selected window >> > will affect the non-selected window. Does this need to be changed? >> >> I'm not sure, but I think I agree with you that it should be changed. >> Perhaps we could try it and see if it feels better? > > It turns out there is already a defcustom 'mouse-wheel-follows-mouse' > that controls this behaviour when scrolling. If non-nil (the default) > it will scroll the window that the mouse pointer is over, otherwise > the one where point is. So the job is not that hard: we should just > do what the user wants. Thanks for finding mouse-wheel-follow-mouse, I didn't know about it. > The attached patch makes changing font size respect that option. What > do you think? Your refactoring makes code more nice, thanks.