From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Bad file dialog on W32 popped up by a click on C source Date: Sun, 12 Jun 2005 16:33:54 +0300 Message-ID: Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1118583429 20371 80.91.229.2 (12 Jun 2005 13:37:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 12 Jun 2005 13:37:09 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 12 15:37:07 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DhSdq-0001V7-IF for ged-emacs-devel@m.gmane.org; Sun, 12 Jun 2005 15:36:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DhSiR-0004Bw-B4 for ged-emacs-devel@m.gmane.org; Sun, 12 Jun 2005 09:41:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DhShR-0003pZ-SN for emacs-devel@gnu.org; Sun, 12 Jun 2005 09:40:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DhShP-0003ni-3p for emacs-devel@gnu.org; Sun, 12 Jun 2005 09:40:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DhShO-0003ly-Ox for emacs-devel@gnu.org; Sun, 12 Jun 2005 09:40:26 -0400 Original-Received: from [192.114.186.24] (helo=legolas.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DhSc3-000484-De for emacs-devel@gnu.org; Sun, 12 Jun 2005 09:34:55 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-83-130-209-124.inter.net.il [83.130.209.124]) by legolas.inter.net.il (MOS 3.5.8-GR) with ESMTP id EPA45777 (AUTH halo1); Sun, 12 Jun 2005 16:33:51 +0300 (IDT) Original-To: emacs-devel@gnu.org 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:38636 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38636 "C-h f some-function RET" shows "C source file" for functions defined in C. If you click on the xref, and if the source files are not in the place where Emacs expects to find them (e.g., if you removed the source tree), Emacs pops up a file dialog asking you to find the directory of the source file. So far so good, but, at least on W32, I see 2 problems with this dialog: . it doesn't say what directory it is looking for and doesn't show me the name of the file, so I need to guess that it wants the src directory . if I select the src directory where the file lives and click Open, it errors out saying "Current Directory -- file not found" The latter problem seems to be specific to MS-Windows, as it overrides the file name with a literal string "Current Directory"; this works with File->Open Directory from the menu bar, but fails in the above situation. I'm not sure whether the former problem is MS-Windows specific. Any suggestions for how to solve this?