From: Kevin Ryde <user42@zip.com.au>
Subject: info-look elisp matching
Date: Tue, 01 Apr 2003 10:01:24 +1000 [thread overview]
Message-ID: <87pto7qe5n.fsf@zip.com.au> (raw)
[-- Attachment #1: Type: text/plain, Size: 176 bytes --]
I'd like to propose some matching for the elisp mode support, so
lookups will go to an exact position.
* info-look.el (emacs-lisp-mode): Add prefix/suffix matching regexps.
[-- Attachment #2: info-look.el.elisp-match.diff --]
[-- Type: text/plain, Size: 1472 bytes --]
*** info-look.el.~1.30.~ Tue Apr 1 08:55:07 2003
--- info-look.el Tue Apr 1 09:56:52 2003
*************** (info-lookup-maybe-add-help
*** 756,764 ****
(info-lookup-maybe-add-help
:mode 'emacs-lisp-mode
:regexp "[^][()'\" \t\n]+"
! :doc-spec '(("(emacs)Command Index")
! ("(emacs)Variable Index")
! ("(elisp)Index")))
(info-lookup-maybe-add-help
:mode 'lisp-interaction-mode
--- 756,774 ----
(info-lookup-maybe-add-help
:mode 'emacs-lisp-mode
:regexp "[^][()'\" \t\n]+"
! :doc-spec '(;; Commands with key sequences appear in nodes as `foo' and
! ;; those without as `M-x foo'.
! ("(emacs)Command Index" nil "`\\(M-x[ \t\n]+\\)?" "'")
! ;; Variables normally appear in nodes as just `foo'.
! ("(emacs)Variable Index" nil "`" "'")
! ;; Almost all functions, variables, etc appear in nodes as
! ;; " - Function: foo" etc. A small number of aliases and
! ;; symbols appear only as `foo', and will miss out on exact
! ;; positions. Allowing `foo' would hit too many false matches
! ;; for things that should go to Function: etc, and those latter
! ;; are much more important. Perhaps this could change if some
! ;; sort of fallback match scheme existed.
! ("(elisp)Index" nil "^ - .*: " "\\( \\|$\\)")))
(info-lookup-maybe-add-help
:mode 'lisp-interaction-mode
[-- Attachment #3: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel
next reply other threads:[~2003-04-01 0:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-01 0:01 Kevin Ryde [this message]
2003-04-02 9:18 ` info-look elisp matching Richard Stallman
2003-04-03 21:20 ` Kevin Ryde
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pto7qe5n.fsf@zip.com.au \
--to=user42@zip.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.