From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: find-tag-default Date: Sat, 22 May 2004 17:44:13 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <874qqkq1by.fsf@mail.jurta.org> <87n044dc27.fsf@mail.jurta.org> <87pt8z1pv6.fsf@mail.jurta.org> <873c5up8um.fsf@mail.jurta.org> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1085309379 19142 80.91.224.253 (23 May 2004 10:49:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 23 May 2004 10:49:39 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun May 23 12:49:35 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BRqXv-0000qS-00 for ; Sun, 23 May 2004 12:49:35 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BRqXv-0004FN-00 for ; Sun, 23 May 2004 12:49:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BRmKl-0001My-Qd for emacs-devel@quimby.gnus.org; Sun, 23 May 2004 02:19:43 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BRmE7-0000Ff-Sm for emacs-devel@gnu.org; Sun, 23 May 2004 02:12:53 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BRjmy-00062J-No for emacs-devel@gnu.org; Sat, 22 May 2004 23:37:12 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BRhLK-0004OR-Oz for emacs-devel@gnu.org; Sat, 22 May 2004 20:59:59 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1BReHt-0007Zd-9y; Sat, 22 May 2004 17:44:13 -0400 Original-To: Juri Linkov In-reply-to: <873c5up8um.fsf@mail.jurta.org> (message from Juri Linkov on Fri, 21 May 2004 11:05:45 +0300) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:23848 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23848 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. Is it clear that using the info-look code would be best for everything that uses the other two functions? If so, let's do that.