Luc Teirlinck
25e3656c19
(widget-choice-value-create): Unconditionally respect user choice.
...
Set :explicit-choice back to nil when no longer needed.
(widget-choice-action): Unconditionally respect user choice.
Eliminate :explicit-choice-value.
2005-08-07 01:07:33 +00:00
Thien-Thi Nguyen
0d30b33766
Update years in copyright notice; nfc.
2005-08-06 22:13:43 +00:00
Juanma Barranquero
00d00aa9ea
(widget-default-create, widget-after-change, widget-default-format-handler,
...
widget-checklist-add-item, widget-radio-add-item, widget-choose,
widget-specify-secret, widget-field-value-create, widget-field-value-get,
widget-editable-list-format-handler, widget-editable-list-entry-create,
widget-group-value-create, widget-documentation-link-add,
widget-documentation-string-value-create): "?\ " -> "?\s".
(widget-convert-text): Doc fix.
(widget-narrow-to-field, widget-field-find, widget-url-link-action,
widget-emacs-library-link-action, widget-color-notify): Fix typos in docstrings.
2005-07-21 11:41:54 +00:00
Juri Linkov
6866bf6a80
(widget-inactive): Inherit from `shadow'.
2005-07-19 11:43:26 +00:00
Lute Kamstra
086add1519
Update FSF's address.
2005-07-04 23:32:44 +00:00
Richard M. Stallman
38c3526f32
Fix indentation.
2005-06-25 13:41:59 +00:00
Miles Bader
0efefc5296
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-364
...
Remove "-face" suffix from widget faces
2005-06-10 Miles Bader <miles@gnu.org>
* lisp/wid-edit.el (widget-documentation, widget-button)
(widget-field, widget-single-line-field, widget-inactive)
(widget-button-pressed): "-face" suffix removed from face names.
(widget-documentation-face, widget-button-face)
(widget-field-face, widget-single-line-field-face)
(widget-inactive-face, widget-button-pressed-face):
New backward-compatibility aliases for renamed faces.
(widget-documentation-face, widget-button-face)
(widget-button-pressed-face, widget-specify-field)
(widget-specify-inactive): Use renamed widget faces.
2005-06-10 07:16:40 +00:00
Dan Nicolaescu
ea81d57ec5
* mh-customize.el (mh-speedbar-selected-folder-face): Special case
...
high number of colors displays.
* textmodes/table.el (table-cell-face): Add special case for
displays supporting a high number of colors.
* progmodes/vhdl-mode.el (vhdl-font-lock-prompt-face)
(vhdl-font-lock-reserved-words-face)
(vhdl-speedbar-architecture-face)
(vhdl-speedbar-instantiation-face)
(vhdl-speedbar-architecture-selected-face)
(vhdl-speedbar-instantiation-selected-face): Likewise.
* progmodes/sh-script.el (sh-heredoc-face): Likewise.
* progmodes/idlw-help.el (idlwave-help-link-face): Likewise.
* progmodes/ebrowse.el (ebrowse-tree-mark-face)
(ebrowse-root-class-face, ebrowse-member-attribute-face)
(ebrowse-progress-face): Likewise.
* progmodes/compile.el (compilation-info-face): Likewise.
* progmodes/cc-fonts.el (c-invalid-face): Likewise.
* emacs-lisp/re-builder.el (reb-match-3): Likewise.
* calendar/calendar.el (diary-face): Likewise.
* woman.el (woman-italic-face, woman-bold-face)
(woman-unknown-face): Likewise.
* wid-edit.el (widget-button-pressed-face): Likewise.
* whitespace.el (whitespace-highlight-face): Likewise.
* smerge-mode.el (smerge-mine-face, smerge-base-face): Likewise.
* pcvs-info.el (cvs-marked-face): Likewise.
* info.el (info-xref): Likewise.
* ido.el (ido-subdir-face, ido-indicator-face): Likewise.
* hilit-chg.el (highlight-changes-face)
(highlight-changes-delete-face): Likewise.
* hi-lock.el (hi-yellow, hi-green, hi-blue-b, hi-green-b)
(hi-red-b): Likewise.
* generic-x.el (show-tabs-tab-face, show-tabs-space-face): Likewise.
* font-lock.el (font-lock-keyword-face)
(font-lock-function-name-face, font-lock-warning-face): Likewise.
* cus-edit.el (custom-invalid-face, custom-modified-face)
(custom-set-face, custom-changed-face, custom-variable-tag-face)
(custom-group-tag-face-1, custom-group-tag-face): Likewise.
* comint.el (comint-highlight-prompt): Likewise.
2005-04-08 14:26:13 +00:00
David Ponce
318d030ef5
(widget-field-end): Temporarily remove field
...
narrowing before to call `get-char-property'.
2005-04-05 06:41:09 +00:00
Richard M. Stallman
6f95a83518
(widget-button-click): Shorten the range of the track-mouse binding.
2005-01-29 17:21:12 +00:00
Eli Zaretskii
5eb8942bad
(widget-specify-button): If mouse pointer shape cannot be changed,
...
use mouse face instead.
2005-01-29 13:22:21 +00:00
Richard M. Stallman
9947768432
(function): Use restricted-sexp as parent.
2004-12-27 16:38:57 +00:00
Kim F. Storm
0fa42821c9
(widget-specify-field, widget-specify-button):
...
Map a :follow-link keyword into a follow-link property.
(link): Add :follow-link keyword, map to RET binding.
2004-12-17 15:17:47 +00:00
Richard M. Stallman
263a40a61b
(widget-specify-field): Add `real-field' property to boundary.
...
(widget-field-at): Use it.
2004-12-05 14:19:01 +00:00
Eli Zaretskii
301f9235f6
(widget-narrow-to-field): New function.
...
(widget-complete): Use it.
2004-11-27 12:50:34 +00:00
Lars Hansen
3bc603c417
(widget-sexp-validate): Allow whitespace after expression.
2004-08-08 19:38:51 +00:00
Lars Hansen
80a7a1bff5
(widget-field-buffer): Doc fix.
2004-07-09 21:50:42 +00:00
Kim F. Storm
0e726aa5fb
(widget-specify-button): Use hand pointer rather
...
than mouse-face as visible mouse-over effect.
2004-06-08 09:54:59 +00:00
Masatake YAMATO
15aa77901c
* wid-edit.el (widget-radio-button-notify): Revert my last
...
change. Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
2004-05-19 02:16:56 +00:00
Masatake YAMATO
4d4ea14a2d
* wid-edit.el (widget-radio-button-notify): Don't pass `widget'
...
to widget-apply. :action method assumes 2 arguments, not 3.
2004-05-18 13:38:59 +00:00
Masatake YAMATO
f24485f172
* subr.el (remove-overlays): Make arguments optional.
...
* wid-edit.el (widget-specify-button): Put evaporate to the
overlay for sample.
(widget-specify-sample): Put evaporate to the overlay for sample.
(widget-specify-doc): Put evaporate to the overlay for documentation.
* etc/NEWS: Write about remove-overlays's arguments.
* man/widget.texi: Add remove-overlays to the example.
2004-04-27 21:00:31 +00:00
Per Abrahamsen
125f18207e
Fix dec-8 bug
2004-01-04 15:11:59 +00:00
Per Abrahamsen
cfa921fd39
2003-12-12 Jesper Harder <harder@ifa.au.dk>
...
* cus-edit.el (custom-add-parent-links): Define "many".
2003-12-08 Per Abrahamsen <abraham@dina.kvl.dk>
* wid-edit.el (widget-child-value-get, widget-child-value-inline)
(widget-child-validate, widget-type-value-create)
(widget-type-default-get, widget-type-match): New functions.
(lazy): New widget.
(menu-choice, checklist, radio-button-choice, editable-list)
(group, documentation-string): Removed redundant (per 2003-10-25
change) calls to `widget-children-value-delete'.
(widget-choice-value-get, widget-choice-value-inline): Removed
functions.
(menu-choice): Updated widget.
2003-12-27 16:41:13 +00:00
Luc Teirlinck
7d9d1ab638
(widget-default-delete): Always delete child widgets. (From Per
...
Abrahamsen.)
2003-10-26 00:57:12 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Luc Teirlinck
3b26f44c9e
(widget-echo-help): Make it handle expressions that evaluate to
...
strings.
2003-08-18 22:48:44 +00:00
Stefan Monnier
407e43be44
(widget-specify-insert): Simplify.
...
(widget-editable-list-entry-create): Don't assume that %d and %i are
in the format string.
(widget-map-buttons): Remove unused var `parent'.
(widget-move): Remove unused shadowed var `new'.
(widget-color-action): Remove unused var `pos'.
2003-05-31 15:33:09 +00:00
Stefan Monnier
7c0a9c8f30
(pp-to-string, Info-goto-node): Don't autoload.
...
(widget-choose, widget-map-buttons): Use with-current-buffer.
(widget-field-add-space): Change to nil (and to defconst).
(widget-info-link-action): Use `info'.
2003-05-17 20:29:40 +00:00
Juanma Barranquero
b5cb36acaa
(widget-choose): Fix use of character constant.
2003-02-14 09:57:45 +00:00
Andreas Schwab
ea13a2b4d4
(widget-move): Don't loop infinitely when there is
...
no field or button.
2002-12-14 14:27:23 +00:00
Markus Rost
d9bfd9dcca
(define-widget number): Clarify doc and error message.
...
(define-widget float): New widget.
2002-12-07 20:15:43 +00:00
Juanma Barranquero
77339a6e24
(widget-choose): Fix typo.
2002-10-17 16:46:28 +00:00
Per Abrahamsen
4c2f559e16
wid-edit.el fixes
2002-10-03 13:46:25 +00:00
Richard M. Stallman
ab6a36685e
(widget-convert): Handle an argument that's a keyword.
...
Recognize explicit :args specification.
2002-07-23 19:20:53 +00:00
Richard M. Stallman
dd98f00a8b
(widget-documentation-string-value-create):
...
Say "Hide Rest", not just "Hide".
2002-07-20 22:15:15 +00:00
Stefan Monnier
451a66e356
(widget-color-complete): Don't cons needlessly.
2002-05-20 18:28:09 +00:00
Kim F. Storm
8cf3012886
(checkbox): New check-mark image.
2002-05-08 22:27:59 +00:00
Miles Bader
7e78429398
(widget-field-face, widget-single-line-field-face): Force foreground to
...
be black on a tty, so this face is readable on a dark-background tty.
2002-04-15 06:18:38 +00:00
Per Abrahamsen
bbc562cc09
2002-02-15 Per Abrahamsen <abraham@dina.kvl.dk>
...
* wid-edit.el (widgetp): Made it more robuts.
2002-02-15 08:04:23 +00:00
Per Abrahamsen
0e520006a8
2002-02-14 Per Abrahamsen <abraham@dina.kvl.dk>
...
* facemenu.el (describe-text-done): New function.
(describe-text-mode-map): New variable.
(describe-text-mode-hook): New option.
(describe-text-mode): New function.
(describe-text-widget): New function.
(describe-text-sexp): New function.
(describe-text-properties): New function.
(describe-text-category): New command.
(describe-text-at): New command.
(facemenu-menu): Replace `list-text-properties-at' with
`describe-text-at' in the menu.
* wid-edit.el (widgetp): New function.
* wid-edit.el (widget-keymap, widget-insert, widget-setup):
Autoloaded.
* emacs-lisp/pp.el (pp-to-string): Autoloaded.
* wid-browse.el: Removed version and x-url keywords.
2002-02-14 16:47:11 +00:00
Richard M. Stallman
e31c1fd5e4
(ps-font-lock-face-attributes): Use :weight and :slant.
2001-12-31 20:32:52 +00:00
Miles Bader
3058e43675
(widget-toggle-value-create): Don't eval actual images (which are lists too).
2001-12-27 15:09:44 +00:00
Richard M. Stallman
bc3420db10
(widget-button-click): Don't move point permanently:
...
Avoid mouse-set-point--instead select the window,
then do save-excursion, then move point.
Specify the buffer for get-char-property.
Don't use `@' in interactive.
2001-12-02 04:49:43 +00:00
Richard M. Stallman
805e9a057e
(widget-toggle-value-create): On graphic terminal,
...
if :on-glyph or :off-glyph is a list, eval it and store it back.
(checkbox): Quote the values for :on-glyph and :off-glyph.
2001-11-27 05:04:13 +00:00
Per Abrahamsen
dbe3a58a44
2001-11-09 Per Abrahamsen <abraham@dina.kvl.dk>
...
* wid-edit.el (checklist): Removed `:menu-tag'.
(radio-button-choice): Ditto.
(editable-list): Ditto.
2001-11-10 11:01:54 +00:00
Miles Bader
b6715b9f8a
(checkbox): Swap bg/fg colors in images, and invert
...
image bits to compensate. Use `make-string' instead of
`make-bool-vector' (XBM apparently wants byte-aligned rows).
2001-10-20 15:16:30 +00:00
Eli Zaretskii
2670cf8089
(widget-field-face, widget-single-line-field-face):
...
Define special colors for a tty.
2001-10-17 18:49:38 +00:00
Stefan Monnier
7fce8d938c
(text): Re-order docstring correctly.
2001-08-22 15:29:09 +00:00
Richard M. Stallman
546cf5b0f9
(widget-color-sample-face-get): Return ((foreground-color . COLOR))
...
instead of constructing a face.
2001-06-29 17:50:05 +00:00
Gerd Moellmann
76834555a8
(widget-color-sample-face-get): Don't make
...
faces for undefined colors.
2001-04-05 15:57:16 +00:00