help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making windows have same number of columns


From: daniela-spit
Subject: Re: Making windows have same number of columns
Date: Thu, 26 Nov 2020 22:19:48 +0100

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" <stephen.berman@gmx.net>
> To: daniela-spit@gmx.it
> Cc: "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
> 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, though
> >> there's not a great deal of leeway, since its default value is 1.2 and
> >> 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 are 
> > visible
> > in a buffer?
>
> M-: (window-body-width)
>
> Steve Berman
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]