[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dired-man can't deal with compressed pages
From: |
Juri Linkov |
Subject: |
Re: dired-man can't deal with compressed pages |
Date: |
Sun, 22 Feb 2004 23:59:29 +0200 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) |
"Eli Zaretskii" <address@hidden> writes:
>> From: Juri Linkov <address@hidden>
>> Date: Sun, 22 Feb 2004 21:03:02 +0200
>>
>> I agree that this will not work for man who don't have the -l option.
>> On the other hand, man with the -l option should take the advantage of
>> this option. So I think a good solution is to let users to choose
>> the command line they want, like in the patch below.
>
> The canonical Emacs solution to such situations is to try running
> `man' with the -l switch and see if it barfs.
Seeing how man barfs will not help to construct an alternative
command line.
>> I think it's better not to duplicate what man already does.
>
> `man' doesn't do what we want except where it supports -l.
This is why I suggested that the user should be able to specify
how to uncompress compressed man files (guznip, uncompress, etc.)
>> Blindly running the file through all preprocessors will fail if some
>> preprocessor is not installed.
>
> ??? Is that even possible? I thought all the preprocessors we need
> (eqn, tbl, refer, and soelim) are always installed as part of the
> standard Troff/Groff/man packages. How else would users be able to
> format the pages they have?
Could you assure that all these preprocessors are available for all
man versions?
>> > Yet another possible solution is to use functions from woman.el, which
>> > IIRC has a special command to format a single file. However, I don't
>> > remember how well it supports various preprocessors.
>>
>> There is already a dired binding to `W' key in woman.el.
>> So users desiring a woman can get her with this key.
>
> Then perhaps dired-x should suggest using it on systems which don't
> support "man -l", if the file at point requires that.
That would be good.
--
http://www.jurta.org/emacs/
- dired-man can't deal with compressed pages, Juri Linkov, 2004/02/21
- Re: dired-man can't deal with compressed pages, Eli Zaretskii, 2004/02/22
- Re: dired-man can't deal with compressed pages, Juri Linkov, 2004/02/22
- Re: dired-man can't deal with compressed pages, Eli Zaretskii, 2004/02/22
- Re: dired-man can't deal with compressed pages,
Juri Linkov <=
- Re: dired-man can't deal with compressed pages, Eli Zaretskii, 2004/02/23
- Re: dired-man can't deal with compressed pages, Kevin Rodgers, 2004/02/23
- Re: dired-man can't deal with compressed pages, Eli Zaretskii, 2004/02/23
- Re: dired-man can't deal with compressed pages, Juri Linkov, 2004/02/22
- Re: dired-man can't deal with compressed pages, Eli Zaretskii, 2004/02/23
- Re: dired-man can't deal with compressed pages, Richard Stallman, 2004/02/23
- Re: dired-man can't deal with compressed pages, Stefan Monnier, 2004/02/23
- Re: dired-man can't deal with compressed pages, Eli Zaretskii, 2004/02/23
- Re: dired-man can't deal with compressed pages, Juri Linkov, 2004/02/23