From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel Newsgroups: gmane.emacs.bugs Subject: bug#48307: Feature request: provide default keybindings to change the font size in all windows Date: Sun, 9 May 2021 03:09:45 -0400 Message-ID: <603bbc01-b1a2-b367-f54e-59a57475cbfe@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29946"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 To: 48307@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 09 09:10:12 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lfdZr-0007eg-M6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 09 May 2021 09:10:11 +0200 Original-Received: from localhost ([::1]:40886 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfdZq-0008FC-Oo for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 09 May 2021 03:10:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33946) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfdZi-0008Ed-Iv for bug-gnu-emacs@gnu.org; Sun, 09 May 2021 03:10:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43128) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lfdZi-00044b-Bo for bug-gnu-emacs@gnu.org; Sun, 09 May 2021 03:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lfdZi-0007iA-6y for bug-gnu-emacs@gnu.org; Sun, 09 May 2021 03:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 May 2021 07:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48307 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.162054419629629 (code B ref -1); Sun, 09 May 2021 07:10:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 May 2021 07:09:56 +0000 Original-Received: from localhost ([127.0.0.1]:54674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfdZY-0007hp-56 for submit@debbugs.gnu.org; Sun, 09 May 2021 03:09:55 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:42490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfdZW-0007hj-KF for submit@debbugs.gnu.org; Sun, 09 May 2021 03:09:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33910) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfdZW-0008EM-GC for bug-gnu-emacs@gnu.org; Sun, 09 May 2021 03:09:50 -0400 Original-Received: from mail-qk1-x72c.google.com ([2607:f8b0:4864:20::72c]:45711) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lfdZU-0003rY-Sg for bug-gnu-emacs@gnu.org; Sun, 09 May 2021 03:09:50 -0400 Original-Received: by mail-qk1-x72c.google.com with SMTP id 197so12631696qkl.12 for ; Sun, 09 May 2021 00:09:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=OS2Cc6/i4npRMg7CbsYPPJtu82RtySFtWFf5AV36Qyg=; b=ArcesladxZchBGW2e0DCEsMQjdU/Vp6Cgzi5XzGvaGwZzD6Mb52jFM8LUJ68amCC0Y lx65ph4uMEk0jN8hfMJ8X9NTMhO2eGzAnpYkDpuH27jjvm2ShH8rO66rXFtpiYhng6Ma dP+ei9mT24lWSQh2IU3dhVLMwhYcArZwDJ9l9D+9zYgLDxYg2r7+BBQhBIUxuKpFUtwo JpFI85JxENw4wAbZoqlX14cGf45TteT84JFeDHFRcj+PPUh1N5BvvUHucfozVOR/qoJx Bze41Q8v5E6rrN5dTWm0eXZUogqMeqF6pOT+4dGPPMx6FF28X8NaukTpn87XTvfvpWaU Z1OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=OS2Cc6/i4npRMg7CbsYPPJtu82RtySFtWFf5AV36Qyg=; b=K/zmC6KDslzj9JKWE1hidwWLP9dTwg/ZmpqgZwJ2JeiXcJtXQdSWQvWHQ4Zw5dg2Jf 2kXaNqoj/HZUNc/89S9q6mWO/4guOYMbe4QSrrR3LrNHH0S9JBqOy9Rlg1vD4A0sQjcR GDccwQtypglQrvkS5TEVKAYW8FwnPWNkVNqKHSGCxMzRf1fLutXLoLnwGa+5J8heVRTY amanS1L/bX5ZbXq+q57nglMkzKjGenPxBnq7LpXfwOT5qPaBH1dA15L5KJf0T3wwjC/n m3GrfdmJKgxW3rBLg6nIhamoO758rJQ0ibUp9RYHicr9G4cJaOc7Vk3IYYBcNrjtVZte eGjQ== X-Gm-Message-State: AOAM532SxO7L8YAKUy6oWfskna79ovxswgcDlDJ+2dj3Pd/Zw5sJ9JrN qekXKCj+0ulERLmkQPXYHl/EyyOoghI= X-Google-Smtp-Source: ABdhPJz1k3YnPak55Pk89HpNBX1gRg/y7MdUD9fa7Dlg0iW3fo8gXc1fbZmgRRNNm1/yXkJNb0zY+A== X-Received: by 2002:ae9:f30a:: with SMTP id p10mr17616818qkg.53.1620544187021; Sun, 09 May 2021 00:09:47 -0700 (PDT) Original-Received: from [192.168.1.11] (c-24-61-240-80.hsd1.ma.comcast.net. [24.61.240.80]) by smtp.googlemail.com with ESMTPSA id l4sm2386366qkp.48.2021.05.09.00.09.46 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 09 May 2021 00:09:46 -0700 (PDT) Content-Language: en-GB Received-SPF: pass client-ip=2607:f8b0:4864:20::72c; envelope-from=cpitclaudel@gmail.com; helo=mail-qk1-x72c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:206041 Archived-At: Hi all, Emacs has keybindings to change the font size in the current buffer (C-x C-=, etc which use text-scale-adjust). We don't have keybindings for commands to change the font size globally, and in fact we don't have commands for that purpose at all, AFAICT. My students keep running into this issue, and it seems pretty common online, too: - https://stackoverflow.com/questions/18783227/emacs-zoom-in-out-globally - https://stackoverflow.com/questions/24705984/increase-decrease-font-size-in-an-emacs-frame-not-just-buffer - https://www.reddit.com/r/emacs/comments/dip6e6/zoom_in_zoom_out/ … and there are many libraries that reimplement solutions to this issue: - https://www.emacswiki.org/emacs/download/zoom-frm.el - https://practicalli.github.io/spacemacs/install-spacemacs/change-font.html - https://github.com/purcell/default-text-scale - https://www.emacswiki.org/emacs/GlobalTextScaleMode - https://www.emacswiki.org/emacs/SetFonts#ZoomFrame I'm sure many more people have custom code for this (I do). Not all the implementations are good, and it would be very nice if such a feature were available out of the box. Currently mouse-wheel-text-scale is bound to C- and C-; could we have an equivalent command for all buffers, maybe on C-S- and C-S-? Clément.