I am using GNU Emacs 28.2.50 along with emacsclient
.
I am using https://www.emacswiki.org/emacs/ManMode. When I have a smaller width size in a iTerm terminal, man-mode
kind of messed up for long lines. The comparasion could be seen here:
=> Upper window is in emacs.
=> Lower window is in less where original (command man wget
) is applied.
In emacs, for the long line, it continues from second line without a TAB. For example:
DESCRIPTION
GNU Wget is a free utility for non-interactive download of files from the Web. It supports HTTP, HTTPS, and FTP protocols,
as well as retrieval through
HTTP proxies.
should be:
DESCRIPTION
GNU Wget is a free utility for non-interactive download of files from the Web. It supports HTTP, HTTPS, and FTP protocols, as well
as retrieval through HTTP proxies.
Even I have set Man-width to nil
and Man-width-max to 80
Link: https://emacs.stackexchange.com/a/62535/18414, it is not helped.
(define-key Man-mode-map "q" 'my-kill-emacs)
(define-key Man-mode-map "Q" 'my-kill-emacs)
(setq Man-width 80)
(setq Man-width-max 80)
The way I run man-mode
page in emacs
:
man () {
emacsclient -cqut -nw -e "(let ((Man-notify-method 'bully)) (man \"$1\"))";
}
I am not sure what is preventing Man-width-max
to be applied.
emacsclient
script? I.e. just usingM-x man
? If so, you should simplify the question by eliminating the client/server aspect. If not, then clarify the difference.u
in the man buffer to refresh it change the formatting? And what doesC-h v Man-width-max
report in that buffer?Terminal
is macOS and I observed the same behavior.Man-update-manpag
(u
) did not do anything.Man-width-max
reported as 80. I see the same problem if I don't useemacsclient
and instead useemacs -nw