From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: [ozymandias.dk@gmail.com: compile/grep: When directory tracking is used then next-error fails to go to the correct file when the basename was seen before.] Date: Thu, 16 Aug 2007 20:31:35 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1187310481 25921 80.91.229.12 (17 Aug 2007 00:28:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 17 Aug 2007 00:28:01 +0000 (UTC) Cc: emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 17 02:27:59 2007 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 1ILph0-0006TP-LU for ged-emacs-devel@m.gmane.org; Fri, 17 Aug 2007 02:27:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ILph0-0003US-6P for ged-emacs-devel@m.gmane.org; Thu, 16 Aug 2007 20:27:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ILpgx-0003UD-3H for emacs-devel@gnu.org; Thu, 16 Aug 2007 20:27:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ILpgv-0003Sd-K4 for emacs-devel@gnu.org; Thu, 16 Aug 2007 20:27:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ILpgv-0003SX-8t for emacs-devel@gnu.org; Thu, 16 Aug 2007 20:27:53 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ILpgv-0003Bp-0L for emacs-devel@gnu.org; Thu, 16 Aug 2007 20:27:53 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1ILpkV-0002U7-O8; Thu, 16 Aug 2007 20:31:35 -0400 In-reply-to: (message from Glenn Morris on Wed, 15 Aug 2007 21:58:15 -0400) X-Detected-Kernel: 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:76652 Archived-At: On each subsequent call to this function, (gethash filename) is going to return this value. It may not be appropriate if the file is in a different directory, so if one has directory information one should use it. If we think it is incorrect to retrieve an entry that is filed under just the filename, should we also delete the code that makes such an entry? Under what circumstances would we want such an entry to exist and be retrieved?