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: [External] : bug#48307: Feature request: provide default keybindings to change the font size in all windows Date: Sun, 9 May 2021 18:30:14 -0400 Message-ID: <5f5b47ff-92bc-7b77-77de-a1ebc4f80002@gmail.com> References: <603bbc01-b1a2-b367-f54e-59a57475cbfe@gmail.com> <83h7jc8gep.fsf@gnu.org> <7a86c15a-cc21-6df8-f1fa-c0359ce25c27@gmail.com> <8335uv99fw.fsf@gnu.org> <83tunb7sj9.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="16034"; 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 , Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 10 00:31:13 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 1lfrxB-00042q-33 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 10 May 2021 00:31:13 +0200 Original-Received: from localhost ([::1]:32896 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfrx9-0006zd-Cz for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 09 May 2021 18:31:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51308) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfrx0-0006yR-FD for bug-gnu-emacs@gnu.org; Sun, 09 May 2021 18:31:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45221) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lfrx0-0007yw-71 for bug-gnu-emacs@gnu.org; Sun, 09 May 2021 18:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lfrwz-0007Fd-Vd for bug-gnu-emacs@gnu.org; Sun, 09 May 2021 18:31: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 22:31:01 +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.162059942427783 (code B ref 48307); Sun, 09 May 2021 22:31:01 +0000 Original-Received: (at 48307) by debbugs.gnu.org; 9 May 2021 22:30:24 +0000 Original-Received: from localhost ([127.0.0.1]:56767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfrwN-0007E3-9j for submit@debbugs.gnu.org; Sun, 09 May 2021 18:30:23 -0400 Original-Received: from mail-qv1-f41.google.com ([209.85.219.41]:33384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfrwL-0007DS-TP for 48307@debbugs.gnu.org; Sun, 09 May 2021 18:30:22 -0400 Original-Received: by mail-qv1-f41.google.com with SMTP id 5so3532409qvk.0 for <48307@debbugs.gnu.org>; Sun, 09 May 2021 15:30:21 -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=xT4/pCv0mqCbizcWNW2WlNYxJekVeVPMIDoT8LBkW8Q=; b=hEKpArDWAcQw+obvZ0CWuVZJqylCLy++5vXMJVf626fWXYQyLTzteMkHKT7Kz2hbjC DXcHMfJ5dgZC+bWVAHGfguoR/rBiwfPk0lm6by4N/f4z+2VTefdpnTKwOJGhvzfIGA4G 5cWIMHI+NiWH+RRK2zGDXgYX2zFHnyKZs5IdChfKn2ZQ8kTOLMFh2JQbLaRgfhWRULfN rXYlmwWfW5MXP9F1t42Z2QsELaA41Pje06SK+TsHlTspUNrtEOyvWXgnC2NhHA3s6gU1 p714YUvFQ7/oKUUwTgcIH7VLJrrVMUG/ccqo4vVpJfWDqCqozhZyi+mkph2bg8PfvD4U JLaw== 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=xT4/pCv0mqCbizcWNW2WlNYxJekVeVPMIDoT8LBkW8Q=; b=cEek6STY4rKlX+QTXqR0Ugp3dHWpkf/dIDYAiQsC5t1JZ+N68zijsD9muiUtjkG47y BwZHCgf6ZTlrwnaxIWspi+TfQJ0fG8zPsk0SvEmHLGW4lsWlBNePmKcU/mskeukOnIXN itU1tKjIHT40UziXMRvaLtpfWdFYV1F9iS4Nuhsg0bjUsQn/3x6FTRdhci91nWK+GpvX i4AfUROUC/SmFRgXsAhgPKV1q9CW7NcfoOf2oq5sJKitJw3ufAvCdDJY60EwOfYUJLK/ c9fbjESBWNqx/c45hmhEjddSXmlWkInvpx7m5nUG6a0RX1VqA0dzmeYhnfYvpvtLqdnY P4Zw== X-Gm-Message-State: AOAM5338g2aNvQBud9V6G5pKEYLDnHvyopdULLbU3jKX5sdna+PH5KZA ODkgeIBMGLwVk+Ois6ChSaniLYIeVBU= X-Google-Smtp-Source: ABdhPJweu2JjmsF6IMxPMnBVnnI1Qf6xh3ls/DRIKd1Bkf6bVnmWdabtRRtSTpQ1zdjwvvsrpng7lg== X-Received: by 2002:a05:6214:20c4:: with SMTP id 4mr20495646qve.38.1620599416096; Sun, 09 May 2021 15:30:16 -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 b15sm10777051qtg.82.2021.05.09.15.30.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 09 May 2021 15:30:15 -0700 (PDT) In-Reply-To: <83tunb7sj9.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:206119 Archived-At: On 5/9/21 12:58 PM, Eli Zaretskii wrote: > Of course writing a wrapper for that command whcih is bound to mouse > wheel with some modifier should be trivial if that's the main issue > here; patches welcome. I thought the request was for a non-existing > feature, so I pointed out that it already exists. Sorry, it sounds like the original request was unclear. Drew's description is pretty good. The request is specifically for a new keybinding; it may well be that the code that goes behind it is trivial. I'd love to provide a patch, but I have no idea what it should say. I've counted 5 different implementations of the functionality (6 now with Gregory's). All are acceptable, and I don't know enough about Emacs' fonts to judge which one is best, or whether they're all equally reasonable (for example Gregory uses set-face-attribute, and Steve uses face-spec-set in default-text-scale.el). On 5/9/21 12:08 PM, Eli Zaretskii wrote: > In fact, given that we already have that menu item, it could be argued we > already have the feature implemented. Almost, yes. What we're missing are commands for incrementing and decrementing the size interactively; we only menu-set-font. It's indeed what I recommend that people use when they ask. It's pretty good, even though sometimes (depending on how the user configured fonts in the first place) it starts with the wrong size and font, so you have to scroll through the list. Sorry for not mentioning menu-set-font explicitly in the original message.