unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#2588: 23.0.90; Man buffer improperly formatted - wrong width
@ 2009-03-07  4:22 Chong Yidong
  2009-03-07  4:50 ` Drew Adams
  0 siblings, 1 reply; 43+ messages in thread
From: Chong Yidong @ 2009-03-07  4:22 UTC (permalink / raw)
  To: Drew Adams; +Cc: 2588

> M-x set-variable RET pop-up-frames RET t
> 
> Resize the current frame so that it is, say, only 30 chars wide.
> 
> M-x man RET bash RET
> 
> Buffer *Man bash* is shown in a new frame. The frame has the usual
> default width of 80 chars.  But the text of the buffer is formatted to
> be only 30 chars wide.

Doing what you want is not a trivial to man.el, I think.  You can change
the `Man-width' options if you want to fix the width.






^ permalink raw reply	[flat|nested] 43+ messages in thread
* bug#2588: 23.0.90; Man buffer improperly formatted - wrong width
@ 2009-03-06 20:51 Drew Adams
  2009-03-07 13:58 ` Eli Zaretskii
  0 siblings, 1 reply; 43+ messages in thread
From: Drew Adams @ 2009-03-06 20:51 UTC (permalink / raw)
  To: emacs-pretest-bug

emacs -Q
 
load library cygwin-mount.el, then setup-cygwin.el:
 
http://www.emacswiki.org/emacs/cygwin-mount.el
http://www.emacswiki.org/emacs/setup-cygwin.el
 
Use /bin/bash.exe as SHELL.
 
M-x set-variable RET pop-up-frames RET t
 
Resize the current frame so that it is, say, only 30 chars wide.
 
M-x man RET bash RET
 
Buffer *Man bash* is shown in a new frame. The frame has the usual
default width of 80 chars.  But the text of the buffer is formatted to
be only 30 chars wide.  Clearly a mismatch and not what a user
expects or intends.
 
This same bug exists for Emacs 22 (e.g. 22.3) and Emacs 21
(e.g. 21.3.1).  Emacs 20 (e.g. 20.7) has no such bug.  
 
In Emacs 21, the bug occurs even without loading the two Cywin helper
libraries.  With my SHELL var set to /bin/bash.exe, I cannot test
Emacs 22 or 23 without loading those libraries, but I suspect the same
bug occurs, as it does in Emacs 21.  IOW, I don't think this has
anything to do with using Cygwin.
 
Please don't suggest customizing `Man-frame-parameters' or some such.
This should just work, normally, with no need for any user tweaking.
Setting `pop-up-frames' to non-nil does not imply that you want the
Man output (in a normal-width frame) to have the same width as the
frame that was current when you called `man'.
 
 
 
In GNU Emacs 23.0.90.1 (i386-mingw-nt5.1.2600)
 of 2009-02-01 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'
 







^ permalink raw reply	[flat|nested] 43+ messages in thread

end of thread, other threads:[~2014-07-01 23:57 UTC | newest]

Thread overview: 43+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-07  4:22 bug#2588: 23.0.90; Man buffer improperly formatted - wrong width Chong Yidong
2009-03-07  4:50 ` Drew Adams
2009-03-07 14:15   ` Eli Zaretskii
2009-03-07 16:20     ` Drew Adams
2009-03-07 19:27       ` Eli Zaretskii
2009-03-07 19:43         ` Chong Yidong
2009-03-07 19:45           ` Drew Adams
2009-03-07 20:07           ` Eli Zaretskii
2009-03-08 16:08             ` Chong Yidong
2009-03-08 16:23               ` Drew Adams
2009-03-08 19:06                 ` Chong Yidong
2009-03-08 19:23                   ` Eli Zaretskii
2009-03-08 19:40                     ` Chong Yidong
2009-03-08 20:01                       ` Eli Zaretskii
2009-03-08 20:17                       ` Drew Adams
2009-03-09  4:05                         ` Eli Zaretskii
2009-03-09  5:33                           ` Drew Adams
2009-03-09  3:27                       ` Stefan Monnier
2009-03-09  3:38                         ` Chong Yidong
2009-03-09 13:28                           ` Stefan Monnier
2009-03-08 20:16                   ` Drew Adams
2009-03-09  4:03                     ` Eli Zaretskii
2009-03-09  5:33                       ` Drew Adams
2012-01-10 18:38                   ` Glenn Morris
2012-01-10 18:39                     ` Glenn Morris
2009-03-08 19:04               ` Eli Zaretskii
2009-03-08 19:45               ` Stefan Monnier
2009-03-08 20:04                 ` Eli Zaretskii
2011-09-11 21:51                 ` Lars Magne Ingebrigtsen
2011-09-15 18:45                   ` Juri Linkov
2011-09-17  5:22                     ` Lars Magne Ingebrigtsen
2011-10-06 22:02                   ` Lars Magne Ingebrigtsen
2011-10-07  0:34                     ` Juri Linkov
2009-03-08  4:05     ` Stefan Monnier
2009-03-08 15:45       ` Chong Yidong
2009-03-08 15:57         ` Drew Adams
2009-03-08 19:43         ` Stefan Monnier
2009-03-08 20:03           ` Eli Zaretskii
2009-03-08 20:17             ` Drew Adams
2014-07-01 23:57       ` Juri Linkov
  -- strict thread matches above, loose matches on Subject: below --
2009-03-06 20:51 Drew Adams
2009-03-07 13:58 ` Eli Zaretskii
2009-03-07 16:20   ` Drew Adams

Code repositories for project(s) associated with this public inbox

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

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).