From: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Bad file dialog on W32 popped up by a click on C source
Date: Sun, 12 Jun 2005 21:09:41 +0300 [thread overview]
Message-ID: <u4qc378gq.fsf@gnu.org> (raw)
In-Reply-To: <ubr6b1nqr.fsf@jasonrumney.net> (message from Jason Rumney on Sun, 12 Jun 2005 18:36:12 +0100)
> Cc: emacs-devel@gnu.org
> From: Jason Rumney <jasonr@gnu.org>
> Date: Sun, 12 Jun 2005 18:36:12 +0100
>
> Eli Zaretskii <eliz@gnu.org> 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"
Strange...doesn't it pop the file selector for you? Anyway, what you
get is not a good response, either, right?
> > . 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.
Well, the prompt actually says "Emacs C source dir:", so perhaps it's
okay (although maybe something like "Directory of fileio.c source
file" would be better).
> > . 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?
The latter. It pops a dialog saying
Current Directory
File not found
Please verify the correct file name was given.
> If the latter then it is caused by the file-must-exist flag being set,
> which does not work for directories.
You mean the MUSTMATCH arg to x-file-dialog? That is, should I change
the code so that this flag is ignored for directories?
next prev parent reply other threads:[~2005-06-12 18:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-12 13:33 Bad file dialog on W32 popped up by a click on C source Eli Zaretskii
2005-06-12 14:03 ` Lennart Borgman
2005-06-12 15:11 ` Eli Zaretskii
2005-06-12 16:32 ` Jason Rumney
2005-06-12 17:36 ` Jason Rumney
2005-06-12 18:09 ` Eli Zaretskii [this message]
2005-06-12 18:36 ` Jason Rumney
2005-06-12 20:54 ` Jason Rumney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=u4qc378gq.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).