[lug] Emacs, gnuserv and (find-tag) problems
Ed Young
eyoung at linus.cudenver.edu
Wed Sep 15 16:53:36 MDT 1999
Tom,
Thanx for the reply.
Tom Tromey wrote:
>
> >>>>> "Ed" == Ed Young <eyoung at linus.cudenver.edu> writes:
>
> Ed> 1. It invokes a new emacs session (it should open the file in a
> Ed> running emacs session)
>
> Did you run M-x server-start (I think) in your existing session?
I did start the server in my .emacs as you noted below.
>
> Ed> 2. etags no longer works. When I run M-. (find-tag) I get:
> Ed> error in process filter: Symbol's value as variable is
> Ed> void:<function name>
>
> This might be a bug in the Code Fusion code. In buffers loaded from
> Source Navigator, the "M-." binding is overridden to query S-N rather
> than use the standard tags files. You can verify this by typing "C-h
> c M-." -- it *shouldn't* print "find-tag".
>
Hmmmmm. Thanx for this tip. When I run "C-h c M-." it returns
ESC . runs the command sn-find-tag
When I run it from the emacs session invoked from the command line
("normally") I get
ESC . runs the command find-tag
Bravo.
So now I see what you mean. The binding is, as you say, overridden to
query S-N. Hmmm, what if I bind a key to this function call with
(global-set-key [f5] 'find-tag)
...for example
I can issue the command with a newly bound key rather than the default
one which has been overridden.
Hey it works!!
> Ed> I've installed gnuserv and gnuclient in /usr/bin/ and the lines
> Ed> (load "/usr/share/emacs/site-lisp/gnuserv")
> Ed> (server-start)
> Ed> in my .emacs file. .emacs returns "starting server" so all seems ok.
>
> I guess you did do it then. Hmm. Does it work when you run gnuclient
> by hand? If so then I would suspect another bug in the S-N/Emacs
> integration.
>
> Ed> I posted to gnu.emacs.help with no replies.
>
> You really should report Code Fusion and Source Navigator bugs to
> Cygnus. I don't work on S-N any more, and my answers are just stabs
> in the dark. The real S-N hackers might have real answers.
>
I don't know if this is a bug or not. From the cygnus help:
The Source-Navigator search function replaces the find-tag
command (Meta-period) when you search for a symbol. Because the
other tag commands are not yet available inside Source-Navigator,
you need to use the equivalent emacs commands, if available.
So I can't tell if it's a bug. I'll email them about it anyway.
I didn't realize the M-. was calling a different lisp function
altogether.
Is the function "sn-find-tag" able to be aliased to "find-tag"? If so I
can probobly just alias it if I can figure out how this is done...
What about item 1?
> Ed> 1. It invokes a new emacs session (it should open the file in a
> Ed> running emacs session)
Any ideas here, or does this sound like a SN problem? I'll email Cygnus.
Thanx again for the help Tom.
Ed
> Tom
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
--
******************************
Ed Young
Echostar Software Engineering
(303)706-5421
ed.young at echostar.com
http://www.SummitBid.com
******************************
More information about the LUG
mailing list