From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Re: locate-with-filter Date: Sun, 19 Mar 2006 16:15:22 +1200 Message-ID: <17436.56026.490667.58771@kahikatea.snap.net.nz> References: <200603160048.k2G0msu23696@raven.dms.auburn.edu> <200603170221.k2H2L1H14401@raven.dms.auburn.edu> <17435.52238.927514.585806@kahikatea.snap.net.nz> <200603181716.k2IHGpN17847@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1142738252 24126 80.91.229.2 (19 Mar 2006 03:17:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 19 Mar 2006 03:17:32 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 19 04:17:28 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 1FKoQ2-0005DW-KI for ged-emacs-devel@m.gmane.org; Sun, 19 Mar 2006 04:17:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FKoQ2-0001FB-1W for ged-emacs-devel@m.gmane.org; Sat, 18 Mar 2006 22:17:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FKoPm-0001F5-Gq for emacs-devel@gnu.org; Sat, 18 Mar 2006 22:17:10 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FKoPk-0001Et-Qs for emacs-devel@gnu.org; Sat, 18 Mar 2006 22:17:09 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FKoPk-0001Eq-Kt for emacs-devel@gnu.org; Sat, 18 Mar 2006 22:17:08 -0500 Original-Received: from [202.37.101.8] (helo=viper.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FKoUi-0001gr-Oc; Sat, 18 Mar 2006 22:22:17 -0500 Original-Received: from kahikatea.snap.net.nz (p202-124-115-208.snap.net.nz [202.124.115.208]) by viper.snap.net.nz (Postfix) with ESMTP id 6D08B749925; Sun, 19 Mar 2006 15:16:45 +1200 (NZST) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id 1614988EC; Sun, 19 Mar 2006 16:15:23 +1200 (NZST) Original-To: Luc Teirlinck In-Reply-To: <200603181716.k2IHGpN17847@raven.dms.auburn.edu> X-Mailer: VM 7.19 under Emacs 22.0.50.80 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:51842 Archived-At: > I don't find that I invoke help-follow accidentally, so why remove > this functionality? > > Because it effectively disables features that allow the author of a > docstring to prevent false links from being made. I can see the logic of changing help-xref-symbol-regexp: Emacs shouldn't underline inappropriate links. However, if the user still wants to follow a keyword thats not underlined, that should be his choice. > Without the current > `help-follow' feature, I could precede references to the symbol or > program `locate' with the words `symbol' or (after Richard's patch) > `program' to avoid creating the impression of encouraging people to > take a look at the docstring of the Emacs function `locate' for a more > thorough understanding of what I am explaining. With the current > `help-follow' feature, doing so is effectively meaningless. Clearly with `locate' the link leads nowhere but in other cases, the value of a variable e.g features, say, where all explicit/underlined links have been removed, some keywords may be of interest. Emacs generally gives you enough rope to hang yourself and I like it that way. > I don't like this change because the current behaviour is useful for links > that aren't explicitly presented in the doc string/value. > > You can always do `C-h v' or `C-h f" to get the docs of something that > the author did not intend as a link. Yes I could but its not quite as convenient. > If I use the expression > "the program `locate'" in a docstring, thereby deliberately disabling > the link to prevent confusion with the Emacs function, and you want to > read the doc of that Emacs function anyway, for unrelated reasons, you > can always do `C-h f'. Yes. I'm sure `you're doing it for my own good'. -- Nick http://www.inet.net.nz/~nickrob