From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Skinner Newsgroups: gmane.emacs.bugs Subject: Bug with find-file-existing-other-name option Date: Wed, 22 Dec 2004 11:51:00 +0000 Message-ID: <1103716260.8893.14.camel@localhost> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1103716462 4268 80.91.229.6 (22 Dec 2004 11:54:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 22 Dec 2004 11:54:22 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 22 12:54:13 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Ch54G-0003Ox-00 for ; Wed, 22 Dec 2004 12:54:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Ch5Eo-0005RF-Gx for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Dec 2004 07:05:06 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Ch5Eg-0005Oc-5D for bug-gnu-emacs@gnu.org; Wed, 22 Dec 2004 07:04:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Ch5Ed-0005NR-LT for bug-gnu-emacs@gnu.org; Wed, 22 Dec 2004 07:04:56 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Ch5Ed-0005MR-6S for bug-gnu-emacs@gnu.org; Wed, 22 Dec 2004 07:04:55 -0500 Original-Received: from [192.108.102.143] (helo=smtp-send.myrealbox.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1Ch52b-0004c2-Lg for bug-gnu-emacs@gnu.org; Wed, 22 Dec 2004 06:52:30 -0500 Original-Received: from 192.168.123.10 richard.skinner [82.70.129.182] by smtp-send.myrealbox.com with NetMail SMTP Agent $Revision: 1.4 $ on Linux via secured & encrypted transport (TLS); Wed, 22 Dec 2004 04:52:27 -0700 Original-To: bug-gnu-emacs@gnu.org X-Mailer: Evolution 2.0.2 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:10165 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:10165 When this option is turned on it mis-identifies files which have the same content/size/timestamp/flags as the 'same' file. I am using a build system which exports build header files using 'cp' to another directory. When gcc reports an error in an exported header and I use emacs to goto that error point the exported header is opened as expected. Attempting to then open the actual source header so that it can be edited causes emacs to claim that the two files are the same and it refuses to open the proper file. These two files are clearly not the same file - they are stored on separate inodes and are not links of any sort. Turning find-file-existing-other-name off stops this behaviour but then loses the desirable behaviour of preventing the same file accessed by 2 different paths being opened twice.