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-reverterd Date: Fri, 03 Jul 2015 18:37:55 +0600 Message-ID: <8738158li4.fsf@openmailbox.org> References: <87y4j1oy87.fsf@openmailbox.org> <83bnfx2ckn.fsf@gnu.org> <87y4j0fj8m.fsf@openmailbox.org> <831tgr3np9.fsf@gnu.org> <87r3ort2bp.fsf@openmailbox.org> <83egkq1uj4.fsf@gnu.org> <87egkplmpw.fsf@openmailbox.org> <83wpyhzma4.fsf@gnu.org> <87a8vdlguy.fsf@openmailbox.org> <83si95zbjr.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 1435927345 11993 80.91.229.3 (3 Jul 2015 12:42:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 3 Jul 2015 12:42:25 +0000 (UTC) To: Eli Zaretskii , <20943@debbugs.gnu.org> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 03 14:42:10 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 1ZB0ID-0000v7-LF for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Jul 2015 14:42:09 +0200 Original-Received: from localhost ([::1]:40999 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZB0IC-0001WL-OG for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Jul 2015 08:42:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZB0I9-0001WD-Cb for bug-gnu-emacs@gnu.org; Fri, 03 Jul 2015 08:42:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZB0I6-0004bZ-LK for bug-gnu-emacs@gnu.org; Fri, 03 Jul 2015 08:42:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36862) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZB0I6-0004bS-IF for bug-gnu-emacs@gnu.org; Fri, 03 Jul 2015 08:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZB0I6-0002LQ-9T for bug-gnu-emacs@gnu.org; Fri, 03 Jul 2015 08:42: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, 03 Jul 2015 12:42: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.14359272878962 (code B ref 20943); Fri, 03 Jul 2015 12:42:02 +0000 Original-Received: (at 20943) by debbugs.gnu.org; 3 Jul 2015 12:41:27 +0000 Original-Received: from localhost ([127.0.0.1]:38308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZB0HW-0002KT-Fa for submit@debbugs.gnu.org; Fri, 03 Jul 2015 08:41:26 -0400 Original-Received: from smtp4.openmailbox.org ([62.4.1.38]:42582) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZB0HT-0002KK-O0 for 20943@debbugs.gnu.org; Fri, 03 Jul 2015 08:41:24 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail2.openmailbox.org (Postfix) with ESMTP id 91CB2201C72; Fri, 3 Jul 2015 14:41:22 +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=1435927281; bh=EE5zDKnIOx/C5lHGFRenQ0W31EXag9O2N6lqTJUjLaA=; b= tUTdFV+IaI9leizJ/S65BIhQKnJBlD+pDHRk/3KGp9pHdJx/iMsdZF4s0WwF5M30 ZS5BFsy/j9HxpHGyMhxdpJvsmdcG7NVIyUDS7ifrYxSSMWqZoutziwJD02/9pXv1 W8tGoR4ig67va46lRIzuJ5J//RSgYMpEN5AsjERxqZk= 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 f0vD8XdOQa8t; Fri, 3 Jul 2015 14:41:21 +0200 (CEST) In-Reply-To: <83si95zbjr.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 03 Jul 2015 15:10:48 +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:104651 Archived-At: When I manually evaluate =E2=80=98dired-buffer-stale-p=E2=80=99 (in =C2=ABf= rozen=C2=BB buffer) it returns t, this function works OK. The problem is that control flow doesn't reach second portion of messages when =E2=80=98auto-revert-handler= =E2=80=99 is called for Dired buffer in question. I think problem is here: (when (or auto-revert-tail-mode (not (buffer-modified-p))) ...) (or auto-revert-tail-mode (not (buffer-modified-p))) is obviously nil when it shouldn't be nil. I don't know what =E2=80=98auto-revert-tail-mode= =E2=80=99 is, but its value is nil. So the problem lies in (buffer-modified-p). It's t when it should be nil. I evaluated it for Dired buffer in question, it's t, indeed. Is it correct behavior? What meaning does =E2=80=98buffer-modifi= ed-p=E2=80=99 have when current buffer is a Dired buffer? Should it ever be t in this case?