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

Re: [PATCH 1/2] help: add "man.viewer" config var to use "woman" or "konqueror"

From
Christian Couder <chriscool@tuxfamily.org>
Date
Mar 3, 2008, 07:20 UTC
Message-ID
<200803030820.52842.chriscool@tuxfamily.org>
In-Reply-To
<200803010100.m21105LU008843@localhost.localdomain>
Le samedi 1 mars 2008, Xavier Maillard a écrit :
Show 7 quoted lines
>    Looking at this exchange really makes me suspect that these
>    things should not be in C.  Every time Emacs updates we need
>    recompilation?  Yuck.
>
> In fact, I am pretty confident that emacsclient has always
> printed its version onto stdout so I do not think we need to
> recompile every week :)

On my Kubuntu Feisty development machine with the stock emacs 21.4a+1-2ubuntu1.1 package I get:

$ emacsclient --version emacsclient 21.4 $ emacsclient --version 2>/dev/null $ emacsclient --version 1>/dev/null emacsclient 21.4

And I don't think it specific to Kubuntu because I remenber getting the same with emacs21 (before installing emacs22) on another (Debian testing) machine.

>    What was the reason we gave up calling out to a single generic
>    scripted wrapper that the users can just munge to suit their
>    tastes?

I didn't gave up, I am just waiting for the implementation of a scripted wrapper in git-mergetool.sh, that is now in 'pu', to mature. Then I will steal it so we have the same for git help.

> Good question. Though I find chriscool's implementation nicely
> thought.
Thanks.
> With the modifications I made, this works as expected 
> with either emacs22 and emacs23 (aka CVS). What's more, how a
> user could have tested if emacsclient was provided in the right
> version using a generic scripted wrapper ?
I agree that it's better to do it for the users.
In fact just after this email, I will send a patch to "run_command.c" named:
"Redirect stderr to a pipe before redirecting stdout to stderr"

that will make my last patches to "help.c" work with both Emacs21 and Emacs22.

> I guess, chriscool should provide a more consistent emacsclient
> wrapper with support for GNU Emacs version >= 21. This won't be
> an enormous amount of work to do it (I can help him if he wants
> to but I do not want to steal the paternity of his idea).
It would help if you could test with Emacs23 as I didn't installed it.
Thank you for testing my patches.
Christian.
Previous: Xavier MaillardNext: Xavier Maillard
Message 6 of 12 in “help: add "man.viewer" config var to use "woman" or "konqueror"”
  1. 1/2 help: add "man.viewer" config var to use "woman" or "konqueror"Christian Couder, Feb 28, 2008
  2. Xavier MaillardFeb 29, 2008
  3. Christian CouderFeb 29, 2008
  4. Junio C HamanoFeb 29, 2008
  5. Xavier MaillardMar 1, 2008
  6. Christian CouderMar 3, 2008
  7. help: add "man.viewer" config var to use "woman" or "konqueror"Xavier Maillard, Mar 1, 2008
  8. Junio C HamanoMar 1, 2008
  9. Christian CouderMar 3, 2008
  10. Jakub NarebskiMar 3, 2008
  11. Christian CouderMar 3, 2008
  12. Xavier MaillardFeb 29, 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.