git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 1/2] help: use man viewer path from "man.<tool>.path" config var

From
Christian Couder <chriscool@tuxfamily.org>
Date
Mar 21, 2008, 07:23 UTC
Message-ID
<200803210823.47899.chriscool@tuxfamily.org>
In-Reply-To
<7vtzj1wd7u.fsf@gitster.siamese.dyndns.org>
Le jeudi 20 mars 2008, Junio C Hamano a écrit :
Show 11 quoted lines
> Christian Couder <chriscool@tuxfamily.org> writes:
> > Yes, but if the user just wants to use a konq that is not in the path,
> > then the konq specified with "man.konqueror.path" should behave the
> > same as when using the konq in the path. That means that we should also
> > try to open a new tab on an existing konq, and this will not be the
> > case if we use "/path/konqueror URL" instead of "/path/kfmclient newTab
> > URL".
>
> If that inconsistency bothers you, you probably should rename the
> built-in konqueror support to "kfmclient", which is more honest approach,
> I would think.
It's perhaps more honest, but kfmclient is not as well known as konqueror.
Isn't a documentation patch like this enough:
------8<---------
diff --git a/Documentation/git-help.txt b/Documentation/git-help.txt
index 4c6cb21..0ece412 100644
--- a/Documentation/git-help.txt
+++ b/Documentation/git-help.txt
@@ -87,7 +87,8 @@ is chosen. Only the following values are currently 
supported:
 * "man": use the 'man' program as usual,
 * "woman": use 'emacsclient' to launch the "woman" mode in emacs
 (this only works starting with emacsclient versions 22),
-* "konqueror": use a man KIO slave in konqueror.
+* "konqueror": use kfmclient to open the man page in a new konqueror
+tab.

 Multiple values may be given to this configuration variable. Their
 corresponding programs will be tried in the order listed in the

------8<---------

I also wonder if you want some changes in "git-web--browse.sh" as there is 
the same logic ?

Thanks,
Christian.
Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 11 in “help: use man viewer path from "man.<tool>.path" config var”
  1. 1/2 help: use man viewer path from "man.<tool>.path" config varChristian Couder, Mar 18, 2008
  2. Junio C HamanoMar 18, 2008
  3. Christian CouderMar 20, 2008
  4. Junio C HamanoMar 20, 2008
  5. Christian CouderMar 21, 2008
  6. Junio C HamanoMar 21, 2008
  7. Christian CouderMar 25, 2008
  8. Junio C HamanoMar 25, 2008
  9. Christian CouderMar 26, 2008
  10. Xavier MaillardMar 23, 2008
  11. Xavier MaillardMar 21, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.