* files locked by myself (on mac)
@ 2007-08-12 20:12 nilsotto
2007-08-13 8:14 ` Peter Dyballa
0 siblings, 1 reply; 3+ messages in thread
From: nilsotto @ 2007-08-12 20:12 UTC (permalink / raw)
To: Help-gnu-emacs
Hi.
When I use emacs on my mac, I have problems with files being locked ( I
experience the same behaviour on both GNU emacs in terminal and in aquamacs)
This is what happens :
1) I start emacs.
2) i start editing a new file.
3) When i save, emacs says that the file is locked by another user.
(/private/tmp/test.txt locked by n10724@felles... (pid 373): (s, q, p, ?)?)
The user is actually myself, and the PID that locks the file is the same
as the emacs session i'm in.
This makes me very confused.
Has someone seen this behaviour before?
Nils Oto
--
View this message in context: http://www.nabble.com/files-locked-by-myself-%28on-mac%29-tf4257945.html#a12117444
Sent from the Emacs - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: files locked by myself (on mac)
[not found] <mailman.4689.1186952701.32220.help-gnu-emacs@gnu.org>
@ 2007-08-12 21:38 ` Pascal Bourguignon
0 siblings, 0 replies; 3+ messages in thread
From: Pascal Bourguignon @ 2007-08-12 21:38 UTC (permalink / raw)
To: help-gnu-emacs
nilsotto <nilsotto@gmail.com> writes:
> Hi.
>
> When I use emacs on my mac, I have problems with files being locked ( I
> experience the same behaviour on both GNU emacs in terminal and in aquamacs)
>
> This is what happens :
>
> 1) I start emacs.
> 2) i start editing a new file.
> 3) When i save, emacs says that the file is locked by another user.
> (/private/tmp/test.txt locked by n10724@felles... (pid 373): (s, q, p, ?)?)
>
> The user is actually myself, and the PID that locks the file is the same
> as the emacs session i'm in.
>
> This makes me very confused.
> Has someone seen this behaviour before?
Perhaps you have some upper case in some name (hostname, username, or
filename)? This could explain some confusion on HFS...
--
__Pascal Bourguignon__ http://www.informatimago.com/
NOTE: The most fundamental particles in this product are held
together by a "gluing" force about which little is currently known
and whose adhesive power can therefore not be permanently
guaranteed.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: files locked by myself (on mac)
2007-08-12 20:12 nilsotto
@ 2007-08-13 8:14 ` Peter Dyballa
0 siblings, 0 replies; 3+ messages in thread
From: Peter Dyballa @ 2007-08-13 8:14 UTC (permalink / raw)
To: nilsotto; +Cc: Help-gnu-emacs
Am 12.08.2007 um 22:12 schrieb nilsotto:
> 3) When i save, emacs says that the file is locked by another user.
> (/private/tmp/test.txt locked by n10724@felles... (pid 373): (s, q,
> p, ?)?)
If GNU Emacs had crashed or was killed via xkill, then it could have
happened that "files" like these were left:
.#file name -> user@somehost.21015
They are "markers" that some GNU Emacs related process in the net has
changed the file. If this is not true, then simply remove these
"pointers." Of course you can s(teal) the opened and changed file
from the other (dead) process and all might become fine. And this is
nothing Mac OS X special.
--
Mit friedvollen Grüßen
Pete
Linux bietet Lösungen für Probleme unter Windows, die mit Mac OS X
gar nicht erst auftreten.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-08-13 8:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.4689.1186952701.32220.help-gnu-emacs@gnu.org>
2007-08-12 21:38 ` files locked by myself (on mac) Pascal Bourguignon
2007-08-12 20:12 nilsotto
2007-08-13 8:14 ` Peter Dyballa
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.