unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: daniela-spit@gmx.it
To: Stephen Berman <stephen.berman@gmx.net>
Cc: Help Gnu Emacs <help-gnu-emacs@gnu.org>
Subject: Re: Making windows have same number of columns
Date: Thu, 26 Nov 2020 22:42:57 +0100	[thread overview]
Message-ID: <trinity-e7d74d6e-28c0-4c20-aea4-b768c1337bdc-1606426977499@3c-app-mailcom-bs06> (raw)
In-Reply-To: <878sanuafx.fsf@gmx.net>

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
>



  parent reply	other threads:[~2020-11-26 21:42 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-26 14:43 Making windows have same number of columns daniela-spit
2020-11-26 16:03 ` Stephen Berman
2020-11-26 16:18   ` Stephen Berman
2020-11-26 17:16   ` daniela-spit
2020-11-26 18:26   ` daniela-spit
2020-11-26 18:55     ` Stephen Berman
2020-11-26 19:01       ` daniela-spit
2020-11-26 19:21         ` Stephen Berman
2020-11-26 19:30           ` daniela-spit
2020-11-26 19:41             ` Stephen Berman
2020-11-26 20:22               ` daniela-spit
2020-11-26 20:31                 ` Stephen Berman
2020-11-26 21:19                   ` daniela-spit
2020-11-26 22:05                     ` Stephen Berman
2020-11-26 23:01                       ` Drew Adams
2020-11-26 23:07                         ` daniela-spit
2020-11-26 23:55                           ` daniela-spit
2020-11-27  0:51                             ` Drew Adams
2020-11-27  1:03                               ` daniela-spit
2020-11-27 15:37                       ` Stephen Berman
2020-11-26 21:42                   ` daniela-spit [this message]
2020-11-27 20:40                     ` Michael Heerdegen
2020-11-26 19:33           ` daniela-spit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=trinity-e7d74d6e-28c0-4c20-aea4-b768c1337bdc-1606426977499@3c-app-mailcom-bs06 \
    --to=daniela-spit@gmx.it \
    --cc=help-gnu-emacs@gnu.org \
    --cc=stephen.berman@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).