From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20943: 25.0.50; Dired buffers are not always auto-reverted Date: Fri, 10 Jul 2015 11:03:14 +0300 Message-ID: <83h9pcbfst.fsf@gnu.org> References: <87y4j1oy87.fsf@openmailbox.org> <87pp41cvl1.fsf@openmailbox.org> <83615tv14o.fsf@gnu.org> <874mldtkl9.fsf@openmailbox.org> <874mld18cx.fsf@gmx.de> <87egkh3yav.fsf@openmailbox.org> <83si8wbm9i.fsf@gnu.org> <871tggttxc.fsf@openmailbox.org> <83k2u8bi4g.fsf@gnu.org> <87twtcsbdo.fsf@openmailbox.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1436515464 13977 80.91.229.3 (10 Jul 2015 08:04:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Jul 2015 08:04:24 +0000 (UTC) Cc: 20943@debbugs.gnu.org, michael.albinus@gmx.de To: Mark Karpov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 10 10:04:13 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZDTI3-0001P2-SR for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Jul 2015 10:04:12 +0200 Original-Received: from localhost ([::1]:43478 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZDTI2-00034y-Dh for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Jul 2015 04:04:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41929) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZDTHz-00034r-7q for bug-gnu-emacs@gnu.org; Fri, 10 Jul 2015 04:04:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZDTHu-0001Ez-BC for bug-gnu-emacs@gnu.org; Fri, 10 Jul 2015 04:04:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44462) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZDTHu-0001Ev-7u for bug-gnu-emacs@gnu.org; Fri, 10 Jul 2015 04:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZDTHt-0004bn-Sz for bug-gnu-emacs@gnu.org; Fri, 10 Jul 2015 04:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Jul 2015 08:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20943 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20943-submit@debbugs.gnu.org id=B20943.143651540617652 (code B ref 20943); Fri, 10 Jul 2015 08:04:01 +0000 Original-Received: (at 20943) by debbugs.gnu.org; 10 Jul 2015 08:03:26 +0000 Original-Received: from localhost ([127.0.0.1]:45908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZDTHK-0004ad-3o for submit@debbugs.gnu.org; Fri, 10 Jul 2015 04:03:26 -0400 Original-Received: from mtaout26.012.net.il ([80.179.55.182]:52487) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZDTHH-0004aI-He for 20943@debbugs.gnu.org; Fri, 10 Jul 2015 04:03:24 -0400 Original-Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NR900C00IDWU500@mtaout26.012.net.il> for 20943@debbugs.gnu.org; Fri, 10 Jul 2015 11:06:14 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NR9005F7IIEOF70@mtaout26.012.net.il>; Fri, 10 Jul 2015 11:06:14 +0300 (IDT) In-reply-to: <87twtcsbdo.fsf@openmailbox.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:104881 Archived-At: > From: Mark Karpov > Cc: michael.albinus@gmx.de, 20943@debbugs.gnu.org > Date: Fri, 10 Jul 2015 13:46:43 +0600 > > > You're saying: > > > Why is such a different logic a good idea? If the user requests > > auto-reverts in a remote directory, she should get what she asked for, > > IMO. It would be confusing to have different results depending on > > whether the directory is local or not. > > >From this I understand that you are in favor of “dynamic” > auto-revert-mode for remote directories. This makes sense, if user > chooses to auto-revert Dired buffers, ‘she should get what she asked > for’ — that's right. > > > But the price is the need to re-read remote directories, and we want > > to avoid that price, if possible. > > But this is not possible. This contradicts with the previous > quotation. Only because you take my quotation out of its context. What we want to avoid is the price of re-reading the directory when the user copies or deletes or renames a file via Dired commands, _as-an_immediate_result_ of these commands. We cannot possibly avoid re-reading it when the time comes to check if the buffer is stale and needs to be reverted. IOW, the directory _will_ be re-read, but only when the notification about some changes comes in or the 5-sec timer for checking whether the directory is stale expires. it will _not_ be re-read as result of your copying or deleting a file.