unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* searching file from emacs
@ 2008-02-14 23:41 marcmj
  2008-02-15  5:25 ` Jonathan Rockway
  0 siblings, 1 reply; 4+ messages in thread
From: marcmj @ 2008-02-14 23:41 UTC (permalink / raw)
  To: Emacs-devel


Hello,

I am new to lisp and I want to make the following:
- in a emacs window, editing a routine, I locate the cursor in front or in
the middle of a routine name
- the macro will look for the entire name, then find the file in a given
list of directory
- once found, the macro will open the routine in the same emacs window

So if I have the source example.f where I have the following line:
call other_routine(a, b)

I would like to place the cursor on "other_routine" (anywhere in this
routine name) then hit a key and the code will search for other_routine.f in
a set of pre-defined directories, then open other_routine.f in the emacs
window.

So if anyone has some starting LISP code for this or may be able to help,
I'll appreciate !

Thanks
Marc
-- 
View this message in context: http://www.nabble.com/searching-file-from-emacs-tp15491987p15491987.html
Sent from the Emacs - Dev mailing list archive at Nabble.com.





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

end of thread, other threads:[~2008-02-15 18:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-14 23:41 searching file from emacs marcmj
2008-02-15  5:25 ` Jonathan Rockway
2008-02-15 15:53   ` marcmj
2008-02-15 18:12     ` Drew Adams

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