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 20:30:46 +0100 Message-ID: References: <87wny8t89u.fsf@gmx.net> <87o8jkt0c0.fsf@gmx.net> <87k0u7udo1.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="17018"; 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 20:31:55 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 1kiMzj-0004MF-27 for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 26 Nov 2020 20:31:55 +0100 Original-Received: from localhost ([::1]:33382 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kiMzi-00041D-4E for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 26 Nov 2020 14:31:54 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiMyh-00040t-Kk for help-gnu-emacs@gnu.org; Thu, 26 Nov 2020 14:30:51 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:33073) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiMye-0006P7-Ok for help-gnu-emacs@gnu.org; Thu, 26 Nov 2020 14:30:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1606419046; bh=F/4OV/o2x3el0+3E7648wNEJv6sCAQadWqS1gCSVI3k=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=hiNV52opGqvH08nTpGDwh+4JvXy48ts5u1VF3KOd9k5PE/0qldVvMiTOfMTnqOPVY Pucw6ZDCRFyjo7EGh9wWSHxQdSpBVnpg5UppTJAKfY+04CGp73tVFMtwlNN9TUEfJN lM2prcjsZkusBibY7t4ROtDJ0lhHuwuhJqscOCzI= 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 20:30:46 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <87k0u7udo1.fsf@gmx.net> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:+uUKzVs54u6Vk+NbpV8yjM+Kdmm4WyWGxVKoLNTH4ofTuaDl9M2qPC2c+IYNZ+LgR/w/p fiGeE/hfXAI0jWfjWQUy7D+WXThfquo968jDJGFKk+OilHWVej82AqsqeV55Le7pAqa1QHipHAR4 YMQNhaqJREPFr8zKCzY5bGi5tj/GHuOqarTRrFq0z7MsFJE8TfDpESaBbZEa5jASm1blmxQB3m/s FJFCJTHAZxOwE72BaQuLNEVCvZR186d2nNJ+uWyYiY2kVpHdnsRFTQ5SXnn7vZ/erZedXeNKtrgp L8= X-UI-Out-Filterresults: notjunk:1;V03:K0:HKue85NBdkY=:zvtxwRXUa6m5ZuWhy7SebA Ugcgj38noH2UlCpx7R+JXrVvJReUiF6yrFbc9y0SNlFg6dpP1hadlLubU1pkHsROQEeRDyN2v DLFVTeP0ulys1qzeaz1xycII8UD5/JSoND/OBjtP9llS8Vm5n5EYyFJIOAAJTXOKV/sERdDFt 5dv7zfVMthYje+VLsjUrVYLjXcxhQeJyT92/UP+yC82Xn44AZybdz3ZV0HHsYfBh1baDYV4Em 22i3WwHABFl4uVpIC10e6ZSPGt6w1m7tRBU1ACyhzkRU39VqeEjfkf80KaSsbs/Oxs8sY/1EV uSMZ6JHbAYsgEB+Q73X4WZebaj9InYjiO28AHJI0tQWZtbQvTylGoYDb1o2q2kOnWPKNGLecV o1IVK70XJ5nJEq89rHMLrmPYlqCsLedPH+v6g3WDdnzAjPCqM90dejhwIUgAriAkQBHEqxn1F gpvJeIUQNAqlbNxpaXiyFO29d5nQuhy3XQccEPoxThnGfOE/4yC+oadFbK+WR7ninYwzr8oDl IDhu0XInHU9TUTNlurIqbS83mleYIalf3LM2xJp/gqGFFx+l8aeg5P/S3yfBnU9ZtOpsQy4+E F7HwFK0vUJgck= Received-SPF: pass client-ip=212.227.15.19; 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:125580 Archived-At: > Sent: Thursday, November 26, 2020 at 8:21 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 20:01:24 +0100 daniela-spit@gmx.it wrote: > > >> Sent: Thursday, November 26, 2020 at 7:55 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 19:26:39 +0100 daniela-spit@gmx.it wrote: > >> > >> > Is there a command to make zoom in and out a window to a specific > >> > number of columns? > >> > >> If you mean widen or narrow the selected window, there's > >> enlarge-window-horizontally and shrink-window-horizontally, bound > >> respectively to `C-x }' and `C-x {'. They both take a numeric prefix > >> argument, so e.g. `C-u 10 C-x }' widens the selected window by 10 > >> columns. > > > > I would like that the window stays the same size, but with the size > > of the text in the window to be such that the window displays a specif= ic > > number of columns. > > I'm not aware of any command or function in Emacs that adjusts text size > according to number of columns. You've mentioned zooming in and out, by > which I assume you mean either `C-x C-+' and `C-x C-' or the > corresponding mouse binding (i.e., holding down the Control > key while scrolling the mouse wheel). But that command is > text-scale-adjust, which actually changes the height of the font, and > correspondingly the width, but AFAIK you cannot make it adjust the font > size by a specific number of columns. Yes, but when you use the scroll wheel you have no real control, one wheel scroll down could get the text too small. I would like a way that stops me fidgeting with the controls and lets me do what I want with simply pressing a key sequence. > Steve Berman > >