From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kim Christensen Newsgroups: gmane.emacs.help Subject: Re: Cannot use normal save (C-x C-s) when operating over network mount Date: Thu, 11 Jun 2009 15:49:39 -0700 (PDT) Organization: http://groups.google.com Message-ID: <43e96590-0b23-44de-848a-20739a0da5de@g19g2000yql.googlegroups.com> References: <4227602e-ed9f-4ca5-aa35-270ead107806@d38g2000prn.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1244783339 9784 80.91.229.12 (12 Jun 2009 05:08:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Jun 2009 05:08:59 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 12 07:08:57 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MEz0Z-00086Z-QG for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Jun 2009 07:08:56 +0200 Original-Received: from localhost ([127.0.0.1]:54633 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MEz0Z-00076k-0X for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Jun 2009 01:08:55 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!g19g2000yql.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 62 Original-NNTP-Posting-Host: 83.248.10.111 Original-X-Trace: posting.google.com 1244760580 26626 127.0.0.1 (11 Jun 2009 22:49:40 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 11 Jun 2009 22:49:40 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: g19g2000yql.googlegroups.com; posting-host=83.248.10.111; posting-account=3heTMgoAAADQVinLgB604XSO-AFIyb0N User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2008121622 Ubuntu/8.10 (intrepid) Firefox/3.0.5, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:169955 X-Mailman-Approved-At: Fri, 12 Jun 2009 01:06:23 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:65185 Archived-At: On Jun 12, 12:01=A0am, Xah Lee wrote: > On Jun 11, 1:35 am, Kim Christensen wrote: > > > > > Hi list, > > > I've been using Emacs on and off for the past couple of years but > > recently started using it as main editor on my workstation. It took a > > while to get into, mainly because I wanted to learn elisp and had to > > get a grip of the customization possibilites before realising the > > potential of this fine piece of software :-) > > > However, I have quite a disturbing problem when it comes to editing > > files over a SMB/CIFS network mount. When trying to save a file that I > > have opened from a mounted share, I cannot save it using basic-save- > > buffer (C-x C-s or M-x basic-save-buffer). Emacs gives me this error: > > > basic-save-buffer-2: Opening output file: no such file or directory, > > > > > When i try saving using write-file (C-x C-w) instead, it works just > > fine. This is very disturbing since I have to specify the file name > > each time :-) > > > If anyone has run into this problem and could give me some pointers on > > how to start debugging it I would be grateful! > > > I'm running the following edition of Emacs: > > GNU Emacs 22.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.14.1) of > > 2008-09-05 on yellow, modified by Ubuntu > > > Best regards, > > Kim Christensen > > not sure what's your networking setup... is it linux to windows? > > anyway, i have local network between Windows and Mac. I work in > Windows using emacsW32 (based on emacs v23). It works fine. > > for example, on windows, using emacs, accessing files on my Mac, and > the file path shows this syntax: > //169.254.223.41/xah/Documents/somefile.txt > > don't know if this info helps at all. > > not sure what you mean by =93SMB/CIFS network mount=94. As far as i know, > smb/cifs is network protocol, not a network file system such as nfs, > so you don't really mount it... maybe this has nothing to do with your > problem... Hi Lee, I am actually mounting the Samba share via the cifs network protocol, which allows me to mount it as a network file system (using "cifs" as the vfstype argument to the "mount" application). Are you using tramp for accessing the files? I could try that tomorrow, without mounting it at all -- just accessing it directly. Regards, Kim