summaryrefslogtreecommitdiff
path: root/lisp/wid-edit.el
Commit message (Collapse)AuthorAgeFilesLines
* (widget-choose): Avoid ugly error for function keys.Richard M. Stallman2007-01-021-2/+3
|
* (widget-image-enable): Use "non-nil" in docstrings.Juanma Barranquero2006-11-031-3/+3
|
* * dnd.el (dnd-handle-one-url): Fix typo in doc-string.Jan Djärv2006-10-111-2/+2
| | | | | | | | * help-at-pt.el (scan-buf-move-to-region): Likewise. * longlines.el (longlines-window-change-function): Likewise. * simple.el (undo-ask-before-discard): Likewise. * wid-edit.el (widget-field-prompt-internal) (widget-documentation-link-p): Likewise
* * wid-edit.el (widget-button-click-moves-point): New variable.Chong Yidong2006-09-301-4/+12
| | | | | | | (widget-button-click): If widget-button-click-moves-point is non-nil, set point after performing the button action * cus-edit.el (custom-mode): Set widget-button-click-moves-point.
* (widget-button-click): Handle non-mouse-motion eventsRichard M. Stallman2006-09-181-9/+12
| | | | that might come in during mouse tracking.
* * wid-edit.el (widget-button-click): For mouse-1, cancel buttonChong Yidong2006-02-161-53/+65
| | | | press and perform default action if we get a mouse movement event.
* * wid-edit.el (widget-keymap): Bind down-mouse-1 toChong Yidong2006-02-151-0/+1
| | | | | | widget-button-click. * cus-edit.el (custom-mode-map): Remove mouse-1 binding.
* * wid-edit.el (widget-button-click): Use :pressed-face propertyChong Yidong2006-02-141-10/+6
| | | | | | | | for overlay face, if it exists. * cus-edit.el (custom-manual, custom-add-see-also) (custom-add-parent-links, custom-group-link): Add :pressed-face property to links.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* (advertised-widget-backward): New alias.Richard M. Stallman2006-01-261-1/+4
| | | | (widget-keymap): Use advertised-widget-backward for S-TAB.
* (widget-field-end): If the overlay is no longer associated with a buffer,Eli Zaretskii2006-01-131-16/+18
| | | | behave as if the overlay didn't exist.
* * cus-edit.el (custom-reset-menu, custom-reset, Custom-mode-menu)Chong Yidong2006-01-041-1/+11
| | | | | | | | | | | | | (custom-variable-menu, custom-face-menu, custom-group-menu) (custom-buffer-create-internal): Change "Reset" to "Show". Reorder menu items. (custom-link): New face for Info links. (custom-buffer-create-internal, custom-manual): Use it. * wid-edit.el (widget-default-mouse-face-get): New function. (widget-specify-button): Handle mouse-face like button-face. * custom.el (load-theme): Clear old theme settings if reloading.
* (key-sequence): Rework widget to read key bindingKim F. Storm2006-01-031-11/+66
| | | | | | | | | using `kbd' syntax. Use C-q to insert literal key, event, or code. (widget-key-sequence-default-value): Default value for empty sequence. (widget-key-sequence-map): New map for reading key binding. Bind C-q. (widget-key-sequence-read-event): New command for C-q. (widget-key-sequence-validate, widget-key-sequence-value-to-internal) (widget-key-sequence-value-to-external): New functions.
* (file, directory): Doc fixes for the `define-widget's.Luc Teirlinck2005-12-221-2/+2
|
* (widget-checkbox-action): Clear undo info.Eli Zaretskii2005-12-171-1/+2
|
* (widget-keymap): Bind M-TAB to `widget-backward'.Juri Linkov2005-12-081-0/+1
|
* (color): Enclose %t in %{...%}.Richard M. Stallman2005-11-161-1/+1
|
* (key-sequence): New widget type.Richard M. Stallman2005-11-031-1/+24
|
* * cus-edit.el (custom-button, custom-button-pressed): New vars.Chong Yidong2005-10-231-9/+4
| | | | | | | | | | | (custom-raised-buttons): Add :set spec. (custom-button-unraised, custom-button-pressed-unraised): New faces, so that custom-raised-buttons actually does something. (custom-mode): Use custom-button and custom-button-pressed. * wid-edit.el (widget-specify-button): Don't ignore widget-mouse-face on graphic terminals. (widget-move-and-invoke): Cleanup.
* * cus-edit.el (Custom-move-and-invoke): Deleted.Chong Yidong2005-10-181-0/+10
| | | | | | | (custom-mode-map): Bind mouse-1 to widget-move-and-invoke. * wid-edit.el (widget-move-and-invoke): New function, from Custom-move-and-invoke.
* Revert last change.Chong Yidong2005-10-171-9/+0
|
* * cus-edit.el (Custom-move-and-invoke): Delete function.Chong Yidong2005-10-171-0/+9
| | | | | | | (custom-mode-map): Remove Custom-move-and-invoke binding. * wid-edit.el (widget-move-and-invoke): New function. (widget-keymap): Bind mouse-1 to it.
* * message.el (message-expand-group): Pass the commonMasatake YAMATO2005-10-161-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prefix substring of completion to `display-completion-list'. * mh-comp.el (mh-complete-word): Pass the common prefix substring of completion to `display-completion-list'. * dabbrev.el (dabbrev-completion): Pass the common prefix substring of completion to `display-completion-list'. * filecache.el (file-cache-minibuffer-complete) (file-cache-complete): Ditto. * tempo.el (tempo-display-completions): Ditto. * wid-edit.el (widget-file-complete, widget-color-complete): Ditto. * emacs-lisp/lisp.el (lisp-complete-symbol): Ditto. * eshell/em-hist.el (eshell-list-history): Ditto. * mail/mailabbrev.el (mail-abbrev-complete-alias): Ditto. * progmodes/etags.el (complete-tag): Ditto. * progmodes/make-mode.el (makefile-complete): Ditto. * progmodes/meta-mode.el (meta-complete-symbol): Ditto. * progmodes/octave-mod.el (octave-complete-symbol): Ditto. * progmodes/pascal.el (pascal-complete-word) (pascal-show-completions): Ditto. * textmodes/bibtex.el (bibtex-complete-internal): Ditto. * simple.el (completion-common-substring): New variable. (completion-setup-function): Use `completion-common-substring' to put faces. * minibuf.c (Fdisplay_completion_list): Add new optional argument COMMON_SUBSTRING. Bind `completion-common-substring' to the optional argument during running `completion-setup-hook'.
* (widget): Add defvar.Juanma Barranquero2005-10-061-0/+2
|
* (widget-file-complete): Get the widget start point the right way.Richard M. Stallman2005-10-041-4/+4
| | | | Default directory to `/' if file has none.
* 2005-09-24 Emilio C. Lopes <eclig@gmx.net>Romain Francoise2005-09-241-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * woman.el (woman-file-name): * wid-edit.el (widget-file-prompt-value) (widget-coding-system-prompt-value): * w32-fns.el (set-w32-system-coding-system): * vc.el (vc-version-diff, vc-annotate): * textmodes/reftex-auc.el (reftex-arg-cite) (reftex-arg-index-tag): * textmodes/refer.el (refer-get-bib-files): * textmodes/artist.el (artist-figlet-choose-font): * terminal.el (terminal-emulator): * replace.el (occur-read-primary-args): * rect.el (string-rectangle, string-insert-rectangle): * ps-print.el (ps-print-preprint): * progmodes/pascal.el (pascal-goto-defun): * progmodes/etags.el (visit-tags-table, visit-tags-table-buffer): * progmodes/compile.el (compilation-find-file): * printing.el (pr-interactive-n-up): * play/animate.el (animate-birthday-present): * net/rcompile.el (remote-compile): * man.el (man, Man-goto-section, Man-follow-manual-reference): * mail/rmailsum.el (rmail-summary-search-backward) (rmail-summary-search): * mail/rmailout.el (rmail-output-read-rmail-file-name) (rmail-output-read-file-name): * mail/rmail.el (rmail-search, rmail-search-backwards): * mail/mailabbrev.el (merge-mail-abbrevs, rebuild-mail-abbrevs): * locate.el (locate): * international/quail.el (quail-show-keyboard-layout): * international/mule.el (set-buffer-file-coding-system) (revert-buffer-with-coding-system, set-file-name-coding-system) (set-terminal-coding-system, set-keyboard-coding-system) (set-next-selection-coding-system): * international/mule-diag.el (describe-coding-system) (describe-font, describe-fontset): * international/mule-cmds.el (universal-coding-system-argument) (search-unencodable-char, describe-input-method) (set-language-environment, describe-language-environment): * international/codepage.el (codepage-setup): * international/code-pages.el (codepage-setup): * info.el (Info-search, Info-follow-reference) (Info-search-backward): * emacs-lisp/advice.el (ad-read-advised-function) (ad-read-advice-class, ad-clear-cache, ad-activate) (ad-deactivate, ad-update, ad-unadvise, ad-read-advice-name) (ad-enable-advice, ad-disable-advice, ad-remove-advice) (ad-read-regexp): * ediff-util.el (ediff-toggle-regexp-match): * ediff-ptch.el (ediff-prompt-for-patch-file): * dired-aux.el (dired-diff): * diff.el (diff): * cus-edit.el (custom-variable-prompt): * calendar/timeclock.el (timeclock-ask-for-project): * calc/calcalg3.el (calc-get-fit-variables): * calc/calc-store.el (calc-edit-variable) (calc-permanent-variable): * vc-mcvs.el (vc-mcvs-register): * shadowfile.el (shadow-define-literal-group): * woman.el (woman-file-name): * vc.el (vc-version-diff, vc-merge): * textmodes/reftex-index.el (reftex-index-complete-tag): * format.el (format-decode-buffer, format-decode-region): * emulation/viper-cmd.el (viper-read-string-with-history): * emacs-lisp/debug.el (cancel-debug-on-entry): * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): * ediff.el (ediff-merge-revisions) (ediff-merge-revisions-with-ancestor, ediff-revision): * completion.el (interactive-completion-string-reader): * calc/calc-prog.el (calc-user-define-formula): Follow convention for reading with the minibuffer.
* (widget-choice-value-create): Unconditionally respect user choice.Luc Teirlinck2005-08-071-9/+7
| | | | | | Set :explicit-choice back to nil when no longer needed. (widget-choice-action): Unconditionally respect user choice. Eliminate :explicit-choice-value.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-061-1/+2
|
* (widget-default-create, widget-after-change, widget-default-format-handler,Juanma Barranquero2005-07-211-23/+23
| | | | | | | | | | | 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.
* (widget-inactive): Inherit from `shadow'.Juri Linkov2005-07-191-8/+2
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* Fix indentation.Richard M. Stallman2005-06-251-19/+19
|
* Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-364Miles Bader2005-06-101-48/+60
| | | | | | | | | | | | | | | | | 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.
* * mh-customize.el (mh-speedbar-selected-folder-face): Special caseDan Nicolaescu2005-04-081-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* (widget-field-end): Temporarily remove fieldDavid Ponce2005-04-051-3/+11
| | | | narrowing before to call `get-char-property'.
* (widget-button-click): Shorten the range of the track-mouse binding.Richard M. Stallman2005-01-291-14/+14
|
* (widget-specify-button): If mouse pointer shape cannot be changed,Eli Zaretskii2005-01-291-1/+5
| | | | use mouse face instead.
* (function): Use restricted-sexp as parent.Richard M. Stallman2004-12-271-1/+1
|
* (widget-specify-field, widget-specify-button):Kim F. Storm2004-12-171-0/+6
| | | | | Map a :follow-link keyword into a follow-link property. (link): Add :follow-link keyword, map to RET binding.
* (widget-specify-field): Add `real-field' property to boundary.Richard M. Stallman2004-12-051-1/+3
| | | | (widget-field-at): Use it.
* (widget-narrow-to-field): New function.Eli Zaretskii2004-11-271-2/+11
| | | | (widget-complete): Use it.
* (widget-sexp-validate): Allow whitespace after expression.Lars Hansen2004-08-081-0/+2
|
* (widget-field-buffer): Doc fix.Lars Hansen2004-07-091-1/+1
|
* (widget-specify-button): Use hand pointer ratherKim F. Storm2004-06-081-7/+7
| | | | than mouse-face as visible mouse-over effect.
* * wid-edit.el (widget-radio-button-notify): Revert my lastMasatake YAMATO2004-05-191-1/+1
| | | | change. Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
* * wid-edit.el (widget-radio-button-notify): Don't pass `widget'Masatake YAMATO2004-05-181-1/+1
| | | | to widget-apply. :action method assumes 2 arguments, not 3.
* * subr.el (remove-overlays): Make arguments optional.Masatake YAMATO2004-04-271-0/+3
| | | | | | | | | | | * 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.
* Fix dec-8 bugPer Abrahamsen2004-01-041-1/+2
|
* 2003-12-12 Jesper Harder <harder@ifa.au.dk>Per Abrahamsen2003-12-271-16/+94
| | | | | | | | | | | | | | | | | * 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.
* (widget-default-delete): Always delete child widgets. (From PerLuc Teirlinck2003-10-261-0/+1
| | | | Abrahamsen.)