From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Doug Lewan Newsgroups: gmane.emacs.help Subject: RE: emacs server on windows Date: Mon, 18 Mar 2013 15:42:52 +0000 Message-ID: <155DEC68569B714B86C2C7075F5EDA9828EB0F4D@DAKIYA1.pegasus.local> References: <155DEC68569B714B86C2C7075F5EDA9828EB0F2E@DAKIYA1.pegasus.local> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1363621271 27368 80.91.229.3 (18 Mar 2013 15:41:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Mar 2013 15:41:11 +0000 (UTC) To: Doug Lewan , "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 18 16:41:36 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UHcBp-0002Tl-Lu for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Mar 2013 16:41:33 +0100 Original-Received: from localhost ([::1]:35856 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHcBS-0005jY-O9 for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Mar 2013 11:41:10 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49774) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHcB9-0005ho-Sr for help-gnu-emacs@gnu.org; Mon, 18 Mar 2013 11:40:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UHcB3-0004Qo-BB for help-gnu-emacs@gnu.org; Mon, 18 Mar 2013 11:40:51 -0400 Original-Received: from webmail.shubertorg.com ([207.246.209.200]:37689) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHcB3-0004QS-7Q for help-gnu-emacs@gnu.org; Mon, 18 Mar 2013 11:40:45 -0400 Original-Received: from dakiya1.pegasus.local ([172.16.208.201]) by DAKIYA1.pegasus.local ([172.16.208.201]) with mapi id 14.01.0339.001; Mon, 18 Mar 2013 11:42:53 -0400 Thread-Topic: emacs server on windows Thread-Index: Ac4j7bQH63EpwX9USUi+UHcoT/5FzAAAPn1g In-Reply-To: <155DEC68569B714B86C2C7075F5EDA9828EB0F2E@DAKIYA1.pegasus.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.21.202] X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 X-Received-From: 207.246.209.200 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:89583 Archived-At: Upon some more research and better reading, this looks more like a CYGWIN i= ssue. At least it looks like that's the origin. Still, there is a right thi= ng 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=3Dshubertticketing.com@gnu.org > [mailto:help-gnu-emacs-bounces+dougl=3Dshubertticketing.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 >=20 > I use emacs 24.3.1 under CYGWIN on Windows 7. >=20 > 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. >=20 > 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. >=20 > 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. >=20 > The symptom can be seen in the *Messages* directory. >=20 > 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) >=20 > 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. >=20 > 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.) >=20 > Is there a known work-around? >=20 > Thanks. >=20 >=20 > ,Douglas > Douglas Lewan > Shubert Ticketing > (201) 489-8600 ext 224 >=20 > Journalism is printing what someone else does not want printed. > Everything else is public relations. - George Orwell >=20