Commit graph

18601 commits

Author SHA1 Message Date
Miles Bader
44e75f509b New file, contents mostly from `help.el'.
(describe-variable): Use `condition-case' instead of `ignore-errors'.
2001-10-09 11:15:19 +00:00
Miles Bader
448a01706c (symbol-file-load-history-loaded)
(load-symbol-file-load-history, symbol-file): Moved from `help.el'.
2001-10-09 11:14:31 +00:00
Miles Bader
ded42dd308 (define-button-type): Respect any `supertype' property.
(button-type-subtype-p, button-has-type-p): New functions.
2001-10-09 05:57:35 +00:00
Miles Bader
f4be0a12f6 (rfn-eshadow-regexp): Deal correctly with escaped dollar-signs. 2001-10-09 02:53:51 +00:00
Miles Bader
a277229e6b (comint-insert-previous-argument): New function.
(comint-mode-map): Bind `C-c .' to `comint-input-previous-argument'.
(comint-insert-previous-argument-last-start-pos)
(comint-insert-previous-argument-last-index): New variables.
2001-10-09 02:26:00 +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
62dc75c498 (button-nop): Function removed.
(default-button): Use `ignore' as default button action.
2001-10-08 14:18:11 +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
1e00f72054 (button-activate): USE-MOUSE-ACTION is optional. 2001-10-08 06:52:24 +00:00
Miles Bader
a101302b06 (apropos-next-label-button): Update arguments to `next-button'. 2001-10-08 06:13:07 +00:00
Miles Bader
fee34a28e2 (next-button, previous-button): Remove N and WRAP parameters.
Don't pay attention to `skip' properties.
(forward-button): Implement wrapping, iterating, and skipping here instead.
2001-10-08 06:08:57 +00:00
Stefan Monnier
b0fbf75422 (help-mode): Use define-derived-mode.
(describe-mode): Add optional `buffer' arg.
Use it instead of going through help-xref-mode.
Avoid doubling the word `minor' when prettifying.
(describe-function-1): List the corresponding key bindings.
(describe-variable): Say if the var is automatically buffer-local.
If the source is `loaddefs.el', look for the real source.
(help-xref-mode): Remove.
2001-10-08 00:19:58 +00:00
Stefan Monnier
82345a9abc (byte-compile-file): Return success when the file says no-byte-compile. 2001-10-07 23:34:07 +00:00
Miles Bader
d6bc0bdc4a (next-button, previous-button): Respect `skip' property.
(push-button, button-activate): Add USE-MOUSE-ACTION argument.
2001-10-07 17:14:34 +00:00
Miles Bader
e664497b5f (woman-mode-map): Copy button-buffer-map instead of
making a new keymap.  Don't bind mouse-2.  Bind M-mouse-2 to
`woman-follow-word' instead of `woman-mouse-2'.
(woman-follow-word): Renamed from `woman-mouse-2'.
Follow unconditionally, since this function is now only
bound to M-mouse-2.  Use accessor functions.
(WoMan-highlight-references): Use `make-text-button'.
(woman-xref): New button type.
2001-10-07 12:41:03 +00:00
Miles Bader
d876f455d1 *** empty log message *** 2001-10-07 12:07:34 +00:00
Miles Bader
0cf0d8284d (help-mode-map): Make button-buffer-map our parent.
Don't bind mouse events or tab/backtab.
(help-function, help-variable, help-face, help-coding-system)
(help-input-method, help-character-set, help-back, help-info)
(help-customize-variable,  help-function-def, help-variable-def):
New button types.
(help-button-action): New function.
(describe-function-1): Pass help button-types to `help-xref-button'
rather than help function and help-echo string.  Don't put multiple
help-function args in a list to pass them to help-xref-button, just pass
them as multiple arguments.  Use `help-insert-xref-button' to make
[back]-button, rather than `help-xref-button'.
(help-xref-button): Take a button-type TYPE as a parameter rather than a
function.  Remove HELP-ECHO parameter.  Remove DATA parameter and add a
&rest parameter ARGS to serve the same purpose.  Use `make-text-button'
to add the button.
(help-insert-xref-button): Use `insert-text-button' to add the button.
(help-follow-mouse, help-next-ref, help-previous-ref): Functions removed.
(help-do-xref): New function.
(help-follow): Use `push-button' and `help-do-xref' to do most of the work.
2001-10-07 12:05:22 +00:00
Miles Bader
d6af189ae7 ("faces"): Move load before loading "loaddefs.el".
("button"): New load, just before "help" (which uses it).
2001-10-07 11:38:15 +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
Miles Bader
7997fd38bf *** empty log message *** 2001-10-07 04:39:53 +00:00
Miles Bader
0c26f46330 Initial checkin. 2001-10-07 03:52:01 +00:00
Gerd Moellmann
1a4372efcd *** empty log message *** 2001-10-06 23:38:11 +00:00
Gerd Moellmann
9542e3f508 (most-positive-fixnum, most-negative-fixnum):
Remove.
2001-10-06 23:24:15 +00:00
Gerd Moellmann
2a34a036ff *** empty log message *** 2001-10-06 09:57:20 +00:00
Richard M. Stallman
d882f144e7 (add-change-log-entry): Skip copyright notice
and copying permission notice at start of file, if any.
Make use of terms "entry" and "item" accord with Emacs manual.
Simplify the logic for moving point while entering or creating
an entry and then an item.
(add-change-log-entry-other-window): Doc fix.
2001-10-06 02:32:54 +00:00
Richard M. Stallman
857e81db0f *** empty log message *** 2001-10-06 02:32:43 +00:00
Miles Bader
4650e3623c *** empty log message *** 2001-10-05 16:48:46 +00:00
Miles Bader
ce66a8a4c6 (read-file-name-electric-shadow): Autoload cookie removed; they
apparently don't work with faces.
2001-10-05 16:43:54 +00:00
Sam Steingold
b4f05c3831 added `html-xhtml' for XHTML input 2001-10-05 16:21:14 +00:00
Sam Steingold
4dd618ff50 (diary-entry-compare): When times are identical, compare the entries
lexicographically.
2001-10-05 15:53:02 +00:00
Miles Bader
a01b78312a (rfn-eshadow-update-overlay): Use `minibuffer-prompt-end'. 2001-10-05 15:19:23 +00:00
Miles Bader
6d74d713e0 (previous-matching-history-element): Fix misplaced parentheses. 2001-10-05 15:16:24 +00:00
Miles Bader
20a8200954 *** empty log message *** 2001-10-05 14:05:27 +00:00
Miles Bader
18a90ec756 (read-file-name-electric-shadow-properties)
(read-file-name-electric-shadow-tty-properties):
Add autoloads.
2001-10-05 13:55:55 +00:00
Miles Bader
519f7ff698 Initial checkin. 2001-10-05 13:29:25 +00:00
Miles Bader
c165ad4044 (custom-face-attributes): Make sure each attribute has a valid default
value.  Remove hacks that mapped `nil' to `off' and used nil to mean
`unspecified'.  Remove `unspecified' choices from all attributes
(unspecified is handled by the parent checklist).
2001-10-05 13:06:51 +00:00
Miles Bader
3ea051cb61 (custom-face-edit-convert-widget)
(custom-face-edit-deactivate, custom-face-edit-activate)
(custom-face-edit-delete, custom-face-edit-attribute-tag):
New functions.
(custom-face-edit): Specify a custom :convert-widget.
(custom-pre-filter-face-spec, custom-post-filter-face-spec):
Don't pass in default filters that map between `nil' and `off' and
`unspecified' and `nil'.
2001-10-05 13:03:57 +00:00
Gerd Moellmann
ace64e0a1f *** empty log message *** 2001-10-05 12:54:15 +00:00
Gerd Moellmann
7bdb67b2b3 (compilation-buffer-name): New function.
(compile-internal): Use it to determine the name of the
compilation buffer.
2001-10-05 12:43:13 +00:00
Miles Bader
ec66bdc7f1 *** empty log message *** 2001-10-05 12:34:41 +00:00
Miles Bader
a45717daf6 (grep-use-null-device): New variable.
(grep-command): Mention `grep-use-null-device'.
(grep-compute-defaults): Compute `grep-use-null-device' if necessary.
Make computation of `grep-command' respect `grep-use-null-device'.
(grep): Respect `grep-use-null-device'.
Call `grep-compute-defaults' even if grep-command is set, if
grep-use-null-device is still tentative.
2001-10-05 12:30:52 +00:00
Miles Bader
93aca633e1 (call-process-shell-command): New function. 2001-10-05 12:30:20 +00:00
Miles Bader
efaac2e650 (previous-matching-history-element, next-history-element)
next-complete-history-element): Use `minibuffer-' functions instead of
calling `field-' functions directly.
(minibuffer-prompt-end, minibuffer-contents):
(minibuffer-contents-no-properties, delete-minibuffer-contents):
Functions removed (now subrs).
(minibuffer-prompt-width): Use `minibuffer-prompt-end'.
2001-10-05 12:28:31 +00:00
Miles Bader
8bbb7c7060 (minibuf-eldef-setup-minibuffer)
(minibuf-eldef-update-minibuffer): Use `minibuffer-' functions
instead of calling `field-' functions directly.
(minibuf-eldef-setup-minibuffer): Remove unused variable `prompt'.
2001-10-05 12:26:27 +00:00
Gerd Moellmann
a0fb44927f *** empty log message *** 2001-10-05 12:11:19 +00:00
Gerd Moellmann
a8d002d2a6 (find-file-noselect): If file's read-only status has
changed on disk, ask if buffer's read-only status should be
changed, unless NOWARN is set.
2001-10-05 12:10:57 +00:00
Gerd Moellmann
c86350b15d *** empty log message *** 2001-10-05 10:40:42 +00:00
Gerd Moellmann
6a78f30f4d (define-setf-expander): Make it an
alias for define-setf-method.
2001-10-05 10:40:18 +00:00
Gerd Moellmann
c89e4bc57f *** empty log message *** 2001-10-05 10:13:12 +00:00
Gerd Moellmann
c4ab9c7c52 Remove no-byte-compile from file local variables
to enable bootstrapping.
2001-10-05 10:12:12 +00:00