unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Help cross reference to source file
@ 2006-07-09  1:35 Drew Adams
  2006-07-09 19:04 ` Richard Stallman
  0 siblings, 1 reply; 12+ messages in thread
From: Drew Adams @ 2006-07-09  1:35 UTC (permalink / raw)


I have a macro that I use to define functions; that is, it expands to and
evaluates a defun. Suppose that I use the macro in file `foo.el' to define
function `fun'. If I then do C-h f fun, I see this in *Help*:

 fun is an interactive compiled Lisp function in `foo.el'.

The library name foo.el is a link here. However, if I click the link, I get
an error message:

 Cannot find definition of `fun' in library `foo.el'

Fair enough; help can't know where the function definition is, though it is
able to identify the file.

Even if help can't take me to the right place in the source file, I think it
should open the file - and provide the error message, inviting me to search
for it in the file.

This would be analogous to what we do when Emacs cannot find the source C
file that defines a built-in - at least on Windows, it opens a file dialog
box that lets you navigate to the source file.

I think it's great that the source file is identified (correctly), and it's
good that the file name is a link. However, if the definition cannot be
located in the file, the file should be opened, and then a message can say
that the definition can't be located.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2006-07-12 15:36 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-09  1:35 Help cross reference to source file Drew Adams
2006-07-09 19:04 ` Richard Stallman
2006-07-09 19:55   ` Drew Adams
2006-07-10 16:41   ` Stefan Monnier
2006-07-10 17:48     ` Drew Adams
2006-07-11  4:29       ` Stefan Monnier
2006-07-11 18:16         ` Richard Stallman
2006-07-11  5:51       ` Richard Stallman
2006-07-11 18:14       ` Drew Adams
2006-07-12 15:36         ` Richard Stallman
2006-07-11  5:51     ` Richard Stallman
2006-07-11 12:14       ` Stefan Monnier

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).