* gnuserv/gnuclient as CVS/SVN editor on Windows
@ 2006-07-21 11:12 John J. Lee
0 siblings, 0 replies; 14+ messages in thread
From: John J. Lee @ 2006-07-21 11:12 UTC (permalink / raw)
I'm trying to persuade gnuclient (the one from wyrdrune.com) and svn
to play together on Windows XP. I'd like to use emacs to edit commit
messages. gnuclient works fine for me for editing disk files. I want
to edit commit messages by just typing svn commit. So:
1. From cmd.exe shell, I do
> svn commit
2. Emacs frame pops up with the expected commit information in a new
buffer, apparently visiting a temporary file that svn created.
3. C-x # gives me the following message in the minibuffer, rather than
notifying svn that I've finished editing the commit message, as
hoped:
(server-edit): Use only on buffers created by external programs
I guess this is because gnuclient has already exited? Extensive
googling hasn't turned up any docs that explain how to do this.
Anybody have any idea how to get emacs(client) to notify svn that
you've finished editing the commit message?
Thanks for any help
John
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: gnuserv/gnuclient as CVS/SVN editor on Windows
[not found] <mailman.4320.1153642945.9609.help-gnu-emacs@gnu.org>
@ 2006-07-23 21:46 ` Le Wang
2006-07-26 20:11 ` John J. Lee
2006-07-24 11:05 ` Phillip Lord
1 sibling, 1 reply; 14+ messages in thread
From: Le Wang @ 2006-07-23 21:46 UTC (permalink / raw)
John J. Lee wrote:
> I'm trying to persuade gnuclient (the one from wyrdrune.com) and svn
> to play together on Windows XP. I'd like to use emacs to edit commit
> messages. gnuclient works fine for me for editing disk files. I want
> to edit commit messages by just typing svn commit. So:
>
> 1. From cmd.exe shell, I do
>
> > svn commit
>
> 2. Emacs frame pops up with the expected commit information in a new
> buffer, apparently visiting a temporary file that svn created.
>
> 3. C-x # gives me the following message in the minibuffer, rather than
> notifying svn that I've finished editing the commit message, as
> hoped:
>
> (server-edit): Use only on buffers created by external programs
When you edit a file from "cmd.exe", does it wait for you to press
<C-x> #, before exiting?
--
Le
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: gnuserv/gnuclient as CVS/SVN editor on Windows
[not found] <mailman.4320.1153642945.9609.help-gnu-emacs@gnu.org>
2006-07-23 21:46 ` gnuserv/gnuclient as CVS/SVN editor on Windows Le Wang
@ 2006-07-24 11:05 ` Phillip Lord
1 sibling, 0 replies; 14+ messages in thread
From: Phillip Lord @ 2006-07-24 11:05 UTC (permalink / raw)
>>>>> "JJL" == John J Lee <jjlee@reportlab.com> writes:
JJL> I guess this is because gnuclient has already exited?
JJL> Extensive googling hasn't turned up any docs that explain how
JJL> to do this.
JJL> Anybody have any idea how to get emacs(client) to notify svn
JJL> that you've finished editing the commit message?
It's not what you asked for, but if you just use Emacs to perform the
commit with VC or psvn/pcvs, then it will all work out of the box.
Phil
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: gnuserv/gnuclient as CVS/SVN editor on Windows
2006-07-23 21:46 ` gnuserv/gnuclient as CVS/SVN editor on Windows Le Wang
@ 2006-07-26 20:11 ` John J. Lee
2006-07-27 7:56 ` Ismael Valladolid Torres
2006-07-28 3:07 ` Le Wang
0 siblings, 2 replies; 14+ messages in thread
From: John J. Lee @ 2006-07-26 20:11 UTC (permalink / raw)
"Le Wang" <l26wang@gmail.com> writes:
> John J. Lee wrote:
[...]
> > 3. C-x # gives me the following message in the minibuffer, rather than
> > notifying svn that I've finished editing the commit message, as
> > hoped:
> >
> > (server-edit): Use only on buffers created by external programs
>
> When you edit a file from "cmd.exe", does it wait for you to press
> <C-x> #, before exiting?
Not sure I understand what the "it" in that sentence refers to, but
gnuclient appears to exit immediately -- at least, it returns me
immediately to the cmd.exe shell (though I've not checked it really
did exit, and am hazy about Windows processes).
John
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: gnuserv/gnuclient as CVS/SVN editor on Windows
2006-07-26 20:11 ` John J. Lee
@ 2006-07-27 7:56 ` Ismael Valladolid Torres
2006-07-28 3:07 ` Le Wang
1 sibling, 0 replies; 14+ messages in thread
From: Ismael Valladolid Torres @ 2006-07-27 7:56 UTC (permalink / raw)
John J. Lee escribe:
> "Le Wang" <l26wang@gmail.com> writes:
> > John J. Lee wrote:
> [...]
> > > 3. C-x # gives me the following message in the minibuffer, rather than
> > > notifying svn that I've finished editing the commit message, as
> > > hoped:
> > >
> > > (server-edit): Use only on buffers created by external programs
> >
> > When you edit a file from "cmd.exe", does it wait for you to press
> > <C-x> #, before exiting?
>
> Not sure I understand what the "it" in that sentence refers to, but
> gnuclient appears to exit immediately -- at least, it returns me
> immediately to the cmd.exe shell (though I've not checked it really
> did exit, and am hazy about Windows processes).
Feel free to try the -w option to gnuclientw.exe although I'm not sure
it's available in all versions.
You can always set CVSEDITOR to "emacs" although gnuclientw.exe was
available. I set editor to emacs in my muttrc even if gnuclientw.exe
is installed because exactly the same reason.
Cordially, Ismael
--
When I grow up I will go there.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: gnuserv/gnuclient as CVS/SVN editor on Windows
2006-07-26 20:11 ` John J. Lee
2006-07-27 7:56 ` Ismael Valladolid Torres
@ 2006-07-28 3:07 ` Le Wang
2006-07-28 18:09 ` John J. Lee
[not found] ` <mailman.4603.1154110227.9609.help-gnu-emacs@gnu.org>
1 sibling, 2 replies; 14+ messages in thread
From: Le Wang @ 2006-07-28 3:07 UTC (permalink / raw)
John J. Lee wrote:
> Not sure I understand what the "it" in that sentence refers to, but
> gnuclient appears to exit immediately -- at least, it returns me
> immediately to the cmd.exe shell (though I've not checked it really
> did exit, and am hazy about Windows processes).
The editor process (gnuclient) needs to exit only when it's done
editing the commit message. You're claiming gnuclient doesn't do that.
My gnuclient (from <guy@wyrdrune.com>) does. I also have a
`gnuclientw' that always exits as soon as it sends the file to Emacs,
"gnuclient -q" does the same thing.
--
Le
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: gnuserv/gnuclient as CVS/SVN editor on Windows
2006-07-28 3:07 ` Le Wang
@ 2006-07-28 18:09 ` John J. Lee
2006-07-29 12:03 ` Lennart Borgman
[not found] ` <mailman.4603.1154110227.9609.help-gnu-emacs@gnu.org>
1 sibling, 1 reply; 14+ messages in thread
From: John J. Lee @ 2006-07-28 18:09 UTC (permalink / raw)
"Le Wang" <l26wang@gmail.com> writes:
> John J. Lee wrote:
> > Not sure I understand what the "it" in that sentence refers to, but
> > gnuclient appears to exit immediately -- at least, it returns me
> > immediately to the cmd.exe shell (though I've not checked it really
> > did exit, and am hazy about Windows processes).
>
> The editor process (gnuclient) needs to exit only when it's done
> editing the commit message. You're claiming gnuclient doesn't do that.
> My gnuclient (from <guy@wyrdrune.com>) does. I also have a
> `gnuclientw' that always exits as soon as it sends the file to Emacs,
> "gnuclient -q" does the same thing.
Hmm, thanks. I'll try the new version he posted when I get a spare
moment (I think I have a pretty old version).
Thanks everybody
John
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: gnuserv/gnuclient as CVS/SVN editor on Windows
2006-07-28 18:09 ` John J. Lee
@ 2006-07-29 12:03 ` Lennart Borgman
2006-07-29 15:54 ` Eric Hanchrow
` (2 more replies)
0 siblings, 3 replies; 14+ messages in thread
From: Lennart Borgman @ 2006-07-29 12:03 UTC (permalink / raw)
Cc: help-gnu-emacs
John J. Lee wrote:
> "Le Wang" <l26wang@gmail.com> writes:
>
>
>> John J. Lee wrote:
>>
>>> Not sure I understand what the "it" in that sentence refers to, but
>>> gnuclient appears to exit immediately -- at least, it returns me
>>> immediately to the cmd.exe shell (though I've not checked it really
>>> did exit, and am hazy about Windows processes).
>>>
>> The editor process (gnuclient) needs to exit only when it's done
>> editing the commit message. You're claiming gnuclient doesn't do that.
>> My gnuclient (from <guy@wyrdrune.com>) does. I also have a
>> `gnuclientw' that always exits as soon as it sends the file to Emacs,
>> "gnuclient -q" does the same thing.
>>
>
> Hmm, thanks. I'll try the new version he posted when I get a spare
> moment (I think I have a pretty old version).
>
> Thanks everybody
>
Maybe I should point out that this is the same version that comes with
EmacsW32 (see http://www.emacswiki.org/cgi-bin/wiki/EmacsW32). I would
be interested in how the installation done by EmacsW32 works for you. Do
you want to try that?
Please notice that in order for this to work with later versions of
EmacsW32 you must be using the not yet released version 22 of Emacs.
(There is also an early version of EmacsW32 that works together with
Emacs 21.3 but I do not remember exactly how that works any more.)
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: gnuserv/gnuclient as CVS/SVN editor on Windows
2006-07-29 12:03 ` Lennart Borgman
@ 2006-07-29 15:54 ` Eric Hanchrow
[not found] ` <mailman.4641.1154189329.9609.help-gnu-emacs@gnu.org>
2006-07-31 13:24 ` John J. Lee
2 siblings, 0 replies; 14+ messages in thread
From: Eric Hanchrow @ 2006-07-29 15:54 UTC (permalink / raw)
I've got to pipe up here -- I don't have a Windows emacs handy at the
moment to confirm this, but in the past, whenever I've done M-x
server-start on Windows, I got an error to the effect that my
temporary directory wasn't safe for writing. Does server-start now
work on Windows?
--
ハ ハ
ミ^・^ミ
`~~~´
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: gnuserv/gnuclient as CVS/SVN editor on Windows
[not found] ` <mailman.4641.1154189329.9609.help-gnu-emacs@gnu.org>
@ 2006-07-29 22:48 ` Le Wang
0 siblings, 0 replies; 14+ messages in thread
From: Le Wang @ 2006-07-29 22:48 UTC (permalink / raw)
Eric Hanchrow wrote:
> I've got to pipe up here -- I don't have a Windows emacs handy at the
> moment to confirm this, but in the past, whenever I've done M-x
> server-start on Windows, I got an error to the effect that my
> temporary directory wasn't safe for writing. Does server-start now
> work on Windows?
No. I still get that error. I'm talking about an external
gnuclient/gnuserve package, originally from XEmacs, I believe.
--
Le
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: gnuserv/gnuclient as CVS/SVN editor on Windows
[not found] ` <mailman.4603.1154110227.9609.help-gnu-emacs@gnu.org>
@ 2006-07-29 23:05 ` Le Wang
0 siblings, 0 replies; 14+ messages in thread
From: Le Wang @ 2006-07-29 23:05 UTC (permalink / raw)
John J. Lee wrote:
> Hmm, thanks. I'll try the new version he posted when I get a spare
> moment (I think I have a pretty old version).
John,
I just realized I'm using lisp code from
http://meltin.net/hacks/emacs/, and binaries from
http://www.wyrdrune.com/index.html?gnuserv.html -- What you are seeing
may have been the reason I did this.
--
Le
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: gnuserv/gnuclient as CVS/SVN editor on Windows
2006-07-29 12:03 ` Lennart Borgman
2006-07-29 15:54 ` Eric Hanchrow
[not found] ` <mailman.4641.1154189329.9609.help-gnu-emacs@gnu.org>
@ 2006-07-31 13:24 ` John J. Lee
2006-07-31 15:32 ` Lennart Borgman
2 siblings, 1 reply; 14+ messages in thread
From: John J. Lee @ 2006-07-31 13:24 UTC (permalink / raw)
Lennart Borgman <lennart.borgman.073@student.lu.se> writes:
[...]
> Maybe I should point out that this is the same version that comes with
> EmacsW32 (see http://www.emacswiki.org/cgi-bin/wiki/EmacsW32). I would
> be interested in how the installation done by EmacsW32 works for
> you. Do you want to try that?
[...]
I just tried installing it, looks nice. Haven't got to the SVN commit
stuff yet, but will try to get back to it in a couple of days. Is the
confirmation request ("Save file ...? (y/n/...)") one of your
patches? It's driving me nuts already! Do you know how to turn it
off?
Thanks
John
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: gnuserv/gnuclient as CVS/SVN editor on Windows
2006-07-31 13:24 ` John J. Lee
@ 2006-07-31 15:32 ` Lennart Borgman
2006-07-31 16:35 ` John J Lee
0 siblings, 1 reply; 14+ messages in thread
From: Lennart Borgman @ 2006-07-31 15:32 UTC (permalink / raw)
Cc: help-gnu-emacs
John J. Lee wrote:
> Lennart Borgman <lennart.borgman.073@student.lu.se> writes:
> [...]
>
>> Maybe I should point out that this is the same version that comes with
>> EmacsW32 (see http://www.emacswiki.org/cgi-bin/wiki/EmacsW32). I would
>> be interested in how the installation done by EmacsW32 works for
>> you. Do you want to try that?
>>
> [...]
>
> I just tried installing it, looks nice. Haven't got to the SVN commit
> stuff yet, but will try to get back to it in a couple of days. Is the
> confirmation request ("Save file ...? (y/n/...)") one of your
> patches? It's driving me nuts already! Do you know how to turn it
> off?
>
I do not think the confirmation request comes from my patches. However
please tell me exactly what file you downloaded and installed. Did you
remove the start of gnuserv from your .emacs? Starting gnuserv is done
automatically by EmacsW32 (if you call Emacs the way it should with
EmacsW32).
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: gnuserv/gnuclient as CVS/SVN editor on Windows
2006-07-31 15:32 ` Lennart Borgman
@ 2006-07-31 16:35 ` John J Lee
0 siblings, 0 replies; 14+ messages in thread
From: John J Lee @ 2006-07-31 16:35 UTC (permalink / raw)
Cc: help-gnu-emacs
On Mon, 31 Jul 2006, Lennart Borgman wrote:
> John J. Lee wrote:
[...]
>> I just tried installing it, looks nice. Haven't got to the SVN commit
>> stuff yet, but will try to get back to it in a couple of days. Is the
>> confirmation request ("Save file ...? (y/n/...)") one of your
>> patches? It's driving me nuts already! Do you know how to turn it
>> off?
>>
> I do not think the confirmation request comes from my patches. However please
> tell me exactly what file you downloaded and installed. Did you remove the
> start of gnuserv from your .emacs? Starting gnuserv is done automatically by
> EmacsW32 (if you call Emacs the way it should with EmacsW32).
I did remove all gnuserv / gnuclient config from my .emacs .
I installed the following file:
http://ourcomments.org/Emacs/DL/EmacsW32+Emacs/Emacs-from-CVS/patched/Emacs-22-CvsP060702-EmacsW32-1.06.exe
But as I say, I haven't actually tried using gnuclient yet.
John
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2006-07-31 16:35 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.4320.1153642945.9609.help-gnu-emacs@gnu.org>
2006-07-23 21:46 ` gnuserv/gnuclient as CVS/SVN editor on Windows Le Wang
2006-07-26 20:11 ` John J. Lee
2006-07-27 7:56 ` Ismael Valladolid Torres
2006-07-28 3:07 ` Le Wang
2006-07-28 18:09 ` John J. Lee
2006-07-29 12:03 ` Lennart Borgman
2006-07-29 15:54 ` Eric Hanchrow
[not found] ` <mailman.4641.1154189329.9609.help-gnu-emacs@gnu.org>
2006-07-29 22:48 ` Le Wang
2006-07-31 13:24 ` John J. Lee
2006-07-31 15:32 ` Lennart Borgman
2006-07-31 16:35 ` John J Lee
[not found] ` <mailman.4603.1154110227.9609.help-gnu-emacs@gnu.org>
2006-07-29 23:05 ` Le Wang
2006-07-24 11:05 ` Phillip Lord
2006-07-21 11:12 John J. Lee
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).