summaryrefslogtreecommitdiff
path: root/lisp/wid-edit.el
Commit message (Collapse)AuthorAgeFilesLines
* (widget-color-sample-face-get): Don't makeGerd Moellmann2001-04-051-6/+8
| | | | faces for undefined colors.
* Revert bogus revision 2001-02-20T10:59:03Z!fx@gnu.org.Dave Love2001-02-201-60/+33
|
* (widget-button-click): Save the selected windowGerd Moellmann2001-02-191-1/+1
| | | | around the code handling clicks on buttons.
* (widget-convert-text): Respect personality forDave Love2001-02-101-33/+60
| | | | | | | | | | | | Emacspeak. (insert/delete-button): New widget type. (widget-insert/delete-button-action, widget-list-item-insert) (widget-list-item-delete): New functions. (insert-button): Change :tag, :help-echo. (delete-button, widget-delete-button-action): Deleted. (editable-list): Change :entry-format. (widget-editable-list-entry-create): Use ins/del. Process %-, not %i, %d.
* (widget-plist-convert-widget): Replace binding ofDave Love2001-02-081-2/+4
| | | | | | widget-plist-value-type. (widget-alist-convert-widget): Replace binding of widget-alist-value-type.
* (widget-button-click): Fix last change.Gerd Moellmann2001-02-021-15/+25
|
* (widget-button-click): Avoid a save-excursionGerd Moellmann2001-01-221-35/+39
| | | | around running a global binding.
* (function): Add :match-alternatives.Dave Love2001-01-121-2/+4
| | | | (widget-color-action): Doc fix.
* (widget-choose): Call display-popup-menus-p insteadEli Zaretskii2001-01-091-1/+1
| | | | of display-mouse-p.
* (widget-text-keymap): Doc fix.Dave Love2000-12-061-1/+1
|
* (widget-choose): Make sure pop-up window is large enough to display allMiles Bader2000-11-281-1/+1
| | | | the choices, as there's no way to scroll it.
* (widget-field-buffer, widget-field-start)Miles Bader2000-11-271-11/+18
| | | | | | (widget-field-end): Handle widget field `pseudo-overlays'. (widget-field-value-delete): Delete WIDGET from `widget-field-new' if it's there instead of in `widget-field-list'.
* (widget-field-value-delete): Don't try to delete overlay when it's theMiles Bader2000-11-251-1/+1
| | | | `psuedo-overlay' that exists at some points.
* (checkbox): Add a small `X' to the the :on-glyph, so that it'sMiles Bader2000-11-241-3/+6
| | | | | distinguishable from the :off-glyph on dark-background displays. Set its background color too.
* (widget-specify-field, widget-specify-button): IfDave Love2000-11-151-20/+20
| | | | | | | | :help-echo is a function, set help-echo of overlay to widget-mouse-help. (widget-mouse-help): New function. (widget-echo-help): Rewritten for :help-echo functions only taking a widget arg.
* (widget-end-of-line): Reinstate, with a new definition, so that trailingMiles Bader2000-11-031-6/+19
| | | | | spaces are handled properly. (widget-field-keymap, widget-text-keymap): Likewise C-e binding.
* (widget-add-change): Don't bother with make-local-hook.Stefan Monnier2000-10-271-3/+0
|
* (widget-specify-field): Revert to using local-mapDave Love2000-10-261-2/+4
| | | | property, not keymap.
* (widget-field-end):Miles Bader2000-10-261-7/+9
| | | | When checking for a `boundary' field, do so in the correct buffer.
* Don'tDave Love2000-10-251-7/+1
| | | | | inherit from global-map and don't nullify menu-bar and tool-bar bindings since keymap properties DTRT.
* (widget-field-at): New function.Miles Bader2000-10-251-25/+47
| | | | | | | | | | (widget-at, widget-field-activate): Use it. (widget-tabable-at): Use `widget-at'. (widget-specify-field): If the terminating character of the widget field (which is read-only) is a newline, put it into a special `boundary' field so that C-n/C-p act more naturally. (widget-field-end): Also don't subtract one if a special `boundary' field has been added after the widget field.
* (widget-beginning-of-line, widget-end-of-line):Miles Bader2000-10-251-21/+12
| | | | | | Replace with aliases of the normal emacs b-o-l/e-o-l functions. (widget-field-keymap, widget-text-keymap): Don't bind C-a/C-e.
* (widget-field-keymap, widget-text-keymap): DefineGerd Moellmann2000-10-241-1/+3
| | | | | | the tool-bar map as nil, as for the menu-bar. Otherwise, we'll get duplicate tool-bar entries because we'll see the global ones on more than one path through keymaps.
* (widget-default-format-handler): DTRT whenDave Love2000-09-131-5/+5
| | | | doc-property is a function.
* (widget-sexp-validate): Fix garbled code.Dave Love2000-09-041-20/+21
|
* (widget-choose, widget-choice-mouse-down-action):Dave Love2000-08-201-246/+251
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't test x-popup-menu. (function) <complete-function>: Complete only fbound symbols. <validate, value>: New. (variable) <complete-function>: Complete only bound symbols. (coding-system): Add :base-only, :complete-function, :validate, :value, :prompt-match. (widget-coding-system-prompt-value): Use read-coding-system and act on :base-only. (editable-field): Add :help-echo. (widget-push-button-gui, widget-push-button-cache) (widget-gui-action, widget-editable-list-gui): COmment out, along with uses. (widget-at): Make arg optional. (widget-echo-help): Adjust for current help-echo calling sequence. (widget-specify-field, widget-specify-button) (widget-specify-insert, widget-get-sibling, widget-image-find) (widget-convert, widget-insert, widget-leave-text) (widget-beginning-of-line, widget-end-of-line, widget-kill-line) (widget-setup, widget-field-find, widget-before-change) (widget-after-change, widget-default-complete) (widget-default-create, widget-default-delete) (widget-push-button-value-create, editable-field) (widget-field-prompt-value, widget-field-validate) (widget-choice-value-create, widget-choice-action) (widget-choice-validate, widget-checklist-add-item) (widget-radio-add-item, widget-radio-chosen) (widget-radio-value-inline, widget-editable-list-value-create) (widget-editable-list-entry-create) (widget-documentation-link-add) (widget-documentation-string-value-create) (widget-regexp-validate, widget-file-complete) (widget-sexp-validate, widget-plist-convert-widget) (widget-plist-convert-widget, widget-alist-convert-widget) (widget-alist-convert-widget, widget-color-complete): Simplify, particularly to avoid bindings which aren't optimized out.
* (widget-choose): Use display-mouse-p instead of window-system.Eli Zaretskii2000-07-311-2/+2
| | | | | (widget-choice-mouse-down-action): Use display-popup-menus-p instead of window-system.
* (widget-specify-field, widget-specify-button): AllowDave Love2000-07-161-8/+19
| | | | | | | non-string help-echo. (widget-types-convert-widget): Defsubst it. (widget-echo-help): Try to cope with a help-echo function of two possible sorts.
* (widget-member): Use the new plist-member.Stefan Monnier2000-06-261-1/+1
|
* (widget-specify-button): Really suppress the face if required.Dave Love2000-06-111-2/+4
|
* byte-compile-dynamic since we typically don't useDave Love2000-06-031-489/+336
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | all the widgets. Don't require cl or widget. Remove eval-and-compile. Don't autoload finder-commentary. Doc fixes. (widget-read-event): Removed. Callers changed to use read-event. (widget-button-release-event-p): Renamed from button-release-event-p. (widget-field-add-space, widget-field-use-before-change): Uncustomize. (widget-specify-field): Use keymap property, not local-map. (widget-specify-button): Obey :suppress-face. (widget-specify-insert): Use modern backquote syntax. (widget-image-directory): Renamed from widget-glyph-directory. (widget-image-enable): Renamed from widget-glyph-enable. (widget-image-find): Replaces widget-glyph-find. (widget-button-pressed-face): Move defvar. (widget-image-insert): Replaces widget-glyph-insert. (widget-convert): Use keywordp. (widget-leave-text, widget-children-value-delete): Use mapc. (widget-keymap): Remove XEmacs stuff. (widget-field-keymap, widget-text-keymap): Define all inside defvar. (widget-button-click): Don't set point at the click, but re-centre if we scroll out of window. Rewritten for images v. glyphs &c. (widget-tabable-at): Use POS arg, not point. (widget-beginning-of-line, widget-end-of-line) (widget-item-value-create, widget-sublist, widget-princ-to-string) (widget-sexp-prompt-value, widget-echo-help): Simplify. (widget-default-create): Use widget-image-insert; some rewriting. (widget-visibility-value-create) (widget-push-button-value-create, widget-toggle-value-create): Use widget-image-insert. (checkbox): Create on and off images dynamically. (documentation-link): Change :help-echo. (widget-documentation-link-echo-help): Remove.
* (widget-default-active): Obey `:always-active'.Gerd Moellmann2000-05-021-4/+6
| | | | (widget-documentation-string-value-create): Set `:always-active'.
* 2000-02-02 Per Abrahamsen <abraham@dina.kvl.dk>Dave Love2000-02-161-1/+1
| | | | | * wid-edit.el (widget-match-inline): An atom never matches a list.
* (widgets) [defgroup]: Remove url link.Dave Love2000-02-101-60/+30
| | | | | | | | | | | | | (widget-color-choice-list, widget-color-history, widget-mouse-help): Deleted. (widget-specify-field, widget-specify-button): Don't use widget-mouse-help as help-echo property. (default): Use #'ignore for :validate and :mouse-down-action. (checkbox): Add help-echo. (widget-sexp-validate): Rewritten to clarify error messages. (character): Use char-valid-p in :match function. (widget-color-complete): Use facemenu-color-alist. (widget-color-action): Use facemenu-read-color.
* (widget-button-click): Wrap with save-excursionGerd Moellmann1999-11-091-23/+24
| | | | to restore track-mouse in the correct buffer.
* Remove some compatibility code and checks.Dave Love1999-09-131-67/+27
| | | | | | | | | | | (widget-specify-field, widget-specify-button): Don't use XEmacs properties. (widget-overlay-inactive): Change error message. (widget-button-pressed-face): New variable. (widget-button-click): Use it. (widget-documentation-link-add): Specify mouse and button faces. (widget-echo-help-mouse, widget-stop-mouse-tracking): Functions removed now the functionality is built in.
* (widget-use-overlay-change): Uncustomize and make it unconditionally t.Dave Love1999-07-201-4/+2
|
* (widget-before-change): Signal text-read-only ratherKarl Heuer1999-03-301-2/+4
| | | | than an ordinary error.
* (widget-choice-value-create): Use `equal' instead of `eq'.Richard M. Stallman1999-02-151-1/+1
|
* (widget-alist-convert-option): Delete spurious comma.Richard M. Stallman1999-01-201-2/+2
| | | | (widget-plist-convert-option): Delete spurious comma.
* (alist): Use sexp as default key-type.Richard M. Stallman1999-01-191-1/+1
|
* Fix typo.Markus Rost1999-01-181-1/+0
|
* (plist, alist): New widget types.Richard M. Stallman1999-01-181-37/+127
| | | | (coding-system): Define this unconditionally.
* (widget-menu-max-shortcuts): New variable.Karl Heuer1998-09-131-2/+9
| | | | | (widget-choose): Don't use single-char shortcuts if # items exceeds that many. Use minibuffer instead.
* (widget-beginning-of-line): Properly handleRichard M. Stallman1998-08-081-8/+14
| | | | | multiline fields. Don't use call-interactively. (widget-end-of-line): Likewise.
* (widget-default-get): Doc fix.Richard M. Stallman1998-06-151-2/+4
| | | | | (widget-editable-list-entry-create): Apply :value-to-external to the value returned from wiget-default-get.
* (other): Doc fix.Richard M. Stallman1998-06-131-1/+1
|
* (widget-specify-secret): New function.Richard M. Stallman1998-06-101-16/+22
| | | | | (widget-after-change): Use it. (widget-specify-field): Use it.
* (other): New widget type.Richard M. Stallman1998-06-101-0/+11
|
* (widgets: sexp, variable, list, vector): Doc fixes.Richard M. Stallman1998-05-091-4/+4
|