From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: Bad file dialog on W32 popped up by a click on C source Date: Sun, 12 Jun 2005 18:36:12 +0100 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1118598546 27356 80.91.229.2 (12 Jun 2005 17:49:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 12 Jun 2005 17:49:06 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 12 19:49:04 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DhWZd-0005F4-N0 for ged-emacs-devel@m.gmane.org; Sun, 12 Jun 2005 19:48:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DhWeG-00032V-Pr for ged-emacs-devel@m.gmane.org; Sun, 12 Jun 2005 13:53:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DhWc6-0002YL-Fo for emacs-devel@gnu.org; Sun, 12 Jun 2005 13:51:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DhWc2-0002WX-FM for emacs-devel@gnu.org; Sun, 12 Jun 2005 13:51:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DhWc1-0002Ow-Rs for emacs-devel@gnu.org; Sun, 12 Jun 2005 13:51:10 -0400 Original-Received: from [194.106.33.237] (helo=outmail.freedom2surf.net) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DhWP2-0002EI-1g; Sun, 12 Jun 2005 13:37:44 -0400 Original-Received: from wanchan.jasonrumney.net (i-83-67-23-108.freedom2surf.net [83.67.23.108]) by outmail.freedom2surf.net (8.12.10/8.12.10) with ESMTP id j5CHamch031636; Sun, 12 Jun 2005 18:36:48 +0100 Original-Received: from TONKOTSU-RAMEN (tonkotsu-ramen.jasonrumney.net [10.0.0.28]) by wanchan.jasonrumney.net (Postfix) with ESMTP id D9DF8DDDF8; Sun, 12 Jun 2005 18:37:13 +0100 (BST) Original-To: Eli Zaretskii In-Reply-To: (Eli Zaretskii's message of "Sun, 12 Jun 2005 16:33:54 +0300") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) 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:38655 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38655 Eli Zaretskii writes: > "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. I just get "find-function-C-source: The C source file w32fns.c is not available" > . 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 Seems like a problem with the prompt. > . if I select the src directory where the file lives and click Open, > it errors out saying "Current Directory -- file not found" An Emacs error in the echo area, or a system error in a dialog? If the latter then it is caused by the file-must-exist flag being set, which does not work for directories.