From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.help Subject: Re: Making windows have same number of columns Date: Thu, 26 Nov 2020 20:21:50 +0100 Message-ID: <87k0u7udo1.fsf@gmx.net> References: <87wny8t89u.fsf@gmx.net> <87o8jkt0c0.fsf@gmx.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22871"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Help Gnu Emacs To: daniela-spit@gmx.it Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 26 20:23:34 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 1kiMre-0005qk-9G for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 26 Nov 2020 20:23:34 +0100 Original-Received: from localhost ([::1]:59740 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kiMrd-0002a3-7w for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 26 Nov 2020 14:23:33 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34732) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiMqD-0002KN-UP for help-gnu-emacs@gnu.org; Thu, 26 Nov 2020 14:22:07 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:35833) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiMq6-0003I9-F2 for help-gnu-emacs@gnu.org; Thu, 26 Nov 2020 14:22:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1606418515; bh=NXJZcE1EyEDzL/BQfeozDuLSKcho/36TDXPqSgUx6Bo=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=bClMadyemBzHl28e2E68Qk3J8CYY9Fpj4xCGqgrxXOR6J34+tMaqj3jtfbVnb4yaw 0s1CQs2UzuMihvMBi3RlOXJgyVKeIdRmMRHyNqHICYHPXxssP3ci+VJS7C1cm4onCL jvTYiWMyH4WG+X5O6iY0JRBjjgE9WwzAZn9Lqoog= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from strobe-jhalfs ([188.109.147.66]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MWih0-1kgIQc46Z6-00X3v3; Thu, 26 Nov 2020 20:21:55 +0100 In-Reply-To: (daniela-spit@gmx.it's message of "Thu, 26 Nov 2020 20:01:24 +0100") X-Provags-ID: V03:K1:HJQvPlTK0xMl6/U2qQLJsgxIF7j9jJlMqPgtRl6qkGdJGpB5YGf N7rciDKH4myTchnC6SainjxfJoUqd2KCfV4TD3DoSTPLZ1v+xN+lj/xvlCQ4/ta23Kxy5+c YKgOASh2rM8eUYGrDBD99Dm+/0MRY0rESiBeYN3XSjwdGnJBR0KvPZbtpoWSMvAKy1ZEyOq yDe3U4W725b9DazGy81+Q== X-UI-Out-Filterresults: notjunk:1;V03:K0:sY3Npxobl4c=:P3hw1Km0YRjxH+0LBEfbBz boHWP+kJ81VhwKy8i7xHwp7BDVYbHC+Y5jHJr5UZEz9LTef7C/cBs/TQDmA742GqpkZVdH78l bbSSJmLAjJE6LyaqWZ96rSTAw7Ln31KySqwhh0VuXxgE180NWe4qyv5lTb8DBPAEdn/buxdZd jk5jm082UZ/u6uSYmFBkQM1yFe1+nuvDdW/6NAXIpXGMSYvuN5gmRbbR3d9urj/zADgWHzXvA LlIEUA0IINR0WAi1yklcxLx4l9vEb5E5T5HGhffhwMjtsjpdaQhyAScb5sJ5qp6A+7E596T8b ndhYCbe7FUt97waivW6/7/lXkEU3m1elfJbAOHR5rA7tGZuTBu8psAteIqYSH5TFnrEbaw9GW IF2ZDaBiejBFX6jAhDicA/kXpVrV2AYK21Cgexqnr/r6I0nUXWqgvPTcZDiWcxORIUbVdR+Ui i3CgQTimob/MpylMM6MSIBa7TpGcF/3nRe69a/kIUduG4ruwDphiM9uGdfF7NW4kwl+CYvYhF 72YtG3eonSf0IPqOa8d91FoJrZT90x9UnKu79i8C0ROIhrFaegHnTj+PBIZiembobtVfskp8a vyGy+9/+WYU3hBrvOIT+wZdjbdBvxYNv1clceObAc0Lm5Nj7+tJO5ua0KIypnqtvpIQvHuPpA rk30Qt3iE32vVf4xRDI/EfLCj9vrAN3BQ1GSNWajnoE5zhfhgKnGdw5n47sL4uieSYG1bF0vc SF06YEYD7FwUqO4IaSJlamWYEZGP+1zLk/7Hm8a9EDllwhyFLO4aNW060xtDDfsxoyCKnGQ0 Received-SPF: pass client-ip=212.227.15.15; envelope-from=stephen.berman@gmx.net; helo=mout.gmx.net X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:125579 Archived-At: 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 specific > 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. Steve Berman