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 and duplicate tags Date: Thu, 23 Jan 2003 02:59:45 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1043308775 26665 80.91.224.249 (23 Jan 2003 07:59:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 23 Jan 2003 07:59:35 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18bcGp-0006vb-00 for ; Thu, 23 Jan 2003 08:59:31 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18bcIz-00046h-00 for ; Thu, 23 Jan 2003 09:01:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18bcHD-0005YQ-0G for emacs-devel@quimby.gnus.org; Thu, 23 Jan 2003 02:59:55 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18bcH6-0005Y9-00 for emacs-devel@gnu.org; Thu, 23 Jan 2003 02:59:48 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18bcH4-0005Wl-00 for emacs-devel@gnu.org; Thu, 23 Jan 2003 02:59:47 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18bcH4-0005Wf-00 for emacs-devel@gnu.org; Thu, 23 Jan 2003 02:59:46 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 18bcH3-0007ZL-00; Thu, 23 Jan 2003 02:59:45 -0500 Original-To: Richard Kettlewell In-reply-to: (message from Richard Kettlewell on Wed, 22 Jan 2003 12:47:51 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10991 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10991 I think the best approach would be for find-tag to always choose the "nearest" available version of a tag, for some suitable definition of "near". For instance, the currently visited file should always be nearer than any other file; files in the same directory might be nearer than files in another directory; etc. That is a good idea. Would you (or someone) like to implement it?