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#38187: 27.0.50; No mouse-wheel scaling on images Date: Tue, 19 Nov 2019 15:49:49 +0100 Message-ID: References: <87tv79ksuz.fsf@mail.linkov.net> <83zhgy62u8.fsf@gnu.org> <87y2we7r90.fsf@gnus.org> <83lfse5w04.fsf@gnu.org> <87a78u7ags.fsf@gnus.org> <878soemc79.fsf@marxist.se> <87k17xsgaq.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="000000000000c28b350597b42df4" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="59654"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 38187@debbugs.gnu.org, Juri Linkov To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 19 15:51:22 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 1iX4qe-000FNM-8L for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Nov 2019 15:51:20 +0100 Original-Received: from localhost ([::1]:46288 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iX4qd-0006TT-3a for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Nov 2019 09:51:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46907) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iX4qN-0006Sn-Nt for bug-gnu-emacs@gnu.org; Tue, 19 Nov 2019 09:51:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iX4qM-00087r-Ny for bug-gnu-emacs@gnu.org; Tue, 19 Nov 2019 09:51:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38022) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iX4qM-00087m-E8 for bug-gnu-emacs@gnu.org; Tue, 19 Nov 2019 09:51:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iX4qM-0005yF-Bi for bug-gnu-emacs@gnu.org; Tue, 19 Nov 2019 09:51:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Nov 2019 14:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38187 X-GNU-PR-Package: emacs Original-Received: via spool by 38187-submit@debbugs.gnu.org id=B38187.157417502322908 (code B ref 38187); Tue, 19 Nov 2019 14:51:02 +0000 Original-Received: (at 38187) by debbugs.gnu.org; 19 Nov 2019 14:50:23 +0000 Original-Received: from localhost ([127.0.0.1]:46843 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iX4pi-0005xQ-Hp for submit@debbugs.gnu.org; Tue, 19 Nov 2019 09:50:22 -0500 Original-Received: from mail-pf1-f176.google.com ([209.85.210.176]:33537) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iX4pT-0005wP-6T for 38187@debbugs.gnu.org; Tue, 19 Nov 2019 09:50:07 -0500 Original-Received: by mail-pf1-f176.google.com with SMTP id c184so12301683pfb.0 for <38187@debbugs.gnu.org>; Tue, 19 Nov 2019 06:50:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pKpz2d0kvyiWStlDC/2aOG9Lsti8bjXLdoBSf8lMGeI=; b=s0BovrpwKKFAMkJIsH7zoGLWI3qaSQDzXmXqM8Oj3XcX5kisL4AYAnzmRYRasZWPh+ VY7Ct9vqYKocTYPB4tLjrW5LCAxb/iUpq0UxgZ1SJMxArBt//2QBOBu0tU+7pb5AMDlN 9QObzXbatPfHMCaC78VLQhnD0nDItuhUYfal66tkZyGaFr5HAblDdFh36kCwHlxmKZbY qFDrBjmSUma9ygs+NAm21+FhgCpgF+YzhhmL2dslFiWh0c10PEMwWfSg0VC5b1K2s+DO gThX78vyAwTEbWDuFRVkKBOHWNROIZdAF25IdOt0v4Yc/L8AErEhoqo84rWFf38xX0DT Y2mw== X-Gm-Message-State: APjAAAWDRG+L4rw9XoHtVW/lnpOvIsJFN1vCI5+H0vC/fExBeUF/jYgH +2OdwFRuRIxQynxUZ45mCmzJQuuC+EGuDVdaaoo= X-Google-Smtp-Source: APXvYqyPZrgVXw9fpeYXsENN62JwULN+wBpGtFItzHr8rWkL5bpnMUtTOKok9+Nzr609WQi8vY6s80nBrWT1Cm0ppDU= X-Received: by 2002:a63:a05c:: with SMTP id u28mr6292581pgn.333.1574175001170; Tue, 19 Nov 2019 06:50:01 -0800 (PST) In-Reply-To: <87k17xsgaq.fsf@gnus.org> 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:171976 Archived-At: --000000000000c28b350597b42df4 Content-Type: text/plain; charset="UTF-8" Lars Ingebrigtsen writes: >> FWIW, I think the opposite. I think that zooming text, images and all >> buffer content together should be the default. I believe that it >> would feel both natural and familiar, especially to new users, since >> that's how e.g. web browsers, LibreOffice and evince, etc. works. > > That's true. I guess the scroll button could change both > image-scaling-factor and text-scale-mode-amount... Perhaps we should open a separate issue for that? > But, on the other hand, I could definitely see people preferring to > change just one or the other. So perhaps there should be separate > commands that people can bind according to their preference? 100 % agree. >> (That also reminds me that, IMO, text-scale-increase/decrease should >> be renamed to font-size-increase/decrease. The current names are not >> very discoverable; when one wants to change the font size, and says: >> `M-x font TAB'. At the very least, we should have such defaliases.) > > Makes sense to me. How does the attached patch look? I took the minimal route of just adding convenience aliases. Best regards, Stefan Kangas --000000000000c28b350597b42df4 Content-Type: application/octet-stream; name="0001-Add-aliases-font-size-increase-decrease.patch" Content-Disposition: attachment; filename="0001-Add-aliases-font-size-increase-decrease.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_k35z53930 RnJvbSA5OGE3ZTMwZmVhY2NjODg3MzU0YjA1ZmNkZGI3MmM5YmQ3MTViOTViIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBTdGVmYW4gS2FuZ2FzIDxzdGVmYW5rYW5nYXNAZ21haWwuY29t PgpEYXRlOiBUdWUsIDE5IE5vdiAyMDE5IDE1OjQ1OjE1ICswMTAwClN1YmplY3Q6IFtQQVRDSF0g QWRkIGFsaWFzZXMgZm9udC1zaXplLXtpbmNyZWFzZSxkZWNyZWFzZX0KCiogbGlzcC9mYWNlLXJl bWFwLmVsIChmb250LXNpemUtaW5jcmVhc2UsIGZvbnQtc2l6ZS1kZWNyZWFzZSk6IE5ldwpjb252 ZW5pZW5jZSBhbGlhc2VzIGZvciAndGV4dC1zY2FsZS1pbmNyZWFzZScgYW5kCid0ZXh0LXNjYWxl LWRlY3JlYXNlJy4KLS0tCiBsaXNwL2ZhY2UtcmVtYXAuZWwgfCA0ICsrKysKIDEgZmlsZSBjaGFu Z2VkLCA0IGluc2VydGlvbnMoKykKCmRpZmYg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