(widget-choice-action): Use widget-edit-functions.
(widget-toggle-action): Likewise.
(widget-choose): Use only digits, except for C-g.
Allocate digits to disabled commands too.
Don't use a keyboard menu; instead, display a buffer
listing all the alternatives. Put cursor in echo area.
(Custom-move-and-invoke): New command.
(custom-mode-map): Bind Custom-move-and-invoke to mouse-1.
(custom-buffer-create-internal): Update buffer help text.
(custom-variable-menu): Clarify menu item names.
(custom-buffer-create-internal): Clarify button names.
Changed some documentation.
(view-exits-all-viewing-windows): Nev variable
replaces view-exit-all-windows-at-exit.
(view-exit-all-windows-at-exit): Variable deleted.
(view-mode-enter): Doesn't set view-exit-action if
argument exit-action is nil.
(view-mode-exit): Only restored windows are removed
from view-return-to-alist. Follow chains of old-windows.
Do not call replace-buffer-in-windows.
Call exit-action also when a window displays buffer.
(View-exit-and-edit): Now sets read-only by binding
view-old-buffer-read-only.
(prepare_to_modify_buffer, signal_before_change):
New argument PRESERVE_PTR.
(del_range_1): Use PRESERVE_PTR to preserve FROM.
Save the length of the range separately.
(NULL): Define if not defined.
(read_minibuf): New arg allow_props.
If it is 0, discard text properties from the result. Callers changed.
(minibuffer_allow_text_properties): New variable.
(Fread_from_minibuffer): That variable controls allow_props arg.
(syms_of_minibuf): Set up Lisp var.
(isearch-search-and-update): When a reverse search
need not actually search, update isearch-case-fold-search anyway.
(isearch-mode-map): Define latin-iso8859-9 as self-searching.
(custom-documentation-face): New face.
(custom-mode): Use custom-documentation-face for doc strings.
(custom-group-link): Fix the help string.
(custom-magic-show): Doc fix.
(custom-group-value-create): In links style,
use Go to Group instead of Show.
(Custom-goto-parent): New command.
(custom-mode-map): Bind u to Custom-goto-parent.
Bind SPC and DEL.
(custom-buffer-create-internal): Improve help for buttons.
(custom-button-face): New defface.
(custom widget-type): Use custom-button-face for buttons.
(custom-group-tag-faces): Initial value is nil.
(custom-variable-tag-face): Renamed from custom-variable-sample-face.
Initialize it like custom-group-tag-face.
(custom-group-tag-faces): Initialize to nil.
(custom-state-face): New defface.
(custom-magic-value-create):
Use custom-state-face for long State descriptions.
(custom-state-buffer-message): Display the message
only if the item is modified. Take widget as arg.
(custom-mode): Use widget-edit-functions.
(Custom-set): Renamed from custom-set.
(Custom-save): Renamed from custom-save.
(custom-browse-sort-predicate): Defalias deleted.
(custom-group-value-create): Don't sort, in tree mode.
(Custom-mode-menu): Renamed from custom-mode-menu.
(Custom-reset-current): Renamed from custom-reset-current.
(Custom-reset-saved): Renamed from custom-reset-saved.
(Custom-reset-standard): Renamed from custom-reset-standard.
(Custom-menu-update): Renamed from custom-menu-update.
(customize-set-value): Renamed from custom-set-value.
(customize-set-variable): Renamed from custom-set-variable.
Paul Eggert [Tue, 24 Jun 1997 10:48:10 +0000 (10:48 +0000)]
(perform-replace): When matching regexps, if the next match is
adjacent to this one, record the next match before replacing this one.
This fixes a bug where (replace-regexp "\\ba " "c") replaced "a a a "
with "ca c" instead of "ccc".
(custom-group-visibility): Widget type
moved from wid-edit.el and renamed from group-visibility.
(custom-group-visibility-create): Function renamed
and moved from wid-edit.el.
(custom-state-buffer-message): New function.
(custom-mode): Add custom-state-buffer-message to widget-edit-hook.
(widget-edit-hook): New variable.
(widget-field-action, widget-choice-action): Run that hook
instead of displaying an echo area message.
(widget-toggle-action): Likewise.
(group-visibility, widget-group-visibility-create):
Moved to cus-edit.el and renamed.
Noah Friedman [Mon, 23 Jun 1997 04:58:15 +0000 (04:58 +0000)]
Changes which are not mine:
1996-01-20 Richard M. Stallman <rms@whiz-bang.gnu.ai.mit.edu>
Move defsubsts before defuns.
1996-01-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
(type-break-demo-life): Pass proper format string to message.
1996-01-04 Paul Eggert <eggert@twinsun.com>
(type-break-guesstimate-keystroke-threshold): Renamed from
type-break-guestimate-keystroke-threshold.
(type-break-keystroke-threshold, type-break-mode): Doc fix.
(type-break-warning-message-mode): New variable.
(type-break-warning-countdown-string): New variable.
(type-break-warning-countdown-string-type): New variable.
(picture-draw-rectangle): New command.
(picture-mode-map): Add binding for picture-draw-rectangle.
(picture-mode): Doc fix.
(picture-rectangle-ctl): New variable.
(picture-rectangle-ctr): New variable.
(picture-rectangle-cbr): New variable.
(picture-rectangle-cbl): New variable.
(picture-rectangle-v): New variable.
(picture-rectangle-h): New variable.
(move-to-column-force): Function deleted;
calls changed to use move-to-column.
(picture-insert): New function.
(picture-self-insert): Use picture-insert.
(picture-current-line): New function.
Test __linux__ along with NEWSOS5.
(KERNEL_FILE, UNEXEC): Don't redefine them if __linux__.
[__linux__] (TEXT_START, DATA_START, DATA_SEG_BITS):
Alternate definitions.
(delay-uniquify-rationalize-file-buffer-names): Remove this hook here,
if we won't call delayed-uniquify-rationalize-file-buffer-names.
(uniquify-buffer-name-style): Default value is nil.
(widget-default-value-set): Preserve point here.
(widget-choice-action, widget-toggle-action): Not here.
(widget-choice-action, widget-toggle-action):
Display a message about [State].
(widget-field-action): Improve message.
(widget-file-complete): New function.
(file): Use widget-file-complete for :completion. Delete :action.
(symbol): Use lisp-complete-symbol for :completion.
(widget-file-action): Function deleted.
(widget-field-action): Just move to next field.
(widget-choice-action, widget-toggle-action):
Preserve point usefully if it is within the widget.
(custom-group-value-create): Use group-visibility widget.
(custom-add-parent-links): Don't insert anything if no parents.
Return non-nil iff do have parents.