1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-04 08:47:11 +00:00
Commit Graph

114 Commits

Author SHA1 Message Date
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Richard M. Stallman
543e570f73 (apropos): Doc fix. 2005-12-26 21:22:55 +00:00
Richard M. Stallman
2a4ec7e1ef (apropos, apropos-value): Doc fix.
(apropos-documentation): Doc fix.
2005-12-26 21:21:04 +00:00
Kim F. Storm
3fefda51dd (apropos-parse-pattern): Doc fix.
Set apropos-regexp directly, rather than expecting callers to do so.
(apropos-command, apropos, apropos-value, apropos-documentation):
Simplify calls to apropos-parse-pattern.
2005-11-29 23:52:59 +00:00
Richard M. Stallman
347a20b867 (apropos-calc-scores): Use apropos-pattern. 2005-11-16 22:11:47 +00:00
Kim F. Storm
0820b753f7 (apropos-match-face): Doc fix.
(apropos-sort-by-scores): Add new choice `verbose'.
(apropos-documentation-sort-by-scores): New defcustom.
(apropos-pattern): Now contains the pattern entered by the user.
(apropos-pattern-quoted): New defvar.
(apropos-regexp): New defvar, containing the regexp corresponding
to apropos-pattern.
(apropos-all-words-regexp): Renamed from apropos-all-regexp.
(apropos-read-pattern): New defun.  Use it to read pattern arg in
interactive calls; returns list of words for a word list, and
string for a regexp.
(apropos-parse-pattern): Renamed from apropos-rewrite-regexp.  Now
parses a list of words or regexp as returned by apropos-read-pattern.
(apropos-calc-scores): Return nil if apropos-regexp doesn't match.
(apropos-score-doc): Return a very high score if the string
entered by the user matches literally.
(apropos-variable): Doc fix.  Use apropos-read-pattern.
(apropos-command): Doc fix.  Use apropos-read-pattern and
apropos-parse-pattern.  Call apropos-print with nosubst=t.
(apropos, apropos-value): Doc fix. Use apropos-read-pattern and
apropos-parse-pattern.
(apropos-documentation): Doc fix. Use apropos-read-pattern and
apropos-parse-pattern.  Locally bind apropos-sort-by-scores to
apropos-documentation-sort-by-scores.  Call apropos-print with
nosubst=t.
(apropos-documentation-internal): Pass doc string through
substitute-key-definition before adding text properties.
Highlight substring matching literal user input if possible.
(apropos-documentation-check-doc-file): Remove locals beg and end.
Fix calculation of score (as added twice).  Pass doc string through
substitute-key-definition before adding text properties.
(apropos-documentation-check-elc-file): Pass doc string through
substitute-key-definition before adding text properties.
Highlight substring matching literal user input if possible.
(apropos-print): Add new arg NOSUBST; if set, command and variable
doc strings have already been passed through substitute-key-definition.
Add code to handle apropos-accumulator items without score element
for backwards compatibility (e.g. with woman package).
Only show scores if apropos-sort-by-scores is `verbose'.
2005-11-12 00:10:40 +00:00
Romain Francoise
7127d508b4 (apropos-calc-scores): Use `apropos-pattern'. 2005-11-10 19:45:03 +00:00
Richard M. Stallman
fe8bc3fa17 (apropos-pattern): Renamed from apropos-regexp.
(apropos-orig-pattern): Renamed from apropos-orig-regexp.
All uses changed.

(apropos-rewrite-regexp): Doc fix.
(apropos-variable, apropos-command apropos, apropos-value):
Change prompt; carry through the argument renaming.
2005-11-10 03:18:51 +00:00
Deepak Goel
8a26c16552 Message format spec fixes (1) 2005-09-18 12:25:02 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Juanma Barranquero
32463e4d08 (apropos): Finish `defgroup' description with period. 2005-07-04 01:46:37 +00:00
Kim F. Storm
eccfba6ef1 (apropos-print): Omit command from M-x ... RET. 2005-03-07 11:00:25 +00:00
Lute Kamstra
b7a2a69670 (apropos-score-doc): Prevent division by zero. 2005-02-11 16:09:50 +00:00
Kim F. Storm
d8fac80103 (apropos-symbol, apropos-function, apropos-macro)
(apropos-command, apropos-variable, apropos-face, apropos-group)
(apropos-widget, apropos-plist): Add follow-link property.
2004-12-17 15:17:22 +00:00
Juri Linkov
5248b3e332 (apropos-match-face): Change default from secondary-selection' to match'. 2004-12-16 07:16:58 +00:00
Richard M. Stallman
b965722b34 (apropos-macrop): Doc fix. 2004-10-27 17:46:33 +00:00
Stefan Monnier
caa8e7aa75 (apropos-mode): Don't autoload.
(apropos-symbols-internal): New fun.  Extracted from `apropos'.
(apropos): Use it.
(apropos-print): Add optional `text' argument.
(apropos-describe-plist): Use help-buffer and hexlp-setup-xref.
Don't assume point-min == 1.
2004-03-26 15:27:56 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Andreas Schwab
80f5d2efec (apropos-words-to-regexp): Only add `wild' if
`words' has more than one member.
2003-08-02 20:36:51 +00:00
Kim F. Storm
ab765ff7cb (apropos-sort-by-scores): Rename from apropos-show-scores.
All uses changed.
2003-07-14 21:49:02 +00:00
Richard M. Stallman
30aab7419b (apropos-show-scores): Make it customizable. Document new meaning.
(apropos): Compute scores from symbols.
(apropos-print): Don't sort by scores if apropos-show-scores is nil.
2003-07-12 21:57:50 +00:00
Juanma Barranquero
71296446d3 Trailing whitespace deleted. 2003-02-04 11:26:42 +00:00
John Paul Wallington
5760219d1d (apropos): Restore autoload cookie. Fix error
message typo.
2003-01-14 20:47:21 +00:00
Richard M. Stallman
914b40da4a (apropos-documentation-property): New function.
(apropos): Use apropos-documentation-property.
2003-01-13 08:07:18 +00:00
Andreas Schwab
2d37b91ee0 (apropos-group): Use customize-group-other-window. 2002-10-20 21:03:54 +00:00
John Paul Wallington
82e736c18b * startup.el (normal-splash-screen): Ensure splash buffer is
killed.  Use tabs in output.  Fix test whether previous buffer was
*scratch* buffer.

* progmodes/simula.el (simula-abbrev-keyword-default)
(simula-abbrev-keyword, simula-abbrev-stdproc-default)
(simula-abbrev-stdproc): Doc fix - escape open parens in column 0.

* apropos.el (command-apropos): Use `defalias' instead of `fset'.

* mail/rmail.el (rmail-speedbar-match-folder-regexp): Doc fix.
2002-08-24 14:26:06 +00:00
Kim F. Storm
d2b3029267 (apropos-true-hit, apropos-false-hit-symbol)
(apropos-false-hit-str, apropos-true-hit-doc): New functions.
(apropos-command, apropos-value, apropos-documentation-internal)
(apropos-documentation-check-doc-file)
(apropos-documentation-check-elc-file): Use them to filter out
false matches where only one keyword matches, but more than once.
2002-05-23 20:21:30 +00:00
Kim F. Storm
d5857a966b Only reduce string score for lengthy strings once. 2002-05-23 10:24:14 +00:00
Kim F. Storm
7dbffb1cf5 (apropos-show-scores, apropos-orig-regexp)
(apropos-all-regexp, apropos-synonyms, apropos-words)
(apropos-all-words): New variables.
(aprpos-words-to-regexp, apropos-rewrite-regexp)
(apropos-calc-scores, apropos-score-str, apropos-score-doc)
(apropos-score-symbol): New functions.
(apropos-command, apropos, apropos-value, apropos-documentation):
Allow keywords in addition to regexp. Added scoring.
(apropos-documentation-check-doc-file)
(apropos-documentation-check-elc-file): Added scoring.
(apropos-print): Sort according to score.
2002-05-23 10:20:12 +00:00
Eli Zaretskii
8d33699be8 (apropos-print): Fix the reference to mouse-2. 2002-05-04 14:51:46 +00:00
Pavel Janík
7cfedc97a2 Remove unnecessary whitespaces. 2002-01-05 19:02:27 +00:00
Richard M. Stallman
9cc84e31c9 (apropos-print): SPACING is now nil or a separator string.
(apropos-documentation, apropos-value): Pass a suitable string.
2001-12-22 01:36:48 +00:00
Pavel Janík
a11a4e9ff6 (apropos-next-label-button): Doc fix. 2001-11-16 18:30:25 +00:00
Miles Bader
851befd40e (button): New require. 2001-10-09 12:09:25 +00:00
Miles Bader
3b8c60f18c (apropos-next-label-button): Use the presence of a
`apropos-label' property to detect label buttons.
2001-10-08 16:37:44 +00:00
Miles Bader
894e460c17 (apropos-symbol): Add `skip' property.
(apropos-function, apropos-macro, apropos-command)
(apropos-variable, apropos-face, apropos-group, apropos-widget)
(apropos-plist): New button types.
(apropos-label-properties): Variable removed.
(apropos-print): Pass button-type to apropos-print-doc, rather
than help function and label text.
(apropos-print-doc): Remove ACTION and STR args, add TYPE arg.
Get button label from TYPE.
2001-10-08 06:58:32 +00:00
Miles Bader
a101302b06 (apropos-next-label-button): Update arguments to `next-button'. 2001-10-08 06:13:07 +00:00
Miles Bader
e517f56d87 (apropos-symbol, apropos-label): New button types.
(apropos-symbol-button-display-help)
(apropos-label-button-display-help, apropos-next-label-button): New functions.
(apropos-mode-map): Make button-buffer-map our parent.
Don't bind mouse events.
(apropos-print, apropos-print-doc): Create buttons instead of text properties.
(apropos-mouse-follow): Function removed.
(apropos-follow): Use buttons.
2001-10-07 11:35:09 +00:00
Eli Zaretskii
53a7d078a1 (apropos-print): Fix last change. 2001-09-28 06:18:36 +00:00
Eli Zaretskii
d94d5b5a4b (apropos-print): Make the directions inserted at the
beginning of the *Apropos* buffer more clear.
2001-09-28 06:11:25 +00:00
Pavel Janík
e8af40eed4 Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
Dave Love
0934097355 (apropos-print): Add help-echo to active text. 2000-11-27 17:41:06 +00:00
Stefan Monnier
38ab866cad (apropos-mode): Use define-derived-mode. 2000-10-04 23:30:51 +00:00
Dave Love
7a5348dbc9 Doc fixes. 2000-06-20 09:58:07 +00:00
Gerd Moellmann
45f485a601 *** empty log message *** 2000-06-07 15:38:54 +00:00
Eli Zaretskii
a2ee79192a (apropos-print): Use display-mouse-p instead of
window-system.
2000-05-25 16:51:21 +00:00
Dave Love
5bd51a90c2 (apropos-print): use `describe-face' instead of
`customize-face-other-window'.
2000-05-09 18:22:24 +00:00
Gerd Moellmann
bd041acef2 (apropos-mode): Add autoload cookie. 1999-12-06 13:12:38 +00:00
Richard M. Stallman
07eeca5d43 (apropos-symbol-face): Non-nil even for ttys.
(apropos-keybinding-face, apropos-label-face): Likewise.
(apropos-property-face, apropos-match-face): Likewise.
(apropos-label-properties): New variable.
(apropos-print-doc): Use apropos-label-properties.
(apropos-print): Set apropos-label-properties.
1999-09-17 19:43:09 +00:00