From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark Karpov Newsgroups: gmane.emacs.bugs Subject: bug#20943: 25.0.50; Dired buffers are not always auto-reverted Date: Fri, 10 Jul 2015 12:20:47 +0600 Message-ID: <871tggttxc.fsf@openmailbox.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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1436509529 14941 80.91.229.3 (10 Jul 2015 06:25:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Jul 2015 06:25:29 +0000 (UTC) Cc: 20943@debbugs.gnu.org, michael.albinus@gmx.de To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 10 08:25:12 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 1ZDRkF-0000At-5d for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Jul 2015 08:25:11 +0200 Original-Received: from localhost ([::1]:43225 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZDRkE-0002bk-Af for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Jul 2015 02:25:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZDRkA-0002be-VM for bug-gnu-emacs@gnu.org; Fri, 10 Jul 2015 02:25:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZDRk7-0004Bo-5l for bug-gnu-emacs@gnu.org; Fri, 10 Jul 2015 02:25:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44361) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZDRk7-0004BL-31 for bug-gnu-emacs@gnu.org; Fri, 10 Jul 2015 02:25:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZDRk6-00020j-3B for bug-gnu-emacs@gnu.org; Fri, 10 Jul 2015 02:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mark Karpov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Jul 2015 06:25:02 +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.14365094777690 (code B ref 20943); Fri, 10 Jul 2015 06:25:02 +0000 Original-Received: (at 20943) by debbugs.gnu.org; 10 Jul 2015 06:24:37 +0000 Original-Received: from localhost ([127.0.0.1]:45807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZDRjg-0001zx-PB for submit@debbugs.gnu.org; Fri, 10 Jul 2015 02:24:37 -0400 Original-Received: from smtp12.openmailbox.org ([62.4.1.46]:40389) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZDRje-0001zp-IC for 20943@debbugs.gnu.org; Fri, 10 Jul 2015 02:24:35 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail2.openmailbox.org (Postfix) with ESMTP id 5F9FC202134; Fri, 10 Jul 2015 08:24:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=openmailbox.org; h=content-transfer-encoding:content-type:content-type :mime-version:user-agent:message-id:in-reply-to:date:date :references:subject:subject:from:from:received; s=openmailbox; t=1436509471; bh=hz2G2zYOQOV2e9cYypi2sbw9PnnKnGIWzV4qP/wdVEA=; b= Uc2HGxpqGMtYneaVXvybfrrBlnazOc412xll/iac5ofgnIVYLG23mWrxUOqeRyot 8WMf0ZIMjP3KCsZUmddfOkA71bJp6Oo44OtBT5p8xgVZ+Yp3HZt9MZgQy8l3+QBL sbBeeZmG3XDC0XviemBfXgIwnEUyJ5ZB5zvGpstU6Cc= X-Virus-Scanned: amavisd-new at openmailbox.org Original-Received: from mail2.openmailbox.org ([62.4.1.33]) by localhost (mail.openmailbox.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ii1wBhTJcVxm; Fri, 10 Jul 2015 08:24:31 +0200 (CEST) In-Reply-To: <83si8wbm9i.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 10 Jul 2015 08:43:37 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) 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:104875 Archived-At: Eli Zaretskii writes: > No one's disputing that. The only issue we need to resolve is how to > let Dired buffers auto-revert even when the user actually edits the > directory, without causing unnecessary re-reads of the directory (for > the sake of remote directories). Those who need to work with remote directories could disable this feature (=E2=80=98auto-revert-mode=E2=80=99 or =E2=80=98global-auto-revert-= non-file-buffers=E2=80=99). This feature certainly requires more re-reads by definition. There will be no =E2=80=9Cunnecessary=E2=80=9D re-reads, however: * =E2=80=98auto-revert-handler=E2=80=99 will re-read directory only if it's= stale; * other editing functions will call =E2=80=98auto-revert-handler=E2=80=99 s= ooner than it would be normally called, but number of re-reads remains the same (after call of =E2=80=98auto-revert-handler=E2=80=99 buffer will be no lo= nger stale).