* emacs server on windows
@ 2013-03-18 15:33 Doug Lewan
2013-03-18 15:42 ` Doug Lewan
0 siblings, 1 reply; 2+ messages in thread
From: Doug Lewan @ 2013-03-18 15:33 UTC (permalink / raw)
To: help-gnu-emacs@gnu.org
I use emacs 24.3.1 under CYGWIN on Windows 7.
When emacsclient is invoked with a Windows path name, the name is converted to CYGWIN form and presented. However, there is also a buffer for a sort of hybrid path and that buffer has an associated file.
For example: If I want c:\app\log, then emacsclient recommends /home/dougl/c:/app/log. Emacs, on the other hand, has a buffer with the associated file: /home/dougl/c:\app\log.
When I type C-c# to finish the server session, the buffer I had been editing is killed, but the other buffer remains. That prevents me from visiting that file again via emacsclient.
The symptom can be seen in the *Messages* directory.
external: emacsclient c:\cygwin\home\dougl\log
*Messages*: When done with a buffer, type C-x #
[edit, save, end the server session]
external: emacsclient c:\cygwin\home\dougl\log (again)
*Messages*: File no longer exists: /home/dougl/log/c:\cygwin\home\dougl\log, write buffer to file? (y or n)
I've taken a quick walk through server.el and didn't find any obvious point to start fixing. I will look at the client code when I get a chance.
Should I consider this a bug? (I didn't see it in a quick search of the bugs news group, but it is pretty big.)
Is there a known work-around?
Thanks.
,Douglas
Douglas Lewan
Shubert Ticketing
(201) 489-8600 ext 224
Journalism is printing what someone else does not want printed. Everything else is public relations. - George Orwell
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: emacs server on windows
2013-03-18 15:33 emacs server on windows Doug Lewan
@ 2013-03-18 15:42 ` Doug Lewan
0 siblings, 0 replies; 2+ messages in thread
From: Doug Lewan @ 2013-03-18 15:42 UTC (permalink / raw)
To: Doug Lewan, help-gnu-emacs@gnu.org
Upon some more research and better reading, this looks more like a CYGWIN issue. At least it looks like that's the origin. Still, there is a right thing that C-c# should be doing.
,Douglas
Douglas Lewan
Shubert Ticketing
(201) 489-8600 ext 224
Journalism is printing what someone else does not want printed. Everything else is public relations. - George Orwell
> -----Original Message-----
> From: help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org
> [mailto:help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org] On
> Behalf Of Doug Lewan
> Sent: Monday, 2013 March 18 11:34
> To: help-gnu-emacs@gnu.org
> Subject: emacs server on windows
>
> I use emacs 24.3.1 under CYGWIN on Windows 7.
>
> When emacsclient is invoked with a Windows path name, the name is
> converted to CYGWIN form and presented. However, there is also a buffer
> for a sort of hybrid path and that buffer has an associated file.
>
> For example: If I want c:\app\log, then emacsclient recommends
> /home/dougl/c:/app/log. Emacs, on the other hand, has a buffer with the
> associated file: /home/dougl/c:\app\log.
>
> When I type C-c# to finish the server session, the buffer I had been
> editing is killed, but the other buffer remains. That prevents me from
> visiting that file again via emacsclient.
>
> The symptom can be seen in the *Messages* directory.
>
> external: emacsclient c:\cygwin\home\dougl\log
> *Messages*: When done with a buffer, type C-x #
> [edit, save, end the server session]
> external: emacsclient c:\cygwin\home\dougl\log (again)
> *Messages*: File no longer exists:
> /home/dougl/log/c:\cygwin\home\dougl\log, write buffer to file? (y or
> n)
>
> I've taken a quick walk through server.el and didn't find any obvious
> point to start fixing. I will look at the client code when I get a
> chance.
>
> Should I consider this a bug? (I didn't see it in a quick search of the
> bugs news group, but it is pretty big.)
>
> Is there a known work-around?
>
> Thanks.
>
>
> ,Douglas
> Douglas Lewan
> Shubert Ticketing
> (201) 489-8600 ext 224
>
> Journalism is printing what someone else does not want printed.
> Everything else is public relations. - George Orwell
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-03-18 15:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-18 15:33 emacs server on windows Doug Lewan
2013-03-18 15:42 ` Doug Lewan
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.