From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#28182: maybe implement CTRL++ to zoom text Date: Wed, 23 Aug 2017 16:23:57 -0700 (PDT) Message-ID: <6ba60983-ae7f-4b54-8890-d02ff17b03f6@default> References: <87y3qcs3nf.fsf@jidanni.org> <831so3bror.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1503530731 23156 195.159.176.226 (23 Aug 2017 23:25:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 23 Aug 2017 23:25:31 +0000 (UTC) Cc: 28182@debbugs.gnu.org, jidanni@jidanni.org To: Tak Kunihiro , Richard Stallman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 24 01:25:23 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dkf1K-0004qH-H8 for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Aug 2017 01:25:10 +0200 Original-Received: from localhost ([::1]:46009 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dkf1P-0001Ap-I8 for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Aug 2017 19:25:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45959) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dkf1G-00019g-KS for bug-gnu-emacs@gnu.org; Wed, 23 Aug 2017 19:25:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dkf1C-00008h-Ie for bug-gnu-emacs@gnu.org; Wed, 23 Aug 2017 19:25:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43183) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dkf1C-00008b-Ew for bug-gnu-emacs@gnu.org; Wed, 23 Aug 2017 19:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dkf1C-0001ef-6U for bug-gnu-emacs@gnu.org; Wed, 23 Aug 2017 19:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Aug 2017 23:25: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: Original-Received: via spool by 28182-submit@debbugs.gnu.org id=B28182.15035306506300 (code B ref 28182); Wed, 23 Aug 2017 23:25:02 +0000 Original-Received: (at 28182) by debbugs.gnu.org; 23 Aug 2017 23:24:10 +0000 Original-Received: from localhost ([127.0.0.1]:51864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dkf0L-0001dX-6L for submit@debbugs.gnu.org; Wed, 23 Aug 2017 19:24:10 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:24318) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dkf0J-0001d3-3P for 28182@debbugs.gnu.org; Wed, 23 Aug 2017 19:24:07 -0400 Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v7NNO0Gq007160 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 23 Aug 2017 23:24:00 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v7NNNxC2003732 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 23 Aug 2017 23:24:00 GMT Original-Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id v7NNNwYP011335; Wed, 23 Aug 2017 23:23:59 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6774.5000 (x86)] X-Source-IP: userv0022.oracle.com [156.151.31.74] 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: 208.118.235.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:136128 Archived-At: > I think that people want to increase size of font when they are in an > environment with mouse. Thus I suggest and . +1. FWIW, I do that in zoom-frm.el. =20 Commands `zoom-in' and `zoom-out' can do text-scaling or frame-zooming, depending on the value of variable `zoom-frame/buffer' (which you can toggle with a prefix arg for the command). (global-set-key [S-mouse-1] 'zoom-in) (global-set-key [C-S-mouse-1] 'zoom-out) (global-set-key (vector (list 'control mouse-wheel-down-event)) 'zoom-in) (global-set-key (vector (list 'control mouse-wheel-up-event)) 'zoom-out) And in/out command `zoom-in/out': (define-key ctl-x-map [(control ?+)] 'zoom-in/out) (define-key ctl-x-map [(control ?-)] 'zoom-in/out) (define-key ctl-x-map [(control ?=3D)] 'zoom-in/out) (define-key ctl-x-map [(control ?0)] 'zoom-in/out) https://www.emacswiki.org/emacs/download/zoom-frm.el