From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Chris Moore" Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: tags-search doesn't check files are up-to-date Date: Fri, 1 Feb 2008 19:35:21 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1201891678 7140 80.91.229.12 (1 Feb 2008 18:47:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Feb 2008 18:47:58 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 01 19:48:19 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JL0vt-0007bE-Uj for ged-emacs-devel@m.gmane.org; Fri, 01 Feb 2008 19:48:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JL0vS-0005ex-6o for ged-emacs-devel@m.gmane.org; Fri, 01 Feb 2008 13:47:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JL0vL-0005d0-Af for emacs-devel@gnu.org; Fri, 01 Feb 2008 13:47:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JL0vJ-0005bT-Hu for emacs-devel@gnu.org; Fri, 01 Feb 2008 13:47:38 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JL0vI-0005bC-3G for emacs-devel@gnu.org; Fri, 01 Feb 2008 13:47:36 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JL0vH-0008UQ-IE for emacs-devel@gnu.org; Fri, 01 Feb 2008 13:47:35 -0500 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JL0vG-00025M-6e for emacs-pretest-bug@gnu.org; Fri, 01 Feb 2008 13:47:34 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JL0je-0006Xz-0S for emacs-pretest-bug@gnu.org; Fri, 01 Feb 2008 13:35:37 -0500 Original-Received: from wa-out-1112.google.com ([209.85.146.176]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JL0jd-0006Vh-NT for emacs-pretest-bug@gnu.org; Fri, 01 Feb 2008 13:35:33 -0500 Original-Received: by wa-out-1112.google.com with SMTP id k34so691959wah.10 for ; Fri, 01 Feb 2008 10:35:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=FRTUoEbFOTFKyLgxYJYbd1yhlC0ttsTLBD3nVtOnwgY=; b=oxEe8tIcL23Ioxmf+rStMe8QyAsE8KUxAkSmariPkSzPutH5gRT1BYKj4gmZcHw2/tNREr5DXHUaoqLSVyAHpfYGKdcPKhOus6BNOKeqLqG+oym2dpUxPpSKeY0Rcedm07rvc9JoEpMhto2n6K/AVFW+3uMPOSez/Np5ieZZX2g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=rTgcrHdKnCNfpuNoWpdQpdoYYn3CZnxgxjmK65Jx6+c6vyVKJqWB0RgBDj6dImDp7O1K9DZ5YF+GXJLhb7uXnrDFBJ9bftW3AgFuauPeZgB7aQ7phK3HB8CoH/vSAz/EqEUv4GYC2AeSyGX8mntxhPFMVhUGybAVvj5PSYSsz+I= Original-Received: by 10.115.76.1 with SMTP id d1mr4342011wal.108.1201890921974; Fri, 01 Feb 2008 10:35:21 -0800 (PST) Original-Received: by 10.114.203.4 with HTTP; Fri, 1 Feb 2008 10:35:21 -0800 (PST) Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:87945 gmane.emacs.pretest.bugs:20845 Archived-At: I was just trying to find something in an old IRC logfile. I went to the directory holding the files with dired, marked the last week's worth of logs and hit "A" (dired-do-search) to search them for the string. Emacs told me "All files processed" - it didn't find the string. "grep" tells me differently - the string is there. It turns out that I had visited one of the logs when it still being written a few days ago. Emacs had the first half of the file in a buffer, and the string I wanted was in the 2nd half - on disk, but not in the buffer. I would expect Emacs to say "File ... changed on disk. Reread from disk? (yes or no) " when I try searching a file that's changed, but it silently assumes I don't want to know that it is using an old copy. It's pretty simple to reproduce: make an empty file, visit it, append 'xxx' to it outside of Emacs, mark the file in dired and search it for 'xxx' using the "A" (dired-do-search) key. It won't find the 'xxx'.