1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 02:20:21 -08:00
Commit graph

441 commits

Author SHA1 Message Date
Karl Heuer
a59b702540 (variable-link): New widget.
(widget-variable-link-action): New function.
(function-link): New widget.
(widget-function-link-action): New function.
1997-10-16 18:22:36 +00:00
Karl Heuer
d6bc306b43 (widget-button-click): Move point to where clicked. 1997-10-15 23:57:19 +00:00
Karl Heuer
ba7fbe9273 (widget-plist-member): Move from here to src/fns.c;
translated into C for efficiency.
(widget-put, widget-get, widget-apply): Likewise.
1997-09-30 07:20:58 +00:00
Richard M. Stallman
540a8bd25e (widget-before-change): Obey `inhibit-read-only'. 1997-08-15 19:26:07 +00:00
Richard M. Stallman
33eae9c01b (widget-single-line-display-table): Variable
commented out; don't use it either.
1997-08-09 19:11:15 +00:00
Per Abrahamsen
4ee1cf9f78 Synched with 1.9951. 1997-07-28 15:46:57 +00:00
Richard M. Stallman
cfc198e540 (widget-field-use-before-change): Reenable for Emacs 20.
(widget-choose): Using keyboard, if all choices are
diabled, just report an error.
1997-07-06 23:12:14 +00:00
Per Abrahamsen
0f648ca2b9 Synched with 1.9945. 1997-07-04 12:52:14 +00:00
Per Abrahamsen
62f4466253 Synched with 1.9944. 1997-07-04 09:44:36 +00:00
Richard M. Stallman
2f47738170 (color-sample, editable-color): New widget types.
(widget-button-face): Default value widget-button-face.
(widget-default-button-face-get): Use variable widget-button-face.
1997-07-03 07:11:10 +00:00
Per Abrahamsen
c953515ea3 Synched with 1.9942. 1997-07-02 15:35:18 +00:00
Richard M. Stallman
d4b8422faf (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.
1997-06-27 06:04:19 +00:00
Per Abrahamsen
da5ec61785 Synched with 1.9936. 1997-06-25 15:30:27 +00:00
Richard M. Stallman
0b296daca5 (widget-menu-minibuffer-flag): New variable.
(widget-choose): Alternative method to read one character from the keyboard.

(widget-documentation-face): New variable.
(widget-specify-doc): Use the variable.

(widget-default-button-face-get): Try to get it from the parent.
(widget-default-create): Use :tag-face for tags.

(widget-edit-functions): Renamed from widget-edit-hook.
(widget-field-action): Pass the widget as an arg when running hook.

(character): Doc fix.
(restricted-sexp): New widget type.
(integer, number): Use restricted-sexp.
1997-06-24 22:44:30 +00:00
Richard M. Stallman
211c9fe920 (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.
1997-06-24 03:17:34 +00:00
Richard M. Stallman
d0acc4ea1e (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.
1997-06-21 23:37:57 +00:00
Richard M. Stallman
f1231b8e0c (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.

(group-visibility): Inherit from visibility.
1997-06-21 21:25:16 +00:00
Richard M. Stallman
515c9d0d08 (group-visibility): New widget type.
(widget-group-visibility-create): New function.
1997-06-21 18:32:42 +00:00
Richard M. Stallman
f992349954 Comment change. 1997-06-21 17:31:29 +00:00
Richard M. Stallman
9dccd7efe5 (widget-documentation-link-action):
Use describe-function or describe-variable in simple cases.
1997-06-21 17:30:26 +00:00
Per Abrahamsen
944c91b6b3 Synched with 1.9930. 1997-06-21 12:48:00 +00:00
Richard M. Stallman
c6753d66ff (boolean): Capitalize "toggle".
(choice): Capitalize "value menu".
(visibility): Capitalize "hide" and "show".
(group-visibility): Likewise.
(widget-documentation-string-value-create): Capitalize "more".

(widget-specify-insert): Bind before-change-functions.
(widget-insert, widget-setup): Likewise.
(widget-editable-list-delete-at, widget-default-delete): Likewise.
(widget-editable-list-insert-before): Likewise.
(widget-setup): Set up before-change-functions.
(widget-after-change): Don't apply :notify here.
(widget-before-change): New function.  Apply :notify here.
(group-link): New widget type.
(widget-group-link-action): New function.
(widget-group-link-create): New function.

(group-visibility): New widget type.
1997-06-21 05:13:41 +00:00
Per Abrahamsen
208920be0d Don't delete nil overlays. 1997-06-19 15:31:34 +00:00
Per Abrahamsen
834279071a Change color. 1997-06-19 12:52:23 +00:00
Per Abrahamsen
a1a4fa22ce Synched with 1.9924. 1997-06-19 11:30:04 +00:00
Per Abrahamsen
8697863ab3 Synched with 1.9920. 1997-06-15 15:31:32 +00:00
Per Abrahamsen
6aaedd1230 Synched with 1.9914. 1997-06-14 10:21:01 +00:00
Per Abrahamsen
0ce5b5d5c4 Synached with 1.9908. 1997-06-04 11:40:44 +00:00
Per Abrahamsen
0a3a0b562f Synched with 1.9905 1997-06-01 18:03:25 +00:00
Per Abrahamsen
9097aeb790 Synched with 1.9904 1997-06-01 11:58:17 +00:00
Per Abrahamsen
d5c42d02a5 Synched with 1.9903 1997-06-01 08:04:57 +00:00
Per Abrahamsen
3acab5ef06 Synched with version 1.9901. 1997-05-31 06:34:12 +00:00
Richard M. Stallman
e5dfabb489 (widget-default-format-handler): Don't use push.
(widget-push-button-value-create): Likewise.
(widget-group-value-create): Likewise.
(widget-sublist): New function.
(widget-item-match-inline): Use widget-subllist.
(widget-remove-if): New function.
(widget-choose): Use widget-remove-if.
1997-05-31 01:37:15 +00:00
Richard M. Stallman
6d1ab9d4d6 (widget-sexp-value-to-internal):
Don't bother with pp for a symbol.
1997-05-31 01:22:39 +00:00
Per Abrahamsen
25ac13b5bd Synched with version 1.9900. 1997-05-30 00:39:40 +00:00
Per Abrahamsen
a3c88c5987 Synched with 1.97. 1997-05-14 17:31:13 +00:00
Per Abrahamsen
6d528fc505 Synched with custom 1.90. 1997-04-24 16:53:55 +00:00
Richard M. Stallman
caa5786be5 Use cl only at compile time. 1997-04-22 17:00:52 +00:00
Richard M. Stallman
ef3f635fc1 Use copy-sequence, not copy-list. 1997-04-22 16:59:47 +00:00
Per Abrahamsen
bd042c030f Sync with 1.84. 1997-04-12 17:51:31 +00:00
Per Abrahamsen
d543e20b61 Initial revision 1997-04-07 13:42:59 +00:00