From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: locate-with-filter Date: Tue, 14 Mar 2006 11:09:47 -0500 Message-ID: References: <200603122359.k2CNxE111892@raven.dms.auburn.edu> <200603140255.k2E2tFs05130@raven.dms.auburn.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1142352969 16236 80.91.229.2 (14 Mar 2006 16:16:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Mar 2006 16:16:09 +0000 (UTC) Cc: pbreton@cs.umb.edu, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 14 17:16:06 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FJC69-0001nk-33 for ged-emacs-devel@m.gmane.org; Tue, 14 Mar 2006 17:10:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FJC67-0007BE-GN for ged-emacs-devel@m.gmane.org; Tue, 14 Mar 2006 11:10:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FJC5l-00079R-1w for emacs-devel@gnu.org; Tue, 14 Mar 2006 11:09:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FJC5k-00078w-CQ for emacs-devel@gnu.org; Tue, 14 Mar 2006 11:09:48 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FJC5k-00078e-05 for emacs-devel@gnu.org; Tue, 14 Mar 2006 11:09:48 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FJC9y-0003yK-9e for emacs-devel@gnu.org; Tue, 14 Mar 2006 11:14:10 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1FJC5j-0001Xp-Br; Tue, 14 Mar 2006 11:09:47 -0500 Original-To: Luc Teirlinck In-reply-to: <200603140255.k2E2tFs05130@raven.dms.auburn.edu> (message from Luc Teirlinck on Mon, 13 Mar 2006 20:55:15 -0600 (CST)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:51602 Archived-At: The problem with `locate' in the docstring of `locate' is that it creates a confusing self-referential link. It is not self-referential. It is in the documentation of an Emacs command and it refers to a program. The problem with `locate' to refer to the executable program of that name is that it creates a link to the _Emacs_ command locate, creating even more confusion. We should suppress the link in that case. Does this patch do it? *** help-mode.el 07 Feb 2006 18:16:11 -0500 1.43 --- help-mode.el 14 Mar 2006 06:56:26 -0500 *************** *** 233,242 **** "Label to use by `help-make-xrefs' for the go-back reference.") (defconst help-xref-symbol-regexp ! (purecopy (concat "\\(\\<\\(\\(variable\\|option\\)\\|" ! "\\(function\\|command\\)\\|" ! "\\(face\\)\\|" ! "\\(symbol\\)\\|" "\\(source \\(?:code \\)?\\(?:of\\|for\\)\\)\\)" "[ \t\n]+\\)?" ;; Note starting with word-syntax character: --- 233,242 ---- "Label to use by `help-make-xrefs' for the go-back reference.") (defconst help-xref-symbol-regexp ! (purecopy (concat "\\(\\<\\(\\(variable\\|option\\)\\|" ; Link to var ! "\\(function\\|command\\)\\|" ; Link to function ! "\\(face\\)\\|" ; Link to face ! "\\(symbol\\|program\\)\\|" ; Don't link "\\(source \\(?:code \\)?\\(?:of\\|for\\)\\)\\)" "[ \t\n]+\\)?" ;; Note starting with word-syntax character: