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 11:31:57 -0400 Message-ID: <7a86c15a-cc21-6df8-f1fa-c0359ce25c27@gmail.com> References: <603bbc01-b1a2-b367-f54e-59a57475cbfe@gmail.com> <83h7jc8gep.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37163"; 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 Cc: 48307@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 09 17:35:40 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 1lflT1-0009XY-G6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 09 May 2021 17:35:39 +0200 Original-Received: from localhost ([::1]:41664 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lflT0-0003wc-Ie for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 09 May 2021 11:35:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46710) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lflQV-0001Mi-DO for bug-gnu-emacs@gnu.org; Sun, 09 May 2021 11:33:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44339) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lflQV-0006ax-5V for bug-gnu-emacs@gnu.org; Sun, 09 May 2021 11:33:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lflQV-0000mq-2o for bug-gnu-emacs@gnu.org; Sun, 09 May 2021 11:33:03 -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 15:33:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48307 X-GNU-PR-Package: emacs Original-Received: via spool by 48307-submit@debbugs.gnu.org id=B48307.16205743262985 (code B ref 48307); Sun, 09 May 2021 15:33:03 +0000 Original-Received: (at 48307) by debbugs.gnu.org; 9 May 2021 15:32:06 +0000 Original-Received: from localhost ([127.0.0.1]:55881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lflPa-0000m5-DS for submit@debbugs.gnu.org; Sun, 09 May 2021 11:32:06 -0400 Original-Received: from mail-qk1-f172.google.com ([209.85.222.172]:41934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lflPY-0000lf-MY for 48307@debbugs.gnu.org; Sun, 09 May 2021 11:32:05 -0400 Original-Received: by mail-qk1-f172.google.com with SMTP id l129so13171899qke.8 for <48307@debbugs.gnu.org>; Sun, 09 May 2021 08:32:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=0ZfiqJPZz7pH0Ti3y2ji52lsoX/KNVx6Rrd1lXW+CHI=; b=nt57m35eRW/HbO34ucw5ZS3sAPKgj2KKD/JtrtaMY1oIlUsDa5rQrao9kSGUnwG17s yICH9AjXKpg4nS3OcEqH7jjn/a++h7+QV4ahXXh2HSZIocAFXheLbc895tKhbC3qz+Af peBISpIsUdAPeqEi+8oMZ0alHt8x8Q7d3S1JObZE4hRnSCKyKUa9iSLUjLyPn2k8MEUv LKe1UeMJ2I2uvYPH5IwrEFJBaG/LpqS5l1ETENlklOnvjOvEh7G/1/i0Nu9TvuFfY/iX uHFS+VVcZGMD8IY4qRnUEVDKNvmeyBc0ImtxIHi+nTlVU7KfqJtt1JVb2q6h7TC2Bx6p HyTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=0ZfiqJPZz7pH0Ti3y2ji52lsoX/KNVx6Rrd1lXW+CHI=; b=roULQRyfP1gQPHXrCt0t+p6C2mBRTXrq5vNL4jPMKF9YXzXkiZ1PySblv+b6NG2nR2 vnmK8God2ok0c9nAtZjqfHr6wP5vMxdtLTx1t00sEn22vCA6Ka82qZGTzXHIuWU/4uuN pG8Rb0fjG3AmYjdToTVnkNssjgJlhOMj1+RRrzZANtkYcfmssBKJJJpaHCTDEFQj1mye F98AJy2N710hl5THfDuF+PpVUr/8Yl+UARU0lJCYLpPivpOhxgbsSbZ6t3bRTh2IDH2Y mxnEFXjv8uJSbAkPsAmvmw1D7eN2hr7gVRbhTr+8q5j1NxOQ1RnqdKVoji8hoEljNYPs WpsA== X-Gm-Message-State: AOAM5337XGxg//UnW30UpbzXqq+YrA8eFue0BuqCvVa2lbNKzohXZuFn ozQ7N1+VIUOFubAuBJZZ/vw5uGQaeWI= X-Google-Smtp-Source: ABdhPJwXJs8gENy5OArHubf4y1ofsd9HNcE6LRKKhlSh4EItxbqOu1DC26Es9JNmJyo5tUTlPfddDw== X-Received: by 2002:a37:b704:: with SMTP id h4mr19384301qkf.177.1620574318884; Sun, 09 May 2021 08:31:58 -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 s24sm9410431qtx.94.2021.05.09.08.31.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 09 May 2021 08:31:58 -0700 (PDT) In-Reply-To: <83h7jc8gep.fsf@gnu.org> Content-Language: en-GB 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:206081 Archived-At: On 5/9/21 4:23 AM, Eli Zaretskii wrote: > So: what should be the effect of this "global" change of the "font > size"? Some thought-provoking questions: Thanks. Some wild guesses: > . should this affect only the faces whose fonts don't define their > own size, or should it affect _all_ fonts? Probably all of them except the ones that specify an absolute height? > . should this really affect _all_ the buffers? e.g., what about the > minibuffer and the echo-area buffers? Yes, certainly. > . should this affect all the frames or just the currently selected > frame? what about future frames? I'm guessing all frames. > . should this affect the mode line? Absolutely. > . should this affect tooltips? Yes, to the extent that we have control over that. > . should this affect the fringes and their bitmaps? That would be nice. > . should this affect the menu bar, the drop-down menus, and the GUI > dialogs? That's extra credit; I guess it could be nice? > We need a clear understanding of the feature before we implement it, > IMO. Indeed, although starting with an implementation and refining it over time could be good, too (to some extent I think the specifics matter less than having something available). For example, just including any one of the short implementations into Emacs by default would work to solve the concrete issue that I'm talking about (with the pandemic we do screen-sharing all the time, and I hear "how do I resize the font in Emacs again?" more than once a week these days ^^). A good approximation of what I would like that command to do is what menu-set-font does if you ignore the part about changing the face and only change the size part. Something similar to doing text-scale-adjust in every buffer would also work, too (I've noticed that changing the :height attribute of the default face is slow, while text-scale-adjust is fast).