Re: [PATCH] help: implement multi-valued "man.viewer" config option
- From
Christian Couder <chriscool@tuxfamily.org>
- Date
- Mar 14, 2008, 05:26 UTC
- Message-ID
- <200803140626.16075.chriscool@tuxfamily.org>
- In-Reply-To
- <200803140100.m2E105o5004664@localhost.localdomain>
Le vendredi 14 mars 2008, Xavier Maillard a écrit :
Show 7 quoted lines
> > Ok, woma in not supported here and it is reported like this but > > would it be possible to just throw an error on stdout and try > > another viewer ? > > Yes, with the following patch on top: > > See my "tested-by" message.
Thank you Xavier for this message.
Show 8 quoted lines
> > We could even imagine something even more > > general like the possibility for the user to write his own man > > viewer (a bash script for example) and set it as a candidate. > > I will do that in a latter patch, it has been suggested a lot of times > already. > > Glad to read that !
I just sent a patch to do that in "git-web--browse.sh" and I will soon work on the same stuff for man viewing.
Show 8 quoted lines
> > By the way, I do not see any reason to put man as a candidate. > > "man" should be the default when nothing is specified or when all > > candidates have failed. > > It may be more explicit. > > Well, I do not buy this argument and I am pretty sure that a > simple note into the manual would suffice but, that's me :)
As my patch is now on next and as I am not sure to understand exactly what you want, I can only suggest to send a patch if you really care.
Thanks, Christian.