From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#59122: 29.0.50; global-text-scale-adjust not working Date: Wed, 09 Nov 2022 15:40:57 +0200 Message-ID: <83v8notfdi.fsf@gnu.org> References: <0405c6f70ee5bc26c9fd@heytings.org> <5e251f240fbcc9fa98f5@heytings.org> 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="29750"; mail-complaints-to="usenet@ciao.gmane.io" Cc: salutis@me.com, gregory@heytings.org, 59122@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 09 14:42:27 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 1oslLW-0007e1-V1 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Nov 2022 14:42:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oslLE-0005Ot-FP; Wed, 09 Nov 2022 08:42:08 -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 1oslLA-0005LP-Mr for bug-gnu-emacs@gnu.org; Wed, 09 Nov 2022 08:42:06 -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 1oslLA-0001fo-DJ for bug-gnu-emacs@gnu.org; Wed, 09 Nov 2022 08:42:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oslL9-0003IA-8d for bug-gnu-emacs@gnu.org; Wed, 09 Nov 2022 08:42:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Nov 2022 13:42:03 +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.166800127312567 (code B ref 59122); Wed, 09 Nov 2022 13:42:03 +0000 Original-Received: (at 59122) by debbugs.gnu.org; 9 Nov 2022 13:41:13 +0000 Original-Received: from localhost ([127.0.0.1]:39317 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oslKK-0003Gc-TC for submit@debbugs.gnu.org; Wed, 09 Nov 2022 08:41:13 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47118) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oslKE-0003Fi-Ij for 59122@debbugs.gnu.org; Wed, 09 Nov 2022 08:41:10 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oslK9-00006W-9v; Wed, 09 Nov 2022 08:41:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=WB9Mmcy6xVNIjZcjzwa4letOVic9hngxSfuSEYY4xRM=; b=OZWh4cavQ0laMSgfh0Lp Sz7CQe2g7N64tAFknc2mKQM5LI4k2NPpjmfighIWVAFcYguHFU2AWPOf8JY9mbm2TiCRIyHDwD7rX vsKqjyLkCsG1iBKTtuMWcNXDNQDnbi7Web8a/8WRezEwdJubBlw1V0Xe0MqOd6Ebcwkj2TdlIzYZ9 fAeR05IKpcgnSBnaP9sW/wvZM3dQrNEOXXLPjoQPVuokSfFrEg+ukEsmBX+tQ4fh5B5Zix+GiUtm6 k9ECEF7GbDNpU1FkHO90GIPUJLkVaqssSrCaN/N5PEWMqrFmumjaFfAbh2s8g/qAyMScYEY2B7JAq BTmBlyJMC9uCpQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oslK8-0001WA-Bb; Wed, 09 Nov 2022 08:41:01 -0500 In-Reply-To: (message from Stefan Kangas on Wed, 9 Nov 2022 14:28:54 +0100) 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:247408 Archived-At: > Cc: 59122@debbugs.gnu.org, Rudolf Adamkovič > From: Stefan Kangas > Date: Wed, 9 Nov 2022 14:28:54 +0100 > > I can reproduce this bug on macOS 12.6.1 (OP is on 12.6). > > After pressing '+', '-' still doesn't decrease the font size. I can > only increase it using '+'. 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)) (echo-keystrokes nil) (cur (face-attribute 'default :height)) (inc (pcase key (?- (* (- increment) 5)) (?0 (- global-text-scale-adjust--default-height cur)) (_ (* increment 5))))