From debbugs-submit-bounces@debbugs.gnu.org Fri May 19 11:07:44 2017 Received: (at submit) by debbugs.gnu.org; 19 May 2017 15:07:44 +0000 Received: from localhost ([127.0.0.1]:55499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dBjVH-000607-8L for submit@debbugs.gnu.org; Fri, 19 May 2017 11:07:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53124) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dBh8p-0000VN-Vg for submit@debbugs.gnu.org; Fri, 19 May 2017 08:36:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dBh8i-0000px-GE for submit@debbugs.gnu.org; Fri, 19 May 2017 08:36:18 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_SORBS_SPAM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:46957) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dBh8i-0000pt-CE for submit@debbugs.gnu.org; Fri, 19 May 2017 08:36:16 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBh8f-0006Kv-Qn for bug-gnu-emacs@gnu.org; Fri, 19 May 2017 08:36:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dBh8c-0000oF-Ki for bug-gnu-emacs@gnu.org; Fri, 19 May 2017 08:36:13 -0400 Received: from mail-ua0-f178.google.com ([209.85.217.178]:36455) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dBh8c-0000nu-E6 for bug-gnu-emacs@gnu.org; Fri, 19 May 2017 08:36:10 -0400 Received: by mail-ua0-f178.google.com with SMTP id j17so24866037uag.3 for ; Fri, 19 May 2017 05:36:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=1u2VEjSIKCaVLyszmUskhbLLOcweWkDOYNscBfvjnQk=; b=inD9Ab+vpN8E/0iyTlFP3iUlOHhvIe/qWGuQCVa8oYCoYL46oc36poKVF3j3VjvJ13 RypSrEgM0p3Rt50TOb7qr6oxcJ+LuB81vXseU37nW0gzXSC0WU3rQKmcIHMKSss4UjwJ MARSL4zsjtIKW3nSL1tSgz567iii7xuDsKdLoy4JkPPnEE4hQOjFxBTDXS7fNQ8oFED0 xydnUnh5Ngkq7m1+BpJRjJR4KGRIldIxwWnQL57tohJyGwfJRxqqqH6YbWSWPRQL55N6 wluO29Wc/L1HWOPVpPYFDStAoC3KrjUhemnryzYc/NPlPmSvYn/bU0wi8e6t+WVvayQi YBTw== X-Gm-Message-State: AODbwcB9HHWn93dSyxrG/5gaVgzYLACofif6sNED26Owiz6THvAej9Ir 8fwqsAv1aAolmOCaO6NvWB92sFitVlqo X-Received: by 10.176.2.98 with SMTP id 89mr4621782uas.152.1495197368861; Fri, 19 May 2017 05:36:08 -0700 (PDT) MIME-Version: 1.0 From: Iakov Davydov Date: Fri, 19 May 2017 12:35:58 +0000 Message-ID: Subject: 25.1; doc-view-revert-buffer doesn't detect file change while using tramp To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="001a113e22de0a4667054fdfc4c5" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 19 May 2017 11:07:41 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --001a113e22de0a4667054fdfc4c5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, I have problem with reverting buffer when opening pdf via tramp. This happens in emacs 24 and emacs 25, with different version of tramp. Steps to reproduce are like this: 1. Open pdf with tramp over ssh -> DocView mode. 2. Update the pdf somehow on the server. 3. Press 'g' to revert buffer (doc-view-revert-buffer) -> "yes". If the pdf was updated, I expect to see an updated pdf. Instead I see an old pdf. On tramp-mailing list I was told that this is a bug in doc-view-revert-buffer and therefore I have to report is as emacs bug. Here's a response from Michael Albinus: <=3D=3D=3D> I've checked doc-view-revert-buffer. It works over doc-view--buffer-file-name. So it doesn't detect a changed pdf, see its docstring: --8<---------------cut here---------------start------------->8--- doc-view--buffer-file-name is a variable defined in =E2=80=98doc-view.el=E2= =80=99. Its value is "/tmp/docview1000/123.pdf" Local in buffer 123.pdf; global value is nil Documentation: Only used internally. The file name used for conversion. Normally it=E2=80=99s the same as =E2=80=98buffer-file-name=E2=80=99, but for remote files, compressed files = and files inside an archive it is a temporary copy of the (uncompressed, extracted) file residing in =E2=80=98doc-view-cache-directory=E2=80=99. --8<---------------cut here---------------end--------------->8--- Nothing Tramp could do. I recommend to write an Emacs bug. <=3D=3D=3D> Is there a way to correct this behavior? Thank you, Iakov In GNU Emacs 25.1.2 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2016-09-29 built on lcy01-19 Windowing system distributor 'The X.Org Foundation', version 11.0.11804000 System Description: Ubuntu 16.04.2 LTS Configured using: 'configure --build=3Dx86_64-linux-gnu --prefix=3D/usr '--includedir=3D${prefix}/include' '--mandir=3D${prefix}/share/man' '--infodir=3D${prefix}/share/info' --sysconfdir=3D/etc --localstatedir=3D/v= ar --disable-silent-rules '--libdir=3D${prefix}/lib/x86_64-linux-gnu' '--libexecdir=3D${prefix}/lib/x86_64-linux-gnu' --disable-maintainer-mode --disable-dependency-tracking --prefix=3D/usr --sharedstatedir=3D/var/lib --program-suffix=3D25 --with-modules --with-x=3Dyes --with-x-toolkit=3Dgtk3 'CFLAGS=3D-g -O2 -fstack-protector-strong -Wformat -Werror=3Dformat-security' 'CPPFLAGS=3D-Wdate-time -D_FORTIFY_SOURCE=3D2' 'LDFLAGS=3D-Wl,-Bsymbolic-functions -Wl,-z,relro'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES Important settings: value of $LC_MONETARY: en_US.UTF-8 value of $LC_NUMERIC: en_US.UTF-8 value of $LC_TIME: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: DocView Minor modes in effect: helm-mode: t shell-dirtrack-mode: t async-bytecomp-package-mode: t show-paren-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: /usr/share/emacs/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/25.1/lisp/textmodes/flyspell /usr/share/emacs/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/25.1/lisp/textmodes/ispell /usr/share/emacs/site-lisp/latex-cjk-thai/thai-word hides /usr/share/emacs/25.1/lisp/language/thai-word Features: (shadow sort mail-extr emacsbug message rfc822 mml mml-sec epg mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils helm-command helm-elisp helm-eval edebug doc-view jka-compr image-mode imenu ido ess-toolbar ess-mouse mouseme ess-swv ess-noweb ess-noweb-font-lock-mode ess-bugs-l ess-sas-d ess-sas-l ess-sas-a ess-stata-mode ess-stata-lang cc-vars cc-defs make-regexp essd-els ess-sp6-d ess-dde ess-sp3-d ess-julia julia-mode ess-r-mode ess-r-package ess-r-syntax ess-r-completion subr-x ess-roxy essddr ess-rd noutline outline hideshow ess-s-lang ess-help ess ess-mode ess-noweb-mode ess-inf ess-tracebug ess-generics ess-custom executable ess-compat ess-utils ess-site winner tramp-sh image-file tramp-cache expand-region text-mode-expansions er-basic-expansions expand-region-core expand-region-custom yasnippet multiple-cursors mc-hide-unmatched-lines-mode mc-separate-operations rectangular-region-mode mc-mark-pop mc-mark-more mc-cycle-cursors mc-edit-lines multiple-cursors-core rect ace-jump-mode helm-mode helm-files rx image-dired tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell pcomplete dired-x dired-aux ffap thingatpt helm-buffers helm-tags helm-bookmark helm-adaptive helm-info bookmark pp helm-locate helm-grep helm-regexp helm-external helm-net browse-url xml url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse auth-source gnus-util mm-util help-fns mail-prsvr password-cache url-vars mailcap helm-utils compile comint ansi-color ring helm-help helm-types helm helm-source helm-multi-match helm-lib dired helm-config helm-easymenu async-bytecomp async gruvbox-theme autothemer dash poly-R poly-markdown poly-noweb easy-mmode polymode poly-base polymode-weave polymode-export polymode-debug polymode-methods poly-lock polymode-compat advice polymode-classes eieio-compat polymode-core format-spec eieio-custom wid-edit eieio-base cl-seq eieio eieio-core cl-macs color cl finder-inf 2048-game-autoloads epc-autoloads ctable-autoloads python-environment-autoloads info package epg-config seq byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv edmacro kmacro cl-loaddefs pcase cl-lib paren whitespace cyril-util time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 435367 24144) (symbols 48 40862 0) (miscs 40 903 433) (strings 32 91922 13447) (string-bytes 1 2684221) (vectors 16 62432) (vector-slots 8 1113780 9034) (floats 8 1231 262) (intervals 56 600 171) (buffers 976 35) (heap 1024 66505 4276)) --=20 Iakov Davydov Postdoc, Department of Ecology and Evolution, University of Lausanne Swiss Institute of Bioinformatics --001a113e22de0a4667054fdfc4c5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,
I have problem with reverting buffer when opening pdf via tramp.
This happens in emacs 24 and emacs 25, with different version of tramp.=C2=A0
=C2=A0
S= teps to reproduce are like this:
1. Open pdf with tramp over ssh -> DocView mode.
2. Update the pdf somehow on the server.
3. Press 'g' to revert buffer (doc-view-revert-buffer) -> "= ;yes".

If the pdf was updated, I expect to see an updated pdf. Instead I see an
old pdf.

On tramp-mailing list I was told that this is a bug in
doc-view-revert-buffer and therefore I have to report is as emacs bug.

Here's a response from Michael Albinus:
<=3D=3D=3D>
I've checked doc-view-revert-buffer. It works over
doc-view--buffer-file-name. So it doesn't detect a changed pdf, see its
docstring:

--8<---------------cut here---------------start------------->8---
doc-view--buffer-file-name is a variable defined in =E2=80=98doc-view.el=E2= =80=99.
Its value is "/tmp/docview1000/123.pdf"
Local in buffer 123.pdf</ssh:host:>; global value is nil

Documentation:
Only used internally.
The file name used for conversion. Normally it=E2=80=99s the same as
=E2=80=98buffer-file-name=E2=80=99, but for remote files, compressed files = and
files inside an archive it is a temporary copy of
the (uncompressed, extracted) file residing in
=E2=80=98doc-view-cache-directory=E2=80=99.
--8<---------------cut here---------------end--------------->8---

Nothing Tramp could do. I recommend to write an Emacs bug.
<=3D=3D=3D>

Is there a way to correct this behavior?

Thank you,
Iakov





In GNU Emacs 25.1.2 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9)
of 2016-09-29 built on lcy01-19
Windowing system distributor 'The X.Org Foundation', version 11.0.1= 1804000
System Description: Ubuntu 16.04.2 LTS

Configured using:
'configure --build=3Dx86_64-linux-gnu --prefix=3D/usr
'--includedir=3D${prefix}/include' '--mandir=3D${prefix}/share= /man'
'--infodir=3D${prefix}/share/info' --sysconfdir=3D/etc --localstat= edir=3D/var
--disable-silent-rules '--libdir=3D${prefix}/lib/x86_64-linux-gnu'
'--libexecdir=3D${prefix}/lib/x86_64-linux-gnu' --disable-maintain= er-mode
--disable-dependency-tracking --prefix=3D/usr --sharedstatedir=3D/var/lib
--program-suffix=3D25 --with-modules --with-x=3Dyes --with-x-toolkit=3Dgtk= 3
'CFLAGS=3D-g -O2 -fstack-protector-strong -Wformat
-Werror=3Dformat-security' 'CPPFLAGS=3D-Wdate-time -D_FORTIFY_SOUR= CE=3D2'
'LDFLAGS=3D-Wl,-Bsymbolic-functions -Wl,-z,relro''

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 MODULES

Important settings:
value of $LC_MONETARY: en_US.UTF-8
value of $LC_NUMERIC: en_US.UTF-8
value of $LC_TIME: en_US.UTF-8
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix

Major mode: DocView

Minor modes in effect:
helm-mode: t
shell-dirtrack-mode: t
async-bytecomp-package-mode: t
show-paren-mode: t
tooltip-mode: t
global-eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
buffer-read-only: t
line-number-mode: t
transient-mark-mode: t


Load-path shadows:
/usr/share/emacs/site-lisp/dictionaries-common/flyspell hides /usr/share/em= acs/25.1/lisp/textmodes/flyspell
/usr/share/emacs/site-lisp/dictionaries-common/ispell hides /usr/share/emac= s/25.1/lisp/textmodes/ispell
/usr/share/emacs/site-lisp/latex-cjk-thai/thai-word hides /usr/share/emacs/= 25.1/lisp/language/thai-word

Features:
(shadow sort mail-extr emacsbug message rfc822 mml mml-sec epg mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
sendmail rfc2047 rfc2045 ietf-drums mail-utils helm-command helm-elisp
helm-eval edebug doc-view jka-compr image-mode imenu ido ess-toolbar
ess-mouse mouseme ess-swv ess-noweb ess-noweb-font-lock-mode ess-bugs-l
ess-sas-d ess-sas-l ess-sas-a ess-stata-mode ess-stata-lang cc-vars
cc-defs make-regexp essd-els ess-sp6-d ess-dde ess-sp3-d ess-julia
julia-mode ess-r-mode ess-r-package ess-r-syntax ess-r-completion subr-x
ess-roxy essddr ess-rd noutline outline hideshow ess-s-lang ess-help ess
ess-mode ess-noweb-mode ess-inf ess-tracebug ess-generics ess-custom
executable ess-compat ess-utils ess-site winner tramp-sh image-file
tramp-cache expand-region text-mode-expansions er-basic-expansions
expand-region-core expand-region-custom yasnippet multiple-cursors
mc-hide-unmatched-lines-mode mc-separate-operations
rectangular-region-mode mc-mark-pop mc-mark-more mc-cycle-cursors
mc-edit-lines multiple-cursors-core rect ace-jump-mode helm-mode
helm-files rx image-dired tramp tramp-compat tramp-loaddefs trampver
ucs-normalize shell pcomplete dired-x dired-aux ffap thingatpt
helm-buffers helm-tags helm-bookmark helm-adaptive helm-info bookmark pp
helm-locate helm-grep helm-regexp helm-external helm-net browse-url xml
url url-proxy url-privacy url-expand url-methods url-history url-cookie
url-domsuf url-util url-parse auth-source gnus-util mm-util help-fns
mail-prsvr password-cache url-vars mailcap helm-utils compile comint
ansi-color ring helm-help helm-types helm helm-source helm-multi-match
helm-lib dired helm-config helm-easymenu async-bytecomp async
gruvbox-theme autothemer dash poly-R poly-markdown poly-noweb easy-mmode
polymode poly-base polymode-weave polymode-export polymode-debug
polymode-methods poly-lock polymode-compat advice polymode-classes
eieio-compat polymode-core format-spec eieio-custom wid-edit eieio-base
cl-seq eieio eieio-core cl-macs color cl finder-inf 2048-game-autoloads
epc-autoloads ctable-autoloads python-environment-autoloads info package
epg-config seq byte-opt gv bytecomp byte-compile cl-extra help-mode
easymenu cconv edmacro kmacro cl-loaddefs pcase cl-lib paren whitespace
cyril-util time-date mule-util tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment
elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan
thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian
slovak czech european ethiopic indian cyrillic chinese charscript
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote dbusbind inotify
dynamic-setting system-font-setting font-render-setting move-toolbar gtk
x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 435367 24144)
(symbols 48 40862 0)
(miscs 40 903 433)
(strings 32 91922 13447)
(string-bytes 1 2684221)
(vectors 16 62432)
(vector-slots 8 1113780 9034)
(floats 8 1231 262)
(intervals 56 600 171)
(buffers 976 35)
(heap 1024 66505 4276))=C2=A0
--
Iakov Davydo= v
Postdoc, Department of Ecology and Evolution= , University of Lausanne
Swiss Institute of Bioinformatics=
--001a113e22de0a4667054fdfc4c5-- From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 29 08:59:11 2019 Received: (at 26996) by debbugs.gnu.org; 29 Sep 2019 12:59:11 +0000 Received: from localhost ([127.0.0.1]:52575 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEYn9-0001xG-6H for submit@debbugs.gnu.org; Sun, 29 Sep 2019 08:59:11 -0400 Received: from quimby.gnus.org ([80.91.231.51]:53844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEYn7-0001x4-I5 for 26996@debbugs.gnu.org; Sun, 29 Sep 2019 08:59:10 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iEYn3-0000t0-8o; Sun, 29 Sep 2019 14:59:07 +0200 From: Lars Ingebrigtsen To: Iakov Davydov Subject: Re: bug#26996: 25.1; doc-view-revert-buffer doesn't detect file change while using tramp References: Date: Sun, 29 Sep 2019 14:59:05 +0200 In-Reply-To: (Iakov Davydov's message of "Fri, 19 May 2017 12:35:58 +0000") Message-ID: <87sgofl0me.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Iakov Davydov writes: > I have problem with reverting buffer when opening pdf via tramp. > This happens in emacs 24 and emacs 25, with different version of tramp. > > Steps to reproduce are like this: > 1. Open pdf with tr [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 26996 Cc: 26996@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Iakov Davydov writes: > I have problem with reverting buffer when opening pdf via tramp. > This happens in emacs 24 and emacs 25, with different version of tramp. > > Steps to reproduce are like this: > 1. Open pdf with tramp over ssh -> DocView mode. > 2. Update the pdf somehow on the server. > 3. Press 'g' to revert buffer (doc-view-revert-buffer) -> "yes". > > If the pdf was updated, I expect to see an updated pdf. Instead I see an > old pdf. I managed to reproduce this in Emacs 27, and it should now be fixed. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 29 08:59:16 2019 Received: (at control) by debbugs.gnu.org; 29 Sep 2019 12:59:16 +0000 Received: from localhost ([127.0.0.1]:52578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEYnD-0001xY-EQ for submit@debbugs.gnu.org; Sun, 29 Sep 2019 08:59:16 -0400 Received: from quimby.gnus.org ([80.91.231.51]:53858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEYnC-0001xQ-E1 for control@debbugs.gnu.org; Sun, 29 Sep 2019 08:59:14 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iEYn9-0000t8-KS for control@debbugs.gnu.org; Sun, 29 Sep 2019 14:59:13 +0200 Date: Sun, 29 Sep 2019 14:59:11 +0200 Message-Id: <87r23zl0m8.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #26996 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 26996 fixed close 26996 27.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 26996 fixed close 26996 27.1 quit From unknown Fri Jun 20 07:10:27 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 28 Oct 2019 11:24:18 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 01 16:22:04 2019 Received: (at control) by debbugs.gnu.org; 1 Nov 2019 20:22:04 +0000 Received: from localhost ([127.0.0.1]:57290 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQdQq-0005IL-BC for submit@debbugs.gnu.org; Fri, 01 Nov 2019 16:22:04 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:33124) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQdQo-0005Hp-Eh for control@debbugs.gnu.org; Fri, 01 Nov 2019 16:22:02 -0400 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id B912B81231; Fri, 1 Nov 2019 16:21:56 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 24AFE806A2; Fri, 1 Nov 2019 16:21:55 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1572639715; bh=vz/G3xdPpTrT9m3aXl0mKm4EME5rR7pTR+5P04NnsEs=; h=From:To:Subject:References:Date:In-Reply-To:From; b=lQouFxZ0+3jGejiCpIWslf9GiYtUmGsqR5HVzQ0UwyhFSJsYAfD86MATlYiuRRGhM MqnZeTk06w7G1fCDh2tse8q/eiAxdjkkt0u6k94gASYrsqrGH6zwNvfliJ1l2EMbXV 36VbnpSvgxaLur2awj06n0QNxWy0stfcxyFCQgYblXICmWXQKjU82WeBkNh/jhU3aN 62Shc67wrZlql9ecFcrKFiX6Un7a+dmzGImG+FJiSahKW1MKGg4MzM5Nysc1SB+mNr mupD2vo5sGbN8n03fgeZDVwUcKJGsbe0EWrVJHO7vJVMUYSfuq34bE3DJT4009zP+J SJpdG+hWAhbnw== Received: from pastel (unknown [45.72.255.86]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 9AA52120786; Fri, 1 Nov 2019 16:21:54 -0400 (EDT) From: Stefan Monnier To: control@debbugs.gnu.org (GNU bug Tracking System) Subject: Re: Archived problem report bug#26996 (bug#26996: 25.1; doc-view-revert-buffer doesn't detect file change while using tramp) Message-ID: References: Date: Fri, 01 Nov 2019 16:21:53 -0400 In-Reply-To: (GNU bug Tracking System's message of "Fri, 01 Nov 2019 20:08:01 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.039 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) unarchive 26996 From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 01 16:25:19 2019 Received: (at 26996) by debbugs.gnu.org; 1 Nov 2019 20:25:19 +0000 Received: from localhost ([127.0.0.1]:57308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQdTy-0005Pk-O2 for submit@debbugs.gnu.org; Fri, 01 Nov 2019 16:25:18 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:50084) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQdTx-0005PU-IL for 26996@debbugs.gnu.org; Fri, 01 Nov 2019 16:25:17 -0400 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id C236E81231; Fri, 1 Nov 2019 16:25:11 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 1E085806A2; Fri, 1 Nov 2019 16:25:10 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1572639910; bh=ySA2fqUbV6ZoQ4mRrfCYKp2xwtHSIvh7rnyKvDKFoyw=; h=Resent-To:Resent-From:Resent-Date:From:To:Cc:Subject:References: Date:In-Reply-To:From; b=OJPXr3nuEJle6RzXfCxBOKnKreVK04PyyhQCrQwrOO6LLMtMB8budGVDBDjzeF6E8 h3pqxk6rSBcFugBB+5JAIoCh7uqNpJnIUo4Uzhw2ODVIb26PGkCUA6g7B21w1NM+v7 z1AifQ55vCjQvz0O54QqcAiM1diozgLIQ9Nb2ySNWvExPtpaiEHnXcuu7xMuhAmt5f ilSsVzbp+9ZZ1KKROI5ghCArSJgm4/hYHX4qNdApNFgAVoCvfdGPEaGG5AvNOV3YsJ 9CC2btS8lqA4s9W469aB/jFRy/diy9g3k3t6D20ZrQPHzROA7olcmhgH6h2atYh+B8 wKGIjbGCZV1iA== Received: from pastel (unknown [45.72.255.86]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 5163E1202A4; Fri, 1 Nov 2019 16:25:09 -0400 (EDT) Resent-Content-Type: text/x-markdown; charset=UTF-8 Resent-Message-ID: Resent-To: 26996@debbugs.gnu.org Resent-From: Stefan Monnier Resent-Date: Fri, 01 Nov 2019 16:25:06 -0400 Received: from mail01.iro.umontreal.ca by mail01.iro.umontreal.ca with LMTP id sAXZNHeQvF3AcgAASs+2LQ for ; Fri, 01 Nov 2019 16:07:19 -0400 Received: from mailscanner.iro.umontreal.ca (pmg1.iro.umontreal.ca [172.31.2.40]) by mail01.iro.umontreal.ca (Postfix) with ESMTPS id 946E714024E for ; Fri, 1 Nov 2019 16:07:19 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1572638839; bh=ySA2fqUbV6ZoQ4mRrfCYKp2xwtHSIvh7rnyKvDKFoyw=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=KqY2b5wMjCIwhfbo3KiUZ8iD7gl1vWqt7uMJMEqO2sPsKFLvVZ/xyY4bPq9V6zNBw MtfrRs+Tckdyd/8h7M/GFqvrxAqrEirHnDsdBbUmjtxbPEYD6fxu4GYroWnj0KH50F RWrjxBedWDCZ91sXfVZxBv3NgjCXxIsgR0B19KvWCH7XuNYB7Wh8rJP0YouhcY4f/J CmrP8JrKM+gOLbZsN0oYVYU3+few0z1xFuytQqzQn15rVFkoWIkoStkaK51HIK8q0H JH9TbcJWbqbMNJLzr3jmpq7G1QLc+inM5UXDedMfrZAq5e64cTIpX2eK6yUOFBYkyk Pt2AeCCJY/p1Q== Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 6F95D10060F; Fri, 1 Nov 2019 16:07:19 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id EE0C91004B3; Fri, 1 Nov 2019 16:07:17 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1572638838; bh=ySA2fqUbV6ZoQ4mRrfCYKp2xwtHSIvh7rnyKvDKFoyw=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=k2LGYliN3SATmXwzcSbGDWvb61fvOPnfDfifSXakjaG7pX3KEEHEvm3jDdlKVGmqA VMC4JFI+DSUM5aW8pvltZTl4xGxMoGdCnrXHyYAVuRPVMZaQn6ApsKGyDxZmp4n6vV zH5gbFGmeJ8LRO48m5bpMeIqcD1cJjl1H+/zYaaOJZRWqNQ42b8ShxA8oDr4ZZo5Fh 1uO7grSKLrpXjJ/6ujy9SSyEp2UBD4pHPxVngAbicfbfmXchlSJTarM1ddazFFnyM4 OAQ1MOsU0sRJo+f4leQ+xnTVk+TGmwv8lMHe05iFCPs2QC6ghiUZgM/NIRfu0TVAoS uoM3E1yH6O3UQ== Received: from pastel (unknown [45.72.255.86]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id B7D0B1206E3; Fri, 1 Nov 2019 16:07:17 -0400 (EDT) From: Stefan Monnier To: Lars Ingebrigtsen Subject: Re: bug#26996: 25.1; doc-view-revert-buffer doesn't detect file change while using tramp Message-ID: References: <87sgofl0me.fsf@gnus.org> Date: Fri, 01 Nov 2019 16:07:15 -0400 In-Reply-To: <87sgofl0me.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 29 Sep 2019 14:59:05 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -1.110 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DCC_CHECK 1.1 Detected as bulk mail by DCC (dcc-servers.net) DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain FSL_BULK_SIG 1.044 Bulk signature with no Unsubscribe X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 26996 Cc: Iakov Davydov , 26996@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) >> I have problem with reverting buffer when opening pdf via tramp. >> This happens in emacs 24 and emacs 25, with different version of tramp. >> >> Steps to reproduce are like this: >> 1. Open pdf with tramp over ssh -> DocView mode. >> 2. Update the pdf somehow on the server. >> 3. Press 'g' to revert buffer (doc-view-revert-buffer) -> "yes". >> >> If the pdf was updated, I expect to see an updated pdf. Instead I see an >> old pdf. > > I managed to reproduce this in Emacs 27, and it should now be fixed. 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. 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? Stefan diff --git a/lisp/doc-view.el b/lisp/doc-view.el index 5f9d4fcc2f..457e4325cf 100644 --- a/lisp/doc-view.el +++ b/lisp/doc-view.el @@ -457,9 +457,11 @@ doc-view--revert-buffer (apply orig-fun args) ;; Update the cached version of the pdf file, ;; too. This is the one that's used when - ;; rendering. - (doc-view-make-safe-dir doc-view-cache-directory) - (write-region nil nil doc-view--buffer-file-name)))) + ;; rendering (bug#26996). + (unless (equal buffer-file-name + doc-view--buffer-file-name) + (doc-view-make-safe-dir doc-view-cache-directory) + (write-region nil nil doc-view--buffer-file-name))))) (if (and (eq 'pdf doc-view-doc-type) (executable-find "pdfinfo")) ;; We don't want to revert if the PDF file is corrupted which From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 02 10:56:28 2019 Received: (at 26996) by debbugs.gnu.org; 2 Nov 2019 14:56:28 +0000 Received: from localhost ([127.0.0.1]:32832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQupI-0008Hz-3F for submit@debbugs.gnu.org; Sat, 02 Nov 2019 10:56:28 -0400 Received: from quimby.gnus.org ([80.91.231.51]:56240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQupG-0008Hq-6q for 26996@debbugs.gnu.org; Sat, 02 Nov 2019 10:56:26 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iQupB-0003cq-Mz; Sat, 02 Nov 2019 15:56:24 +0100 From: Lars Ingebrigtsen To: Stefan Monnier Subject: Re: bug#26996: 25.1; doc-view-revert-buffer doesn't detect file change while using tramp References: <87sgofl0me.fsf@gnus.org> Date: Sat, 02 Nov 2019 15:56:21 +0100 In-Reply-To: (Stefan Monnier's message of "Fri, 01 Nov 2019 16:07:15 -0400") Message-ID: <875zk2fht6.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Monnier 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 ne [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 26996 Cc: Iakov Davydov , 26996@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Stefan Monnier 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 From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 02 10:58:51 2019 Received: (at 26996) by debbugs.gnu.org; 2 Nov 2019 14:58:51 +0000 Received: from localhost ([127.0.0.1]:32840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQura-0008M4-RG for submit@debbugs.gnu.org; Sat, 02 Nov 2019 10:58:51 -0400 Received: from quimby.gnus.org ([80.91.231.51]:56288) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQurZ-0008Lw-Sp for 26996@debbugs.gnu.org; Sat, 02 Nov 2019 10:58:50 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iQurV-0003eU-2D; Sat, 02 Nov 2019 15:58:48 +0100 From: Lars Ingebrigtsen To: Stefan Monnier Subject: Re: bug#26996: 25.1; doc-view-revert-buffer doesn't detect file change while using tramp References: <87sgofl0me.fsf@gnus.org> <875zk2fht6.fsf@gnus.org> Date: Sat, 02 Nov 2019 15:58:44 +0100 In-Reply-To: <875zk2fht6.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 02 Nov 2019 15:56:21 +0100") Message-ID: <87wocie34r.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > Stefan Monnier writes: > >> Hmm... but now auto-revert loops forever: >> updating the file -> triggers auto-revert -> your new code >> saves the buffer to the file -> trig [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 26996 Cc: Iakov Davydov , 26996@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lars Ingebrigtsen writes: > Stefan Monnier 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 apply. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Fri Jun 20 07:10:27 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 01 Dec 2019 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator