From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#12106: 24.1; be able to prevent `help-make-xrefs' from creating a cross ref Date: Tue, 31 Jul 2012 11:38:05 -0700 Message-ID: <9C4D73809B2A47ECAAAEA2590560911F@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1343759933 31532 80.91.229.3 (31 Jul 2012 18:38:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 31 Jul 2012 18:38:53 +0000 (UTC) To: 12106@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 31 20:38:52 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SwHLE-0001ul-TH for geb-bug-gnu-emacs@m.gmane.org; Tue, 31 Jul 2012 20:38:49 +0200 Original-Received: from localhost ([::1]:49269 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwHLE-0008Ae-6J for geb-bug-gnu-emacs@m.gmane.org; Tue, 31 Jul 2012 14:38:48 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59255) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwHLA-000882-LC for bug-gnu-emacs@gnu.org; Tue, 31 Jul 2012 14:38:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwHL9-0001hl-GW for bug-gnu-emacs@gnu.org; Tue, 31 Jul 2012 14:38:44 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43476) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwHL9-0001hh-D2 for bug-gnu-emacs@gnu.org; Tue, 31 Jul 2012 14:38:43 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SwHSF-0001uZ-CN for bug-gnu-emacs@gnu.org; Tue, 31 Jul 2012 14:46:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 31 Jul 2012 18:46:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12106 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.13437603407302 (code B ref -1); Tue, 31 Jul 2012 18:46:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 31 Jul 2012 18:45:40 +0000 Original-Received: from localhost ([127.0.0.1]:53019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SwHRs-0001tj-Cw for submit@debbugs.gnu.org; Tue, 31 Jul 2012 14:45:40 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38239) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SwHRp-0001tb-OY for submit@debbugs.gnu.org; Tue, 31 Jul 2012 14:45:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwHKi-0001bk-J5 for submit@debbugs.gnu.org; Tue, 31 Jul 2012 14:38:17 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:58720) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwHKi-0001bg-Fm for submit@debbugs.gnu.org; Tue, 31 Jul 2012 14:38:16 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwHKh-00083N-IV for bug-gnu-emacs@gnu.org; Tue, 31 Jul 2012 14:38:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwHKe-0001as-Uf for bug-gnu-emacs@gnu.org; Tue, 31 Jul 2012 14:38:15 -0400 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:24344) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwHKe-0001ah-O4 for bug-gnu-emacs@gnu.org; Tue, 31 Jul 2012 14:38:12 -0400 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q6VIcBOp027557 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 31 Jul 2012 18:38:12 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q6VIcBvE020415 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 31 Jul 2012 18:38:11 GMT Original-Received: from abhmt112.oracle.com (abhmt112.oracle.com [141.146.116.64]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q6VIcBXs001872 for ; Tue, 31 Jul 2012 13:38:11 -0500 Original-Received: from dradamslap1 (/10.159.165.230) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 31 Jul 2012 11:38:10 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: Ac1vS5+yg6bEUyhaS9O0LUWbNsq53w== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:62688 Archived-At: I would like some easy way to prevent `help-make-xrefs' from turning a given `...' into a cross reference (link). If I want to refer to a function or whatever without linking to what Emacs thinks is the proper doc for it, what can I do? The current handling of `...' is too black-and-white. There should be some way to turn off link a particular instance of `...'. E.g., we should be able to put something in the doc string that (a) is not, itself, displayed and (b) prevents `help-make-xrefs' from creating a link for that `...' occurrence. If we did not care about making the indication invisible then it might be enough to change, say, `help-xref-symbol-regexp' to this: "\\(\\<\\(\\(variable\\|option\\)\\|\\(function\\|command\\)\\|\ \\(face\\)\\|\\(symbol\\|program\\|property\\)\\|\ \\(source \\(?:code \\)?\\(?:of\\|for\\)\\)\\)[ \n]+\\)?\ [^\\]`\\(\\sw\\(\\sw\\|\\s_\\)+\\)'" ^^^^^ I.e., just let a backslash escape `...' from linking. But that puts a `\' in the output buffer as well. (Perhaps it could be made invisible?) Anyway, I am not proposing the solution, I'm just filing the enhancement request. In GNU Emacs 24.1.1 (i386-mingw-nt5.1.2600) of 2012-06-10 on MARVIN Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --with-gcc (4.6) --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include'