From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.bugs Subject: bug#22694: 25.0.91; dired-mark-files-containing-regexp read file disk Date: Wed, 17 Feb 2016 23:07:16 +0900 (JST) Message-ID: References: <83h9h8wsh8.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Trace: ger.gmane.org 1455717929 11583 80.91.229.3 (17 Feb 2016 14:05:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Feb 2016 14:05:29 +0000 (UTC) Cc: 22694@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 17 15:05:18 2016 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 1aW2jF-0006kC-OW for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Feb 2016 15:05:17 +0100 Original-Received: from localhost ([::1]:57785 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW2j9-000781-BH for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Feb 2016 09:05:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW2j5-000761-MS for bug-gnu-emacs@gnu.org; Wed, 17 Feb 2016 09:05:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aW2j0-0001X8-Iw for bug-gnu-emacs@gnu.org; Wed, 17 Feb 2016 09:05:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40286) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW2j0-0001X2-FF for bug-gnu-emacs@gnu.org; Wed, 17 Feb 2016 09:05:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aW2j0-0007Ka-93 for bug-gnu-emacs@gnu.org; Wed, 17 Feb 2016 09:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Feb 2016 14:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22694 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22694-submit@debbugs.gnu.org id=B22694.145571785328109 (code B ref 22694); Wed, 17 Feb 2016 14:05:02 +0000 Original-Received: (at 22694) by debbugs.gnu.org; 17 Feb 2016 14:04:13 +0000 Original-Received: from localhost ([127.0.0.1]:38960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aW2iD-0007JJ-5i for submit@debbugs.gnu.org; Wed, 17 Feb 2016 09:04:13 -0500 Original-Received: from calancha-ilc.kek.jp ([130.87.234.234]:35497) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aW2iB-0007J3-7s for 22694@debbugs.gnu.org; Wed, 17 Feb 2016 09:04:11 -0500 Original-Received: by calancha-ilc.kek.jp (Postfix, from userid 500) id C9A83DAB2; Wed, 17 Feb 2016 23:07:16 +0900 (JST) Original-Received: from localhost (localhost [127.0.0.1]) by calancha-ilc.kek.jp (Postfix) with ESMTP id 60332D99C for <22694@debbugs.gnu.org>; Wed, 17 Feb 2016 23:07:16 +0900 (JST) X-X-Sender: calancha@calancha-ilc.kek.jp In-Reply-To: <83h9h8wsh8.fsf@gnu.org> User-Agent: Alpine 2.20 (LRH 67 2015-01-07) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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:113181 Archived-At: > Isn't this by design? Dired doesn't by default re-sync with the disk; > if you don't like this, you can turn on auto-revert in the Dired > buffer. I don't like reverting the buffer either. I found better to ignore the buffers visiting and handle all files with with-temp-buffer. Using grep is also nice, but it would change the type of regexp. Regardless of whether auto-revert is enabled or not, the doc. string of this function says that it marks files whose contain match a regexp, so, it should check the file instead of relying in the visiting buffer.