bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#5054: Man truncated


From: Juri Linkov
Subject: bug#5054: Man truncated
Date: Thu, 17 Jun 2010 00:44:35 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu)

>>> And what to do with the created frame?  To leave it displaying
>>> an empty buffer?
>>
>> The window (which probably should be dedicated initially to avoid that
>> some other action steals it before formatting is complete) could first
>> display some text about the formatting process in progress
>
> My patch already inserts a line "Invoking manual-program man-args
> in the background" in the displayed buffer until formatting is complete.
>
>> and a more detailed text when formatting fails telling the user what
>> the potential reasons of the failure were and how to get rid of the
>> window or frame (and implicitly the temporary buffer).
>
> I think you are right.  Exactly like e.g. `grep' displays the output
> *grep* buffer with the text "Grep finished with no matches found",
> so when `man' can't find a manpage, it should display a similar
> error message in the man output buffer.

Maybe a new window parameter `quit-restore-window' could take care
about deleting the created window/frame when the man's formatting fails.

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]