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:42:57 +0100

Have started with the following, but when I execute it, nothing happens.

(defun typh-text-scale ()
   (interactive)
   (setq width (window-body-width))
   (while (< width 72)
     (text-scale-adjust -)
     (setq width (window-body-width)) ))

> 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]