emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: locate-with-filter


From: Richard Stallman
Subject: Re: locate-with-filter
Date: Tue, 14 Mar 2006 11:09:47 -0500

    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:




reply via email to

[Prev in Thread] Current Thread [Next in Thread]