[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proposed patch: allow user to disable lockfile creation
From: |
David Kastrup |
Subject: |
Re: Proposed patch: allow user to disable lockfile creation |
Date: |
Fri, 29 Jul 2011 21:59:36 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> These days, advisory file locks (fcntl with F_GETLK and F_SETLK) should be
> reliable enough over NFS (and on local file systems) on practical GNU and
> GNU-like machines, and should be able to do everything that Emacs's
> symlink
> lock files do. (This wasn't true way back when the symlink scheme was
> originally introduced.) If we used advisory file locks, I daresay we
> could get rid of those symlinks.
>
> That sounds nice. If we can do the same job in a way that never
> bothers anyone, let's.
One of the most annoying things most PDF previewers under Windows
exhibit is that they lock the file they are displaying, meaning that
compilations generating PDF files will fail. The nice way to do this is
to just watch the file and try reloading on redisplay when it has
changed.
Any locking scheme should make sure that it does not interact with other
programs: quite often I start a compilation and continue editing the
file in question, making sure I don't save until the compilation has
finished.
This sort of workflow should continue to be possible.
--
David Kastrup
- Re: Proposed patch: allow user to disable lockfile creation, (continued)
- Re: Proposed patch: allow user to disable lockfile creation, Eli Zaretskii, 2011/07/30
- Re: Proposed patch: allow user to disable lockfile creation, Dave Abrahams, 2011/07/30
- Re: Proposed patch: allow user to disable lockfile creation, Richard Stallman, 2011/07/30
- Re: Proposed patch: allow user to disable lockfile creation, Tim Cross, 2011/07/30
- Re: Proposed patch: allow user to disable lockfile creation, Richard Stallman, 2011/07/29
- Re: Proposed patch: allow user to disable lockfile creation, Dave Abrahams, 2011/07/30
- Re: Proposed patch: allow user to disable lockfile creation, chad, 2011/07/28
- Re: Proposed patch: allow user to disable lockfile creation, Richard Stallman, 2011/07/28
- Re: Proposed patch: allow user to disable lockfile creation, Paul Eggert, 2011/07/28
- Re: Proposed patch: allow user to disable lockfile creation, Richard Stallman, 2011/07/29
- Re: Proposed patch: allow user to disable lockfile creation,
David Kastrup <=
- Re: Proposed patch: allow user to disable lockfile creation, Richard Stallman, 2011/07/30
- Re: Proposed patch: allow user to disable lockfile creation, David Kastrup, 2011/07/30
- Re: Proposed patch: allow user to disable lockfile creation, Stephen J. Turnbull, 2011/07/28
- Re: Proposed patch: allow user to disable lockfile creation, Evil Boris, 2011/07/28
- Re: Proposed patch: allow user to disable lockfile creation, Daniel Colascione, 2011/07/30