[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Modifying a shared file

From: Clément Pit-Claudel
Subject: Re: Modifying a shared file
Date: Tue, 6 Feb 2018 17:33:22 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

On 2018-02-06 16:01, Stefan Monnier wrote:
>>> I haven't used ecomplete very much so far, but I've noticed some issues
>>> which I think are linked to having multiple Emacs sessions use it at the
>>> same time.  I haven't investigated enough to be sure, but in any case
>>> it's a use case that should be kept in mind.
>> Yes, ecomplete should check the modification date and reload the data if
>> it has changed.
> [ Plus some kind of locking to avoid modifying the file at the
>   same time.  ]
> I'd welcome some new function
>     (defun update-file (file modification)
>       "Apply MODIFICATION to FILE."
>       ...)

This would be great. It would work nicely for recentf and savehist-mode, I 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]