all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: Re: master 7e387c9: * lisp/man.el (Man-width-max): New defcustom (bug#32536, bug#9385)
Date: Mon, 09 Dec 2019 05:30:01 +0200	[thread overview]
Message-ID: <83v9qqch1i.fsf@gnu.org> (raw)
In-Reply-To: <87eexe33pn.fsf@mail.linkov.net> (message from Juri Linkov on Sun, 08 Dec 2019 23:41:28 +0200)

> From: Juri Linkov <juri@jurta.org>
> Cc: emacs-devel@gnu.org
> Date: Sun, 08 Dec 2019 23:41:28 +0200
> 
> > Bother: both frame-width and window-width return values in units of
> > the canonical character width, which will not change if the default
> > face is remapped.  And you are using the value to set the COLUMNS
> > environment variable, so you could get too wide lines, which will not
> > fit within the window.
> 
> This code is not new.  It was moved here from another function.
> I don't know how to implement support for variable-pitch fonts
> in the Man-mode buffers.  Maybe not to set COLUMNS at all, but
> then call fill-paragraph on the output.

I wasn't thinking about variable-pitch fonts, I was thinking about the
default face being remapped, which can be easily tested.



  reply	other threads:[~2019-12-09  3:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-08 18:03 master 7e387c9: * lisp/man.el (Man-width-max): New defcustom (bug#32536, bug#9385) Eli Zaretskii
2019-12-08 21:41 ` Juri Linkov
2019-12-09  3:30   ` Eli Zaretskii [this message]
2019-12-09  9:20     ` martin rudalics
2019-12-09 13:30       ` Eli Zaretskii
2019-12-09 16:01         ` martin rudalics
2019-12-08 21:45 ` ChangeLog styles (was: master 7e387c9: * lisp/man.el (Man-width-max): New defcustom (bug#32536, bug#9385)) Juri Linkov
2019-12-09 13:07   ` Eli Zaretskii

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=83v9qqch1i.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=juri@jurta.org \
    /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.