unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Iakov Davydov <dav02.davs@myths.ru>, 26996@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	[thread overview]
Message-ID: <875zk2fht6.fsf@gnus.org> (raw)
In-Reply-To: <jwvtv7ns6rs.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Fri, 01 Nov 2019 16:07:15 -0400")

Stefan Monnier <monnier@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





  reply	other threads:[~2019-11-02 14:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-19 12:35 bug#26996: 25.1; doc-view-revert-buffer doesn't detect file change while using tramp Iakov Davydov
2019-09-29 12:59 ` Lars Ingebrigtsen
2019-11-01 20:07   ` Stefan Monnier
2019-11-02 14:56     ` Lars Ingebrigtsen [this message]
2019-11-02 14:58       ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875zk2fht6.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=26996@debbugs.gnu.org \
    --cc=dav02.davs@myths.ru \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).