From: Lennart Borgman <lennart.borgman@gmail.com>
To: Kim Christensen <kim.christensen@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Cannot use normal save (C-x C-s) when operating over network mount
Date: Fri, 12 Jun 2009 13:12:30 +0200 [thread overview]
Message-ID: <e01d8a50906120412n5524a5ffh79227b755839aa67@mail.gmail.com> (raw)
In-Reply-To: <8879d2a2-3d9b-4256-95de-68dbb6b44d19@b9g2000yqm.googlegroups.com>
Kim, what version of Emacs are you using? Does this happen with
pretest Emacs 23?
On Fri, Jun 12, 2009 at 12:31 PM, Kim
Christensen<kim.christensen@gmail.com> wrote:
> On Jun 12, 11:41 am, Tassilo Horn <tass...@member.fsf.org> wrote:
>> Kim Christensen <kim.christen...@gmail.com> writes:
>>
>> Hi Kim!
>>
>> > 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).
>>
>> Ah, then I didn't understand you correctly. If you mounted a SMB share,
>> then to emacs those should be local files. Please try the following:
>>
>> 1. Open a file on that share and edit it
>> 2. M-x toggle-debug-on-error
>> 3. Save if with `C-x C-s'
>> 4. Poste the contents of the *Backtrace* buffer here
>>
>> > Are you using tramp for accessing the files? I could try that
>> > tomorrow, without mounting it at all -- just accessing it directly.
>>
>> You can try, but working with files on a mounted smb share should work
>> anyway...
>>
>> Bye,
>> Tassilo
>
> Hi again,
>
> I have enabled the debugger and receive the following trace when
> trying to save ('C-x C-s'):
>
> Debugger entered--Lisp error: (file-error "Opening output file" "no
> such file or directory" "/mnt/effie/foo.bar/www/mulang/
> basket_options.php")
> write-region(1 4688 "/mnt/effie/foo.bar/www/mulang/
> basket_options.php" nil t "/mnt/effie/foo.bar/www/mulang/
> basket_options.php")
> basic-save-buffer-2()
> basic-save-buffer-1()
> basic-save-buffer()
> save-buffer(1)
> call-interactively(save-buffer)
>
> That doesn't give me much information to proceed with though...
>
> What is the difference between saving a file with 'C-x C-s' and 'C-x C-
> w', filesystem-wise? Maybe this error is related to the actual
> procedure done on the filesystem; I recall gedit having some trouble
> when saving files that were accessed through SMB/CIFS because of the
> way it saved the file with a temporary name at first - then renaming
> it to the original file. I am not sure how Emacs do this, but it could
> be related.
>
> Regards,
> Kim
>
next prev parent reply other threads:[~2009-06-12 11:12 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-11 8:35 Cannot use normal save (C-x C-s) when operating over network mount Kim Christensen
2009-06-11 13:32 ` Tassilo Horn
[not found] ` <mailman.457.1244727146.2239.help-gnu-emacs@gnu.org>
2009-06-11 14:13 ` Kim Christensen
2009-06-11 22:01 ` Xah Lee
2009-06-11 22:49 ` Kim Christensen
2009-06-12 9:41 ` Tassilo Horn
[not found] ` <mailman.506.1244799704.2239.help-gnu-emacs@gnu.org>
2009-06-12 10:31 ` Kim Christensen
2009-06-12 11:12 ` Lennart Borgman [this message]
[not found] ` <mailman.510.1244805160.2239.help-gnu-emacs@gnu.org>
2009-06-12 11:50 ` Kim Christensen
2009-06-12 14:00 ` Lennart Borgman
2009-06-13 1:16 ` Jason Rumney
2009-06-15 7:29 ` Kim Christensen
2009-06-13 6:46 ` Tim X
2009-06-15 7:40 ` Kim Christensen
2009-06-12 11:52 ` Tassilo Horn
[not found] ` <mailman.512.1244807597.2239.help-gnu-emacs@gnu.org>
2009-06-12 14:18 ` Kim Christensen
2009-06-12 13:24 ` Xah Lee
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=e01d8a50906120412n5524a5ffh79227b755839aa67@mail.gmail.com \
--to=lennart.borgman@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=kim.christensen@gmail.com \
/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.