| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
faces for undefined colors.
|
| |
|
|
|
|
| |
around the code handling clicks on buttons.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-value-type.
(widget-alist-convert-widget): Replace binding of
widget-alist-value-type.
|
| |
|
|
|
|
| |
around running a global binding.
|
|
|
|
| |
(widget-color-action): Doc fix.
|
|
|
|
| |
of display-mouse-p.
|
| |
|
|
|
|
| |
the choices, as there's no way to scroll it.
|
|
|
|
|
|
| |
(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'.
|
|
|
|
| |
`psuedo-overlay' that exists at some points.
|
|
|
|
|
| |
distinguishable from the :off-glyph on dark-background displays. Set
its background color too.
|
|
|
|
|
|
|
|
| |
: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.
|
|
|
|
|
| |
spaces are handled properly.
(widget-field-keymap, widget-text-keymap): Likewise C-e binding.
|
| |
|
|
|
|
| |
property, not keymap.
|
|
|
|
| |
When checking for a `boundary' field, do so in the correct buffer.
|
|
|
|
|
| |
inherit from global-map and don't nullify menu-bar and tool-bar
bindings since keymap properties DTRT.
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
doc-property is a function.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-choice-mouse-down-action): Use display-popup-menus-p
instead of window-system.
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-documentation-string-value-create): Set `:always-active'.
|
|
|
|
|
| |
* wid-edit.el (widget-match-inline): An atom never matches a
list.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
| |
to restore track-mouse in the correct buffer.
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
|
|
|
| |
than an ordinary error.
|
| |
|
|
|
|
| |
(widget-plist-convert-option): Delete spurious comma.
|
| |
|
| |
|
|
|
|
| |
(coding-system): Define this unconditionally.
|
|
|
|
|
| |
(widget-choose): Don't use single-char shortcuts if # items
exceeds that many. Use minibuffer instead.
|
|
|
|
|
| |
multiline fields. Don't use call-interactively.
(widget-end-of-line): Likewise.
|
|
|
|
|
| |
(widget-editable-list-entry-create): Apply :value-to-external to
the value returned from wiget-default-get.
|
| |
|
|
|
|
|
| |
(widget-after-change): Use it.
(widget-specify-field): Use it.
|
| |
|
| |
|