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:33:32 +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="28892"; 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:34:30 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 1kiN2E-0007Oa-Ee for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 26 Nov 2020 20:34:30 +0100 Original-Received: from localhost ([::1]:34636 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kiN2D-0004kl-Fj for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 26 Nov 2020 14:34:29 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36564) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiN1M-0004kX-6i for help-gnu-emacs@gnu.org; Thu, 26 Nov 2020 14:33:36 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:49273) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiN1K-0007EF-Fb for help-gnu-emacs@gnu.org; Thu, 26 Nov 2020 14:33:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1606419212; bh=rPSfAYllgymP8Jm9nF7FWrI+USkKODr3xCo6uQvVjac=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=LR/7YFV7PAZu8qfAHY4teC0Z4ToxK1fr9s/d8x5pkrCroCuRTbncFuOlQulArr8wh QHfwHhRZshhtxQPqItvpWjRrTj4JUFN2FX4XbOoBy9c4sVUxM11k8nXMipm30/Rww4 DaRppamhBG8r0XMMbHSD9iUZSUAeRUx7KDrLqTeI= 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:33:32 +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:SzUkZNgcnNOBQ5q5JOY8EcOyZG4d1w3hfpMvKmvHAmTwz00q4eeMdNB2ZDQV3W6jbt5Xs zGrhMVDXtCQdm6LLxSpCbEf4TPklZsXengYopDcsUZHcbG03MGPeQep04iucnGS6Jo745BxaEAGi Qm7ROgyUEFOcM9u3tcv/w3Sdf1QaVHntvuxrVwIwIrdmDd+UYSdjHLHeOk8/RMJQLrhSf39JrlWc o0CASRcoiBIVNe4kr6UQY/zIJvaZBIJsqmJghwp5xwhi2l4CKJNwcasr33xOChFcFyClnTIYtfM0 NE= X-UI-Out-Filterresults: notjunk:1;V03:K0:L0z8HItF9OE=:WOKs49PkS2ETRbGsYWvFrA 1F0Bf/ImFpdsV0URmaXyUJHOaZHvpD2aL0KE/1Ysl4qAY4uQaDbAg6uE/ZrNqacfBLbgzL9jm Xp6s599pxkiET7T2cqP0IPj1J8P2IoGD1V2dTeN9AP7+/llt0KTaAtc7KF1x8Q98KwP8iGOhY OytaVdlbWJbt/pxZWVqeH4eIJtD8UyKf/Kv3FPA3m6I2VplG+3sIp+uqFpLL4Nl8p1D+bKx9j 5YS4nuIu5tBcFC9dXoYZpCch/hVtkZs7seMIMqiFeZKDPWmCt7bAsboyfkcDNFMrL1WH0eIbp mdcRx552xfmQHwWIFkJ8Y31MkTDzJkKOVol8lkF/N7doXmWKTwPP9dYxQldgr4X6/RhLzO8OD udKQExEmiLNDF89OK5Cv0CikwoRQ9X73jT4x5cmlBy12Kz1b3sN5OwAHh/I7dHHR3VzooxFWS jgmYmiPOHZenE0V+2wquH88WygwkDz9h1lWlnEtp/GUu2UwoSB32V22YiPM5OlOpODfKsoOA1 fn0Hpgo5iBGteE2T810UGbxsOkOoM9cY54Z5BatcF149wUVPddQGmE40mvan7I9z3EOQcxcV/ MfX8dIOrk6QGw= Received-SPF: pass client-ip=212.227.17.20; 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:125581 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. No, you can't. But that not what I am after. What I need is text-scale-a= djust that gets as close as possible to fitting n characters, 55 say. > Steve Berman >