GNU bug report logs -
#70213
Info-mode side window fit-window-to-buffer issue
Previous Next
Reported by: Joseph Turner <joseph <at> breatheoutbreathe.in>
Date: Fri, 5 Apr 2024 09:04:02 UTC
Severity: normal
Tags: notabug
Fixed in version 30.0.50
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Stephen Berman <stephen.berman <at> gmx.net> writes:
> Ah, ok. I somehow overlooked the fit-window-to-buffer part in your OP,
> although it is in the bug Subject line -- though with my post-Jan 6
> build from master, that's only problematic with
> fit-window-to-buffer-horizontally set to t, as in your above recipe.
> But with fit-window-to-buffer-horizontally set to t, I see that the
> window displaying *info* is not quite fitted to the buffer (e.g. in the
> initial dir node the line "In Emacs, you can click mouse button 2 on a
> menu item or cross reference" wraps after the third "e" in "reference"
> (column 70)), even if the frame is wide enough to display the entire
> buffer. I see this both with and without your patch; but with
> fit-window-to-buffer-horizontally set to nil, then there is no line
> wrapping (as long as the frame is wide enough). This seems to be a bug
> in the use of fit-window-to-buffer-horizontally.
Thank you for being gracious about my confusing report :)
On my machine, the following snippet:
(progn
(setq fit-window-to-buffer-horizontally t)
(setq display-buffer-alist
'(((derived-mode . Info-mode)
display-buffer-in-side-window
(side . right)
(window-width . fit-window-to-buffer))))
(info)
(window-width))
without the patch evaluates to 6
with the patch evaluates to 71
What happens on your machine?
Joseph
This bug report was last modified 1 year and 38 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.