From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#28182: maybe implement CTRL++ to zoom text Date: Wed, 21 Aug 2019 03:51:40 +0200 Message-ID: References: <87y3qcs3nf.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="0000000000002dc87f059096d113" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="263533"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Richard Stallman , 28182@debbugs.gnu.org, =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson To: Tak Kunihiro Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 21 03:52:29 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 1i0FnY-0016Q5-R3 for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Aug 2019 03:52:28 +0200 Original-Received: from localhost ([::1]:43260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i0FnX-0007zs-5X for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Aug 2019 21:52:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33431) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i0FnD-0007yM-19 for bug-gnu-emacs@gnu.org; Tue, 20 Aug 2019 21:52:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i0FnB-00064P-2I for bug-gnu-emacs@gnu.org; Tue, 20 Aug 2019 21:52:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53722) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i0Fn8-00062y-Vo for bug-gnu-emacs@gnu.org; Tue, 20 Aug 2019 21:52:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i0Fn8-0006XG-Qs for bug-gnu-emacs@gnu.org; Tue, 20 Aug 2019 21:52:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87y3qcs3nf.fsf@jidanni.org> Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Aug 2019 01:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28182 X-GNU-PR-Package: emacs Original-Received: via spool by 28182-submit@debbugs.gnu.org id=B28182.156635232025108 (code B ref 28182); Wed, 21 Aug 2019 01:52:02 +0000 Original-Received: (at 28182) by debbugs.gnu.org; 21 Aug 2019 01:52:00 +0000 Original-Received: from localhost ([127.0.0.1]:34308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i0Fn5-0006Ws-V8 for submit@debbugs.gnu.org; Tue, 20 Aug 2019 21:52:00 -0400 Original-Received: from mail-pg1-f174.google.com ([209.85.215.174]:38602) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i0Fn4-0006WZ-F2 for 28182@debbugs.gnu.org; Tue, 20 Aug 2019 21:51:58 -0400 Original-Received: by mail-pg1-f174.google.com with SMTP id e11so356654pga.5 for <28182@debbugs.gnu.org>; Tue, 20 Aug 2019 18:51:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=12MSQxZ6ib6zOVNUULWtvy6DQ5lhZ5qXBSsgGwyC6Og=; b=YCVDcQ4q1NNvO5MlilamP0wF/C3yna+JnhRNHSQqaabkAWbqN9VVgw4U6+ITDnc/Ul uqJYt6nWnCJ7XfE4y9FSQ/36dEftJ3aYr09DnADCvXSgXm4qv05YRlXAGTAVK0u8Gcj2 smgrG1y1mBoM7tW7s+kzT6tzZwifGBiPi350x6Jae6pxnse5dqX0tm5582J4l+RNpstv fmBckmBHxGk8xSTZFBx4D+aAUXhbFMBU2t6IzDD4mpzoy1dzhMsy8fDGou6wWGzTdQU6 zYl4N5VpqA9YWZlnBYf7N9SP5BfqAJRF+/pO8d1hin2XDNA2vhrOu2SLIeDcgfVAMD12 J9DQ== X-Gm-Message-State: APjAAAWew86HcOMhQHAGPx4WaAMGo25TF5NxlNsYhnoeIg1g6LmIcX2v AUzN2sDuobhinMUa+xLgNdVaC/g63ss7Ly0kN+0= X-Google-Smtp-Source: APXvYqzhMpeMqh7CqE5bWlha1x75Uvb4A2gIJVzzvzYDyyeeV3PWQWrIYy2g07HEHZ/ebNcx5+AEGdIQWlsK7MJ9t78= X-Received: by 2002:a17:90a:fa8f:: with SMTP id cu15mr2926548pjb.119.1566352312472; Tue, 20 Aug 2019 18:51:52 -0700 (PDT) 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:165459 Archived-At: --0000000000002dc87f059096d113 Content-Type: text/plain; charset="UTF-8" tags 28182 + patch quit Tak Kunihiro writes: > Richard Stallman writes: > >> > Did you try "C-x C-+"? >> >> I don't think it would occur to people to try that key sequence. >> It's not what other programs use. >> >> How about if we make C-+ and C-- do this, as they do in many >> other programs? > > I think that people want to increase size of font when they are in an > environment with mouse. Thus I suggest and . I think this is a good idea, which has the usability benefit to mirror what happens in many common browsers, and other common text editors. I remember myself that I was struggling to find the binding to change the font size when I was an Emacs beginner. I have implemented this suggestion in the attached patch. However, this will be an incompatible change, since this was previously bound to scrolling up and down by close to a full screen. I therefore moved that binding to the meta modifier and wrote a NEWS item that explains how to get the old functionality back. How does it look? Best regards, Stefan Kangas --0000000000002dc87f059096d113 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-Bind-changing-font-size-to-C-mouse-4-and-C-mouse-5.patch" Content-Disposition: attachment; filename="0001-Bind-changing-font-size-to-C-mouse-4-and-C-mouse-5.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_jzklojwi0 RnJvbSA2OThhMDAzOTNkYmIxMTlhNTZlNzBlZTZkYTcxOTkzYTZiMjkwMWYzIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBTdGVmYW4gS2FuZ2FzIDxzdGVmYW5rYW5nYXNAZ21haWwuY29t PgpEYXRlOiBXZWQsIDIxIEF1ZyAyMDE5IDAzOjM4OjQ5ICswMjAwClN1YmplY3Q6IFtQQVRDSF0g QmluZCBjaGFuZ2luZyBmb250IHNpemUgdG8gQy1tb3VzZS00IGFuZCBDLW1vdXNlLTUKCiogbGlz cC9tb3VzZS5lbCAoW0MtbW91c2UtNF0sIFtDLW1vdXNlLTVdKTogQmluZCB0bwp0ZXh0LXNjYWxl LWluY3JlYXNlIGFuZCB0ZXh0LXNjYWxlLWRlY3JlYXNlLiAgKEJ1ZyMyODE4MikKKiBsaXNwL213 aGVlbC5lbCAobW91c2Utd2hlZWwtc2Nyb2xsLWFtb3VudCk6IFVzZSB0aGUgbWV0YSBtb2RpZmll cgpmb3Igc2Nyb2xsaW5nIGJ5IG5lYXIgZnVsbCBzY3JlZW4gaW5zdGVhZCBvZiBjb250cm9sLgoq IGV0Yy9ORVdTOiBBbm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