[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 7e387c9: * lisp/man.el (Man-width-max): New defcustom (bug#32
Re: master 7e387c9: * lisp/man.el (Man-width-max): New defcustom (bug#32536, bug#9385)
Mon, 09 Dec 2019 05:30:01 +0200
> From: Juri Linkov <address@hidden>
> Cc: address@hidden
> 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.
ChangeLog styles (was: master 7e387c9: * lisp/man.el (Man-width-max): New defcustom (bug#32536, bug#9385)), Juri Linkov, 2019/12/08