all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Doug Lewan <dougl@shubertticketing.com>
To: Doug Lewan <dougl@shubertticketing.com>,
	"help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: RE: emacs server on windows
Date: Mon, 18 Mar 2013 15:42:52 +0000	[thread overview]
Message-ID: <155DEC68569B714B86C2C7075F5EDA9828EB0F4D@DAKIYA1.pegasus.local> (raw)
In-Reply-To: <155DEC68569B714B86C2C7075F5EDA9828EB0F2E@DAKIYA1.pegasus.local>

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
> 




      reply	other threads:[~2013-03-18 15:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-18 15:33 emacs server on windows Doug Lewan
2013-03-18 15:42 ` Doug Lewan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=155DEC68569B714B86C2C7075F5EDA9828EB0F4D@DAKIYA1.pegasus.local \
    --to=dougl@shubertticketing.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.