[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
info-look.el and colons in info indexes
From: |
Kevin Ryde |
Subject: |
info-look.el and colons in info indexes |
Date: |
Sat, 10 May 2003 09:55:25 +1000 |
User-agent: |
Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.2 (gnu/linux) |
The following lets C-h C-i work on Guile procedures with colons in
their name, like `match:count'. It follows what info.el does
nowadays, assuming I understand the "index entry" case in
Info-try-follow-nearest-node.
* info-look.el (info-lookup-make-completions): Allow colons in index
entries by looking for ": " to terminate, as per latest info.el.
The guile manual isn't in info-look's defaults (for scheme-mode), but
the spot below will add it in order to see the effect of the change.
(require 'info-look)
(info-lookup-add-help
:mode 'scheme-mode
:regexp "[^()'\" \t\n]+"
:ignore-case t
:doc-spec '(("(guile)Procedure Index" nil
"^[ \t]+- [^:]+:[ \t]*" "\\($\\| \\)")))
info-look.el.colons.diff
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- info-look.el and colons in info indexes,
Kevin Ryde <=