From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#59122: 29.0.50; global-text-scale-adjust not working Date: Wed, 9 Nov 2022 15:35:31 +0100 Message-ID: References: <0405c6f70ee5bc26c9fd@heytings.org> <5e251f240fbcc9fa98f5@heytings.org> <83v8notfdi.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37002"; mail-complaints-to="usenet@ciao.gmane.io" Cc: salutis@me.com, gregory@heytings.org, 59122@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 09 15:36:39 2022 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 1osmBy-0009Nr-SY for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Nov 2022 15:36:38 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1osmBQ-0005wK-8I; Wed, 09 Nov 2022 09:36:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1osmBP-0005vM-6o for bug-gnu-emacs@gnu.org; Wed, 09 Nov 2022 09:36:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1osmBO-0007dh-T6 for bug-gnu-emacs@gnu.org; Wed, 09 Nov 2022 09:36:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1osmBO-0006qV-Ov for bug-gnu-emacs@gnu.org; Wed, 09 Nov 2022 09:36: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: Wed, 09 Nov 2022 14:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59122 X-GNU-PR-Package: emacs Original-Received: via spool by 59122-submit@debbugs.gnu.org id=B59122.166800455026290 (code B ref 59122); Wed, 09 Nov 2022 14:36:02 +0000 Original-Received: (at 59122) by debbugs.gnu.org; 9 Nov 2022 14:35:50 +0000 Original-Received: from localhost ([127.0.0.1]:39409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1osmBC-0006px-0q for submit@debbugs.gnu.org; Wed, 09 Nov 2022 09:35:50 -0500 Original-Received: from mail-oi1-f173.google.com ([209.85.167.173]:44826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1osmBA-0006pm-Lm for 59122@debbugs.gnu.org; Wed, 09 Nov 2022 09:35:48 -0500 Original-Received: by mail-oi1-f173.google.com with SMTP id n83so18953593oif.11 for <59122@debbugs.gnu.org>; Wed, 09 Nov 2022 06:35:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=o+2qusMdT3siVh4CJO93ueQ68kpdf1mQRoFOxYf9Voo=; b=bJz5kpHa4LxX/3GQEx4e1O6YKPeaXHq17NLH3B1ARwjzMGS9Q5du4LHKYAGKlrJlQ0 4GGYULJSbb01nCyntgutdLmml73BnC1gMXFYqurGlwFzzmnQevpIgBymYD+U6aJdllJT IILhoBGwDsx8We9ZG7PBZRyQTeiMJY23JP0EcnN9BmkdIU1Djj129D4XSV89TLTfRboH Z2yBWe8AK9rZY8ZFoz917HbwhRmV51jNDBtRJq+5kZ36Cj8zM3t83xytJnV502OGkJdC IDqXCCumlwbSWSMbjzRTH+LFx3KpoSkZ/3EBJ7r4y1c4tP32rLLMeGEZL4x+eU/bS+7a sw0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=o+2qusMdT3siVh4CJO93ueQ68kpdf1mQRoFOxYf9Voo=; b=OXCQMdaYMFJLdh6G3FBb1VG7kw+Q5vxwXkhqG9TxR3XStz6Mam7CZ0QxQCAEsyqC0g ZyGVpnINSYXhs4Rj0U4hEe+6wBzxBpdnxDx/e07sSPMAguYt1p08rjvYvCPIudBpfYam NEPBzTL4syweJTIIOmBl12rHap74Y74wSFbbQHdPnZPAyS4F5T2OzWGUxZlOSbhIrBLO DfzWoFOoG3GbwQ3pfD3cIsF59VijtphKdUBG44Vsu2wboJGq+hXluC9PtgJ8WulkgNuG NP3TpDv6NteLrglXvH9ChvLbXq4m4fa9yRC+eE2B4Uk9cD09LmLNQWHpv/Tp1BIxpvLq BOfA== X-Gm-Message-State: ACrzQf2k0re+G59LzIPKs3IXhYcgcoLlY7LpkYDuoSwGqhFqDYFs9ULI j47V8CTgtmrSWRlVNgMdKB8fmsjpXyTh/k474IM= X-Google-Smtp-Source: AMsMyM5RPXQvC3QN22qXIkKHpDKybxRm5hE3oxUSHqfr5Fwbsq3/xkIhVDj04XzjUjIsnXjKBVS/sHj2F1dVi51QALo= X-Received: by 2002:a05:6808:1186:b0:353:b77a:a481 with SMTP id j6-20020a056808118600b00353b77aa481mr41619001oil.199.1668004543153; Wed, 09 Nov 2022 06:35:43 -0800 (PST) In-Reply-To: <83v8notfdi.fsf@gnu.org> 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:247419 Archived-At: Eli Zaretskii writes: > Please step with Edebug into global-text-scale-adjust, and tell what > do you see in the variable 'key' in the following fragment from the > command: > > (let* ((key (event-basic-type last-command-event)) On the first invocation of 'global-text-scale-adjust': last-command-event: 13 (#o15, #xd, ?\C-m) key: 109 (#o155, #x6d, ?m) When I then type '-', I see: last-command-event: 45 (#o55, #x2d, ?-) key: 45 (#o55, #x2d, ?-) > (echo-keystrokes nil) > (cur (face-attribute 'default :height)) > (inc > (pcase key > (?- (* (- increment) 5)) > (?0 (- global-text-scale-adjust--default-height cur)) > (_ (* increment 5))))