From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Bad file dialog on W32 popped up by a click on C source Date: Sun, 12 Jun 2005 16:03:01 +0200 Message-ID: <42AC4095.4070109@student.lu.se> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1118585037 24402 80.91.229.2 (12 Jun 2005 14:03:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 12 Jun 2005 14:03:57 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 12 16:03:49 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DhT3y-0004HQ-Bi for ged-emacs-devel@m.gmane.org; Sun, 12 Jun 2005 16:03:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DhT8Z-0003q0-CX for ged-emacs-devel@m.gmane.org; Sun, 12 Jun 2005 10:08:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DhT6R-0002K9-Qc for emacs-devel@gnu.org; Sun, 12 Jun 2005 10:06:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DhT6P-0002Im-PN for emacs-devel@gnu.org; Sun, 12 Jun 2005 10:06:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DhT6O-0002Dz-Sn for emacs-devel@gnu.org; Sun, 12 Jun 2005 10:06:17 -0400 Original-Received: from [81.228.8.83] (helo=pne-smtpout1-sn2.hy.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DhT48-0005a2-1u; Sun, 12 Jun 2005 10:03:56 -0400 Original-Received: from [192.168.123.121] (83.249.200.39) by pne-smtpout1-sn2.hy.skanova.net (7.2.059.6) id 429C5276002C2502; Sun, 12 Jun 2005 16:03:02 +0200 User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: Eli Zaretskii In-Reply-To: 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:38638 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38638 Eli Zaretskii wrote: >"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? > > Would it be better to use the standard directory dialog (rather than the file dialog)?