Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Emacs 24.1 and 23.3 on Ubuntu forcing temporary files .#whatever.txt in the same folder (the files are actually symlinks to user@system)

11 views
Skip to first unread message

Jeffrey Spencer

unread,
Jul 4, 2012, 4:48:52 AM7/4/12
to Help-gn...@gnu.org
Is there a reason for this and a way to stop this? I have emacs 24.1 on one system and 23.3 on the other. It does it on both but both contain ubuntu. 

I have backups and autosave set to go to my .emacs.d/ folder. I can't seem to see why these are created or how to stop. Even running emacs -q they are still created and seem like a link to the system. Here is what it shows in dired:

.#temper1.py -> b...@big-desktop.774:1341142158

So a link to user@system but where is this file actually created??

Peter Dyballa

unread,
Jul 4, 2012, 5:05:32 AM7/4/12
to Jeffrey Spencer, Help-gn...@gnu.org

Am 04.07.2012 um 10:48 schrieb Jeffrey Spencer:

> I can't seem to see why these are created or how to stop.

These files are semaphores and make visible that some user on some machine is editing the file and has changed its contents while the file system still contains an elder, not yet updated and saved version.

I don't know how to change this (not editing? Instantaneously auto-saving?). It might be useful to make dired/dired-x not show these (dired-mode-hook, dired-omit-files).

--
Greetings

Pete

Don't force it; get a larger hammer.
– Anthony's Law of Force


Teemu Likonen

unread,
Jul 4, 2012, 5:22:31 AM7/4/12
to Jeffrey Spencer, Help-gn...@gnu.org
Jeffrey Spencer [2012-07-04 18:48:52 +1000] wrote:

> Is there a reason for this and a way to stop this?

It's about locking the file. For more information, read:

(info "(emacs) Interlocking")

0 new messages