1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-15 09:47:20 +00:00
Commit Graph

134 Commits

Author SHA1 Message Date
Glenn Morris
9da97cf020 (apropos-command): Report documentation errors, rather than ignoring. 2008-08-30 20:14:11 +00:00
Glenn Morris
7cb78ecd63 (apropos-command): Ignore documentation errors. (Bug#825) 2008-08-30 03:25:50 +00:00
Chong Yidong
60f4c0c8ba (apropos-symbol): Don't set button skip by default.
(apropos-print): Set button skip iff searching for multiple types.
(apropos-print-doc): Insert blank label button when searching for
a single type.
2008-07-31 22:15:18 +00:00
Stefan Monnier
1d69bd9baa (apropos-function, apropos-macro, apropos-command)
(apropos-variable, apropos-face, apropos-group, apropos-widget)
(apropos-plist): Add apropos-short-label property.
(apropos-multi-type): New variables.
(apropos-command, apropos-value): Set it.
(apropos-compact-layout): New custom.
(apropos-print, apropos-print-doc): Use it.
(apropos-print): Truncate lines.
2008-06-10 02:44:48 +00:00
Stefan Monnier
2e3d43acd9 (apropos-library): New command and new button.
(apropos-library-button): New function.
2008-06-08 04:32:43 +00:00
Stefan Monnier
671c04d971 Remove spurious * in docstrings.
(apropos-label-face): Use variable pitch.
(apropos-print): Use dolist and with-current-buffer.
(apropos-print-doc): Use when.
2008-06-08 03:48:22 +00:00
Glenn Morris
eb3fa2cfcf Switch to recommended form of GPLv3 permissions notice. 2008-05-06 08:06:51 +00:00
Stefan Monnier
cbee283dd7 Fix up comment convention on the arch-tag lines. 2008-04-10 14:10:46 +00:00
Stefan Monnier
554fde6ed7 (apropos-command): Include macros. 2008-03-26 03:31:42 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
409cc4a3ea Add 2008 to copyright years. 2008-01-07 02:45:14 +00:00
Glenn Morris
c851bcec24 (apropos-command): Revert previous change (variable assignment, not
function call).
2007-12-06 03:59:38 +00:00
Deepak Goel
f6e7ec0248 Fix possibly buggy calls to `message'. 2007-12-06 00:17:56 +00:00
Martin Rudalics
c6808785f8 (apropos-describe-plist):
Use with-help-window instead of with-output-to-temp-buffer.
2007-11-10 09:55:10 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Juanma Barranquero
5e24ee14f1 (apropos-synonyms): Fix typo in docstring. 2006-11-06 02:41:31 +00:00
Eli Zaretskii
c6b1922543 (apropos-pattern-quoted): Fix a typo in a doc string. 2006-10-13 19:32:50 +00:00
Richard M. Stallman
7cf8b3fcac (apropos-print): Don't do where-is on self-insert-command. 2006-04-18 21:16:50 +00:00
Kim F. Storm
f4517e516b (apropos-synonyms): Add selection => region. 2006-03-24 13:28:23 +00:00
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