emacs-devel
[Top][All Lists]
Advanced

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

Re: find-tag-default


From: Juri Linkov
Subject: Re: find-tag-default
Date: Fri, 21 May 2004 11:05:45 +0300
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

Richard Stallman <address@hidden> writes:
> If identifier-at-point is useful in a number of places,
> let's install that and use it.
>
> Is this function exactly the right thing?

The function name is right, but its contents is not too right.

Currently there are different methods for obtaining an identifier
at point:

- `find-tag-default' and `find-tag-default-function' from etags.el

- `symbol-at-point' from thingatpt.el

- info-look.el which has the most advanced implementation since
  it defines regular expressions and parsing rules for guessing
  the default identifier for 20 major modes (and one special
  function `info-lookup-guess-c-symbol' for C mode).

So to create right contents of `identifier-at-point' these packages
could be generalized.

Anyway, we could install this function now as a general method
to get an identifier at point, with the identifier guessing method
from etags.el, and improve its contents later.

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

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