From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: dimensions when doing text-scale-increase, and including minibuffer in text-scale-increase Date: Mon, 23 Dec 2019 15:23:56 +0200 Message-ID: <83mubjxjir.fsf@gnu.org> References: <83blsgas50.fsf@gnu.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="58037"; mail-complaints-to="usenet@blaine.gmane.org" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 23 14:24:25 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ijNhB-000Exj-LJ for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Dec 2019 14:24:25 +0100 Original-Received: from localhost ([::1]:56914 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ijNh9-0005ts-S4 for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Dec 2019 08:24:23 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46590) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ijNh0-0005ta-7c for help-gnu-emacs@gnu.org; Mon, 23 Dec 2019 08:24:15 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:55958) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ijNh0-0005cH-4V for help-gnu-emacs@gnu.org; Mon, 23 Dec 2019 08:24:14 -0500 Original-Received: from [176.228.60.248] (port=4145 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ijNgz-0007XB-KX for help-gnu-emacs@gnu.org; Mon, 23 Dec 2019 08:24:13 -0500 In-reply-to: (message from Samuel Wales on Sun, 22 Dec 2019 14:05:10 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:122087 Archived-At: > From: Samuel Wales > Date: Sun, 22 Dec 2019 14:05:10 -0700 > Cc: help-gnu-emacs@gnu.org > > i could not find a buffer switch hook. I think you want window-configuration-change-hook. > however, i can't seem to find minibuffer or echo area buffer in the > buffer list: > > (dolist (buffer (buffer-list)) > (with-current-buffer buffer > (text-scale-increase amount))) > > works for only regular buffers. i presume they are supposed to be > done separately? Not sure, but buffer-list definitely returns minibuffers as well. > i noticed that (default-font-width) is not in emacs 24. i presume it > got added in a later version. Yes, in Emacs 25.