From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.devel Subject: Re: Contributing to Emacs Date: Thu, 8 Sep 2022 16:49:57 +0200 Message-ID: References: <83zgfafmpp.fsf@gnu.org> <83wnaedllw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8703"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jaopaulolc@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Sep 08 16:52:23 2022 Return-path: Envelope-to: ged-emacs-devel@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 1oWItD-00022c-BZ for ged-emacs-devel@m.gmane-mx.org; Thu, 08 Sep 2022 16:52:23 +0200 Original-Received: from localhost ([::1]:54254 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oWItC-0007uo-C2 for ged-emacs-devel@m.gmane-mx.org; Thu, 08 Sep 2022 10:52:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWIqx-0005vw-R7 for emacs-devel@gnu.org; Thu, 08 Sep 2022 10:50:04 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:34799) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWIqv-00013F-UO; Thu, 08 Sep 2022 10:50:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1662648597; bh=2RIH6L8KxpTENWV2N/BFqFZCnmiZZbs30RoMQ1DKDSA=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=Yx0huJeCiAtoEJKfXcYU5hecVUqWBmV5/KrJhua0QeP+dMJ47b87FH409dxPMM5JO Kx5g6VhgRlMhmu01T7AtOBdPo8DgKCP3hO9p4TGriDaCH8JUeKcmOkqNuAzyZ5hBV5 doREgxU1JKY+SBI4jPqzD8UosSzd7V8QzjbTdZso= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [92.251.127.164] ([92.251.127.164]) by web-mail.gmx.net (3c-app-mailcom-bs16.server.lan [172.19.170.184]) (via HTTP); Thu, 8 Sep 2022 16:49:57 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <83wnaedllw.fsf@gnu.org> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:XGsw9QimKboy+Kxrp3zdWacQ9IMS79A6k1SptHD8mbz7PxPV1CeSo33CEhNpAPr1PlcKV ufYDSlQ+O7A/W2sRBVnH8YKwGev/8KQh1t0NvPHv7swUHAEUfllDO//3KY+l/6zD3oO/+dp2G5fE tHfx4TSd4o6r1gpWvSLjPAM+IjwBa8XKtyHj3ib+U/lR+LRZmPEgA/5sdm/k8jtfkBx3ABtiFFwP OlYTNDaRj+64fCeHp+jW5OcFJW3AdOujrOX1qqhRioYSVQmkwxVNUAWYRsVMfqRUKW0uRJjWUPEp i0= X-UI-Out-Filterresults: notjunk:1;V03:K0:8/kc1E2IjVI=:Xc4WvUDlpjq+YX7OfoICXE 2aog8YIxN0OPl7YNJoVhz5nUCmGgWpHnf0emE25zG+9tZfeNINIkqQ0Z8POVcK3b3B5P28lH0 56giTQYpOPH78GgX00AkLjQn/MYQudP0bY1GQKGFIKZp4rOKxb2Yv5OuJ4Q2Am2Y4lME2RNGV YusLiE9LOidj4ifRW7OxiaRj5Yyr5SjJ2Qhixo2vAZDX6V0HMlCYeW9U9NIdTGNsQK9595XE0 TsSyFSNLAIjCLBQWXiRXhCm956POEcLMpEdEIBdJ+hsxs2tpGQtSSeieOT0BhAVbKc8ahoL3N 8hu+R+Xjj7pWJiklwlMO7+MBJ0Fj+1eesApld2hHs5Or69J+kmMGlluTndt3nDwKLD9x/+4pm 88DwbS8xcGB5vnnuMJHGhzXc8KC7/riXsT1RLaoAjpXxv2MDjLdIWWet9p1qhSDv3gEmAmgXQ yVxX6p3ItR8xXndkPwgF4gV6t+ldcr4ABnNmpVKQdo3GHc0h8nRC6GiYoTn1zD+cTdMkV78N/ aYNflg4ppgm1Q/k4eQOSTjgG6QDN7dM2U955DPlfzIhJGYqyqTwcAjUq13RzfvMIJvWWu37e1 A07qJEHF6rCMYSHEcfgoQZVS1SGkw0Nl532sRsA/PShzY97LmXullMk7TzoijqfWTFAO1owTJ 7thE3rGLlf+KkotxWpOkyXyC7fThkWfqQdlkIaTo8cfIfK8KlObpDh/zyLvQFnk1rGEDLscNh 8ePn9YfJv3E+XbWgo9Z88wxQlr+7uBUtoM5ITxfCAXIBmDNtjsaYRjeosptRZkQ+mjh6M9RA Received-SPF: pass client-ip=212.227.17.20; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:294972 Archived-At: > Sent: Friday, September 09, 2022 at 1:47 AM > From: "Eli Zaretskii" > To: "Christopher Dimech" > Cc: jaopaulolc@gmail=2Ecom, emacs-devel@gnu=2Eorg > Subject: Re: Contributing to Emacs > > > From: Christopher Dimech > > Cc: jaopaulolc@gmail=2Ecom, emacs-devel@gnu=2Eorg > > Date: Thu, 8 Sep 2022 14:12:01 +0200 > >=20 > > @Eli, a pleasant thing would be to mention the commands for window and= frame > > related scaling in the documentation of "text-scale-increase" and "tex= t-scale-decrease"=2E >=20 > They are mentioned in the doc string of text-scale-adjust, which is > the preferred user interface for this=2E What I get is the following=2E I do not see any reference for the functio= nality that scales text in response to window resizing=2E -------- text-scale-adjust is an autoloaded interactive byte-compiled Lisp function in =E2=80=98face-remap=2Eel=E2=80=99=2E It is bound to C-x C-0, C-x C-=3D, C-x C--, C-x C-+=2E (text-scale-adjust INC) Adjust the height of the default face by INC=2E INC may be passed as a numeric prefix argument=2E The actual adjustment made depends on the final component of the keybinding used to invoke the command, with all modifiers removed: +, =3D Increase the height of the default face by one step - Decrease the height of the default face by one step 0 Reset the height of the default face to the global default After adjusting, continue to read input events and further adjust the face height as long as the input event read (with all modifiers removed) is one of the above characters=2E Each step scales the height of the default face by the variable =E2=80=98text-scale-mode-step=E2=80=99 (a negative number of steps decreas= es the height by the same amount)=2E As a special case, an argument of 0 will remove any scaling currently active=2E This command is a special-purpose wrapper around the =E2=80=98text-scale-increase=E2=80=99 command which makes repetition conve= nient even when it is bound in a non-top-level keymap=2E For binding in a top-level keymap, =E2=80=98text-scale-increase=E2=80=99 or =E2=80=98text-scale-decrease=E2=80=99 may be more appropriate=2E Probably introduced at or before Emacs version 28=2E1=2E