all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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 20:33:32 +0100	[thread overview]
Message-ID: <trinity-83a09627-dd35-4052-b826-532edcfa3d7f-1606419212689@3c-app-mailcom-bs06> (raw)
In-Reply-To: <87k0u7udo1.fsf@gmx.net>



> Sent: Thursday, November 26, 2020 at 8:21 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 20:01:24 +0100 daniela-spit@gmx.it wrote:
>
> >> Sent: Thursday, November 26, 2020 at 7:55 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 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 <C-mouse-4> (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-adjust
that gets as close as possible to fitting n characters, 55 say.

> Steve Berman
>



      parent reply	other threads:[~2020-11-26 19:33 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
2020-11-27 20:40                     ` Michael Heerdegen
2020-11-26 19:33           ` daniela-spit [this message]

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

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

  git send-email \
    --in-reply-to=trinity-83a09627-dd35-4052-b826-532edcfa3d7f-1606419212689@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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.