From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: daniela-spit@gmx.it Newsgroups: gmane.emacs.help Subject: Re: Making windows have same number of columns Date: Thu, 26 Nov 2020 22:19:48 +0100 Message-ID: References: <87wny8t89u.fsf@gmx.net> <87o8jkt0c0.fsf@gmx.net> <87k0u7udo1.fsf@gmx.net> <87czzzucqt.fsf@gmx.net> <878sanuafx.fsf@gmx.net> 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="36602"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Help Gnu Emacs To: Stephen Berman Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 26 22:20:13 2020 Return-path: Envelope-to: geh-help-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 1kiOgX-0009Qq-4p for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 26 Nov 2020 22:20:13 +0100 Original-Received: from localhost ([::1]:47824 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kiOgW-0004c1-6u for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 26 Nov 2020 16:20:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58846) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiOgC-0004br-Lv for help-gnu-emacs@gnu.org; Thu, 26 Nov 2020 16:19:52 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:55185) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiOgA-0003Hc-Rm for help-gnu-emacs@gnu.org; Thu, 26 Nov 2020 16:19:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1606425588; bh=+ok2drCi3lBN4XKUhG27WNMifRsCvItB8yacF26geNE=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=hHXPt+DiAtd75J58Xvc5O9DWUwJjaG0V4WiQ80cwgakuTF6TnDk4mi+aNrXtHzout q/3sAIW7TWhgbUgYEC5Qi5O81VwPLc1j/PlzT5vpCpbtDGYJTeBWtdTntEHfNTrQhM oqD+ZzcnmqaHmZRd8YM04Z+uVJk1b7Cn29DJh3xI= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs06.server.lan [172.19.170.174]) (via HTTP); Thu, 26 Nov 2020 22:19:48 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <878sanuafx.fsf@gmx.net> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:imy0wW3NwIqy5ZOW7j8e7PCmLOAYQWe0AW2lyYSzVyGNVA2DYwhuRNgNDrPG7hLajh3Kl s4TxiBd+Ppls4tY0KqY4vmtAkHUhDPp0vwtxw8N+Wx3gI5tEggEptLI4IWr2Q6ih9yqwakMUVLwK joz47dAy64rwQAfMsyHKWda3R1/f3Q9p9DVuNTnCfTxUMwG7NaWFqeDnUFz4ovWmymmPJUzCDWNK vKeF+m1I+6GUvoIuAUfxszNyFM8Ol/zUJ46rMrtaZ/otHQqqY/zLeCN1dn9Da4XtjtSw8W0Z9xZd Es= X-UI-Out-Filterresults: notjunk:1;V03:K0:SmbhrxU7v0A=:tFXk+1+7GM0uoiNrEwcd4v DD6D7MZAPYxWD75zxknLFbcW2GqXek3NirDijAKJtJZeQzfO49qlPEeM7idvyc7jEDt1rCHjn UvvYpAgtkUUI0f61HWRk3qSVZiPYXboD5TRURbjy97qKnj+h69G2e4EjqOXgxxYTizbWt0R25 hyisZRJAJ4meqC7+iAb+ME17Zv5PhUxsPu+AGrTtObLLpbXCXBfoXygwVzIYwqeV+ec6KsZjZ UBH2v5qMyHzquAnp2ZbGaZhC775k9qcblxgLhplUFmEluUVzBnUBu5KucOdRJL9InRs8PjKAq V0ziVmggJVrSU1c/VXKk3qBGzj8vHDXaqaUK5/sx6mBQNpKmEXg56gh4H4GsmTAx3cRD0WJbW eJ7hgnEKxwOoAc/c4cM2kwW0jJla5n5LjgGTgSIrFz1kIlUe9qb9xjj94xule6c+EoKJJdfmu I5so9yLYfemM3B60bYaBxojzbGDqp7100i5hpBcxC9I69q6qm+TnOElsmCHh1xB3l4QgkhpAr fr6HDKBL5lah6mjuSzoa9x+TGylxYp6fJn5P6tg0Mv7TIKC/G5uDTlv4Dy76sOqssOs7vg6+t ozOIEDQavMTGo= Received-SPF: pass client-ip=212.227.15.18; envelope-from=daniela-spit@gmx.it; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:125592 Archived-At: A solution could be to make a defun that performs (text-scale-adjust -) until (window-body-width) is less than a number N. > Sent: Thursday, November 26, 2020 at 9:31 PM > From: "Stephen Berman" > To: daniela-spit@gmx.it > Cc: "Help Gnu Emacs" > Subject: Re: Making windows have same number of columns > > On Thu, 26 Nov 2020 21:22:28 +0100 daniela-spit@gmx.it wrote: > > >> You can try customizing text-scale-mode-step to a smaller value, thou= gh > >> there's not a great deal of leeway, since its default value is 1.2 an= d > >> it has to be >1.0 to have an effect. You might try 1.1 or even a bit > >> less and see if that gives you more control. > > > > Have tried it out and things are a bit better as it does not scale too= much. > > Once I do the scaling, is there a way to determine now many columns ar= e visible > > in a buffer? > > M-: (window-body-width) > > Steve Berman >