unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: Re: find-tag-default
Date: Fri, 21 May 2004 11:05:45 +0300	[thread overview]
Message-ID: <873c5up8um.fsf@mail.jurta.org> (raw)
In-Reply-To: <E1BQypJ-0007ac-Fa@fencepost.gnu.org> (Richard Stallman's message of "Thu, 20 May 2004 21:27:57 -0400")

Richard Stallman <rms@gnu.org> 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	other threads:[~2004-05-21  8:05 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-13  6:37 find-tag-default Juri Linkov
2004-05-16 13:21 ` find-tag-default Richard Stallman
2004-05-19  8:45   ` find-tag-default Juri Linkov
2004-05-19 18:35     ` find-tag-default Kevin Rodgers
2004-05-19 19:01     ` find-tag-default Richard Stallman
2004-05-20  8:09       ` find-tag-default Juri Linkov
2004-05-20  9:14         ` find-tag-default Juri Linkov
2004-05-21  1:27         ` find-tag-default Richard Stallman
2004-05-21  8:05           ` Juri Linkov [this message]
2004-05-22 21:44             ` find-tag-default Richard Stallman
2004-05-24 16:49               ` find-tag-default Drew Adams
2004-05-29  1:44                 ` find-tag-default Richard Stallman
2004-05-29 17:43                   ` find-tag-default Drew Adams
2004-05-30 19:41                     ` find-tag-default Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=873c5up8um.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).