help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

something to jump to file:line


From: Roman Suzi
Subject: something to jump to file:line
Date: Sun, 23 Sep 2001 00:34:19 +0400 (MSD)

Hello!

I am looking for some way to automate visiting specific
lines in files, like grep display does, but from file.

For example, if I have this kind of file:

--- mytags -------------------
file1.txt:12  trararar
file1.txt:190  gfhgggg
file2.txt:345  dfasdf
------------------------------

I'd like to step on the line and press some key (Enter, for example)
to visit specified file on specified line.

I can control the format of mytags and put anything on lines.
Even this is no problem:

(go 'file1.txt' '12')
(go 'file1.txt' '190')
...

- if there is a key which I can press to go to the specified line. Lots of
modes work like that but I am no Elisp guru to learn how to do it :-(

Any ideas? Thank you!

Sincerely yours, Roman Suzi
-- 
_/ Russia _/ Karelia _/ Petrozavodsk _/ rnd@onego.ru _/
_/ Saturday, September 22, 2001 _/ Powered by Linux RedHat 6.2 _/
_/ "A clean desk is a sign of a cluttered desk drawer." _/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]