[Aquamacs-devel] auta-save files cause Aquamacs to hang
siemsen at ucar.edu
siemsen at ucar.edu
Wed Sep 30 21:56:27 UTC 2009
I'm using version "2.0preview2".
My attempt to turn off auto-save didn't work. Given an existing large
(453789 bytes) file named abc.txt on a remote system, I did this:
1. On my Mac, exited Aquamacs, just to set up state for the test
2. On the remote system, manually deleted the leftover auto-save file
named .#abc.txt, just to set up state for the test
3. On my Mac, started Aquamacs
4. Did C-x C-f to open the remote file named /Volumes/xxx/abc.txt
5. Did M-x auto-save-mode to toggle auto-save off. Aquamacs said
"Auto-save off (in this buffer)"
6. Modified the buffer.
7. On the remote system, did "ls -alt" and found
lrwxrwxrwx 1 siemsen datacomm 33 Sep 30 15:19 .#abc.txt -> siemsen at galway.scd.ucar.edu.12194
My Mac is named "galway". So Aquamacs created the auto-save file,
despite what I did in step 5. This seems to be a bug.
8. On my Mac, did C-x C-s
9. On the remote system, did "ls -alt" and found a newly written
abc.txt and also .#abc.txt
So Aquamacs didn't delete the auto-save file. This seems to be a
bug. My delete-auto-save-files variable has the default value of 't'.
10. On my Mac, restarted Aquamacs.
11. Opened the remote file again.
12. Tried to modify the buffer. Aquamacs hung with the spinning ball
of death. I had to use Force Quit to kill it.
I get different behavior if I replace step 10 with "C-x k". If I do
that, Aquamacs behaves normally in step 12.
BTW, I tried to figure this out, with no luck. The GNU Emacs manual
says that the names of auto-save files are constructed using the
contents of auto-save-file-name-transforms. In Aquamacs, that
variable seems to want to put auto-save files in a directory named /
var/folders, which doesn't exist on my Mac. I can only assume that
Aquamacs has it's own mechanism for creating auto-save files, and
ignores auto-save-file-name-transforms.
-- Pete
On Sep 28, 2009, at 5:18 PM, David Reitter wrote:
> What version?
> Have you tried to turn off auto-save?
>
> On Sep 28, 2009, at 5:31 PM, Pete Siemsen wrote:
>
>> In my group at work, we share a Linux server that contains hundreds
>> of files. We have many Windows users in the group, so we use SAMBA
>> to share the filesystems on the server. I SAMBA-mount the server's
>> filesystems on my Mac. I have no trouble accessing the files on
>> the server, using paths that start with '/Volumes/'.
>>
>> No problem, it's worked for years, except now I'm trying to stop
>> using TextMate and start using Aquamacs.
>>
>> Aquamacs wants to write auto-save files, with names that start with
>> '.#', in the same directory as each file being edited. Aquamacs is
>> supposed to delete the auto-save files whenever I close the real
>> file. For some reason, it's not happening. The auto-save files
>> aren't being deleted. When I try to re-edit a file that has an
>> auto-save file, Aquamacs lets me open it, but as soon as I try to
>> modify the buffer, Aquamacs hangs. I get the spinning ball of
>> death and end up having to 'Force Quit' Aquamacs. I can manually
>> delete the auto-save file, restart Aquamacs, and edit the real file
>> again.
>>
>> -- Pete
>
> _______________________________________________
> Aquamacs-devel mailing list
> Aquamacs-devel at aquamacs.org
> http://lists.aquamacs.org/mailman/listinfo.cgi/aquamacs-devel
More information about the Aquamacs-devel
mailing list