GNU bug report logs - #26996
25.1; doc-view-revert-buffer doesn't detect file change while using tramp

Previous Next

Package: emacs;

Reported by: Iakov Davydov <dav02.davs <at> myths.ru>

Date: Fri, 19 May 2017 15:08:01 UTC

Severity: minor

Tags: fixed

Found in version 25.1

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Iakov Davydov <dav02.davs <at> myths.ru>, 26996 <at> debbugs.gnu.org
Subject: bug#26996: 25.1; doc-view-revert-buffer doesn't detect file change while using tramp
Date: Sat, 02 Nov 2019 15:56:21 +0100
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

> Hmm... but now auto-revert loops forever:
> updating the file -> triggers auto-revert -> your new code
> saves the buffer to the file -> triggers auto-revert -> ...
>
> I think the patch below is needed.

Sounds good; please

> But I wonder why you added:
>
>     (doc-view-make-safe-dir doc-view-cache-directory)
>
> did it just seemed safer or have you found a concrete case that
> needed it?

It been so long I barely remember.  I mean, the patch is more than a
month old.  :-)

Let's see...  Yes, I think I remember the directory having been removed
while I was playing with this stuff, so I had to make sure it existed
before writing to it.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 5 years and 202 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.