1. 10 Mar, 2011 1 commit
  2. 06 Mar, 2011 1 commit
  3. 04 Mar, 2011 1 commit
  4. 25 Jan, 2011 1 commit
  5. 15 Jan, 2011 1 commit
  6. 09 Jan, 2011 1 commit
    • Chong Yidong's avatar
      Fix 2010-03-12T22:56:30Z!cyd@stupidchicken.com change -- rename :on/off-image... · 895123f5
      Chong Yidong authored
      Fix 2010-03-12T22:56:30Z!cyd@stupidchicken.com change -- rename :on/off-image widget props to :on/off-glyph.
      
      * wid-edit.el (visibility): Replace :on-image and :off-image
      widget properties with :on-glyph and :off-glyph, for consistency
      with the `visibility' widget.
      (widget-toggle-value-create, widget-visibility-value-create):
      Merge into a single function `widget-toggle-value-create'.
      
      * cus-edit.el (custom-variable-value-create, custom-visibility)
      (custom-face-edit-value-create, custom-face-value-create): Replace
      :on-image and :off-image widget properties with :on-glyph and
      :off-glyph, for consistency with the `visibility' widget.
      895123f5
  7. 02 Jan, 2011 1 commit
  8. 08 Dec, 2010 1 commit
  9. 17 Oct, 2010 1 commit
    • Chong Yidong's avatar
      Allow Custom settings to be migrated into a custom theme. · 29a4c45b
      Chong Yidong authored
      * cus-theme.el (custom-theme--migrate-settings): New var.
      (customize-create-theme): Allow editing the `user' theme.
      (custom-theme-add-variable, custom-theme-add-var-1)
      (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
      to the front of each variable or face widget.
      (custom-theme-write): Save theme settings in the correct order.
      Optionally, remove saved settings from user customizations.
      (custom-theme-write-variables, custom-theme-write-faces): Saved
      only the checked widgets.
      (customize-themes): Add a link for migrating custom settings.
      
      * custom.el (custom-declare-theme, provide-theme): Use
      custom-theme-name-valid-p.
      (custom-theme-name-valid-p): Remove checks that are now
      unnecessary since themes no longer obey load-path.
      
      * cus-edit.el (custom-variable-value-create): For the simple
      style, hide documentation string when hidden.
      29a4c45b
  10. 16 Oct, 2010 2 commits
    • Chong Yidong's avatar
      Allow hiding of modified custom widgets. · 647bc502
      Chong Yidong authored
      * cus-edit.el (custom-variable, custom-face): Combine the
      :inhibit-magic and :display-style properties into a single
      :custom-style property.
      (custom-toggle-hide-variable, custom-toggle-hide-face): New
      functions.  If hiding an edited value, save it to :shown-value.
      (custom-variable-value-create, custom-face-value-create): Use
      them.
      (custom-magic-reset): Allow magic property to be unset.
      
      * cus-theme.el (custom-theme-add-var-1)
      (custom-theme-add-face-1): Use the :custom-style property.
      
      * custom.el: (custom-theme-load-path): Doc fix.
      647bc502
    • Chong Yidong's avatar
      Bugfixes for `customize-create-theme'. · da16abfc
      Chong Yidong authored
      * cus-theme.el (customize-create-theme): Delete overlays after
      erasing.  If given a THEME arg, display only the faces of that arg
      instead of custom-theme--listed-faces.
      (custom-theme-variable-menu, custom-theme-variable-action)
      (custom-variable-reset-theme, custom-theme-delete-variable): Deleted.
      (custom-theme-add-variable, custom-theme-add-face): Apply value
      from the theme settings, instead of the current value.
      (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
      (custom-theme-visit-theme): Allow calling outside theme buffers.
      (custom-theme-merge-theme): Don't enable the theme when merging.
      (custom-theme-write-variables, custom-theme-write-faces): Use the
      :shown-value properties to save buffer values, not global ones.
      (customize-themes): Display a warning about user customizations.
      
      * cus-edit.el (custom-variable-value-create)
      (custom-face-value-create): Obey new special properties
      :shown-value and :inhibit-magic.
      da16abfc
  11. 12 Oct, 2010 1 commit
    • Chong Yidong's avatar
      New interface for choosing Custom themes. · 6b09b5d1
      Chong Yidong authored
      * lisp/cus-edit.el (custom--initialize-widget-variables): New function.
      (Custom-mode): Use it.
      
      * lisp/cus-face.el (custom-theme-set-faces): Remove dead code.  Obey
      custom--inhibit-theme-enable.
      
      * lisp/cus-theme.el (describe-theme, customize-themes)
      (custom-theme-save): New commands.
      (custom-new-theme-mode-map): Bind C-x C-s.
      (custom-new-theme-mode): Use custom--initialize-widget-variables.
      (customize-create-theme): New optional arg THEME.
      (custom-theme-revert): Use it.
      (custom-theme-visit-theme): Remove dead code.
      (custom-theme-merge-theme): Use custom-available-themes.
      (custom-theme-write): Make interactive.
      (custom-theme-write): Use custom-theme-name-valid-p.
      (describe-theme-1, custom-theme-choose-revert)
      (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
      New funs.
      (custom-theme-allow-multiple-selections): New option.
      (custom-theme-choose-mode): New major mode.
      
      * lisp/custom.el (custom-theme-set-variables): Remove dead code.  Obey
      custom--inhibit-theme-enable.
      (custom--inhibit-theme-enable): New var.
      (provide-theme): Obey it.
      (load-theme): Replace load with manual read/eval, in order to
      check for correctness.  Use custom-theme-name-valid-p.
      (custom-theme-name-valid-p): New function.
      (custom-available-themes): Use it.
      
      * lisp/help-mode.el (help-theme-def, help-theme-edit): New buttons.
      6b09b5d1
  12. 11 Oct, 2010 1 commit
    • Chong Yidong's avatar
      More cleanups and minor fixes for Customize. · 05d22d02
      Chong Yidong authored
      * cus-edit.el (custom-face-edit-fix-value): Use
      custom-fix-face-spec.
      
      * custom.el (custom-push-theme): Cleanup (use cond).
      (disable-theme): Recompute the saved-face property.
      (custom-theme-recalc-face): Follow face alias before setting prop.
      
      * custom.el (custom-fix-face-spec): New function; code moved from
      custom-face-edit-fix-value.
      (custom-push-theme): Use it when checking if a face has been
      changed outside customize.
      (custom-available-themes): New function.
      (load-theme): Use it.
      
      * image.el (image-checkbox-checked, image-checkbox-unchecked): New
      variables, containing checkbox images.
      
      * startup.el (fancy-startup-tail):
      * wid-edit.el (checkbox): Use them.
      05d22d02
  13. 09 Oct, 2010 2 commits
    • Chong Yidong's avatar
      Interface improvements to cus-theme.el. · 76c16af8
      Chong Yidong authored
      * cus-edit.el (custom-face-widget-to-spec)
      (custom-face-get-current-spec, custom-face-state): New functions.
      (custom-face-set, custom-face-mark-to-save)
      (custom-face-value-create, custom-face-state-set): Use them.
      
      * cus-theme.el (custom-theme--listed-faces): New var.
      (customize-create-theme): Use *Custom Theme* as the buffer name.
      Set revert-buffer-function.  Optional arg BUFFER.  Insert all
      faces listed in custom-theme--listed-faces.
      (custom-theme-revert): New function.
      (custom-theme-add-variable, custom-theme-add-face): Insert at the
      bottom of the list.
      (custom-theme-write): Prompt for theme name if empty.
      (custom-theme-write-variables): Use dolist.
      (custom-theme-write-faces): Handle hidden (collapsed) widgets.
      76c16af8
    • Chong Yidong's avatar
      More face customization cleanups. · 587faadd
      Chong Yidong authored
      * cus-edit.el (custom-commands, custom-buffer-create-internal)
      (custom-magic-value-create): Pad button tags with spaces.
      (custom-face-edit): New variable.
      (custom-face-value-create): Determine whether to use the usual
      face editor here, instead of using custom-face-selected.  Pass
      face defaults to custom-face-edit widget.
      (custom-face-selected, custom-display-unselected): Delete widgets.
      (custom-display-unselected-match): Function removed.
      (custom-face-set, custom-face-mark-to-save): Accept
      custom-face-edit widgets as the direct widget child.
      
      * wid-edit.el (widget--completing-widget): New var.
      (widget-default-complete): Bind it when doing completion.
      (widget-string-complete, widget-file-complete): Use it.
      587faadd
  14. 08 Oct, 2010 1 commit
    • Chong Yidong's avatar
      Improvements to face customization interface. · 61328d7c
      Chong Yidong authored
      * lisp/cus-edit.el (custom-variable, custom-face): Doc fix.
      (custom-face-edit): Add value-create attribute.
      (custom-face-edit-value-create)
      (custom-face-edit-value-visibility-action): New functions.  Hide
      unused face attributes by default, and add a visibility toggle.
      (custom-face-edit-deactivate): Show empty values with shadow face.
      (custom-face-selected): Only use this for face specs with default
      attributes.
      (custom-face-value-create): Cleanup.
      
      * lisp/wid-edit.el (widget-checklist-value-create): Use dolist.
      (widget-checklist-match-find): Make second arg optional.
      61328d7c
  15. 29 Aug, 2010 1 commit
  16. 21 Aug, 2010 1 commit
  17. 12 Aug, 2010 1 commit
  18. 20 Apr, 2010 1 commit
    • Jan Djärv's avatar
      Gtk tool bars can be text, icons with text or just icons. · f904c0f9
      Jan Djärv authored
      * xsettings.c: Qmonospace_font_name, Qtool_bar_style and
      current_tool_bar_style are new.
      (store_config_changed_event): Rename from store_font_changed_event.
      (XSETTINGS_TOOL_BAR_STYLE): New define.
      (SEEN_FONT, SEEN_TB_STYLE): New enum values.
      (struct xsettings): Add font and tb_style, set xft stuff inside #ifdef
      HAVE_XFT.
      (something_changedCB): store_font_changed_event is now
      store_config_changed_event
      (parse_settings): Rename from parse_xft_settings.  Read
      non-xft xsettings outside #ifdef HAVE_XFT.
      (read_settings): Renamed from read_xft_settings.
      (apply_xft_settings): Take current settings as parameter.  Do not
      call read_(xft)_settings.
      (read_and_apply_settings): New function.
      (xft_settings_event): Do non-xft stuff out of HAVE_XFT.  Call
      read_and_apply_settings if there are settings to be read.
      (init_xsettings): Renamed from init_xfd_settings.
      Call read_and_apply_settings unconditionally.
      (xsettings_initialize): Call init_xsettings.
      (Ftool_bar_get_system_style): New function.
      (syms_of_xsettings): Define Qmonospace_font_name and
      Qtool_bar_style.  Initialize current_tool_bar_style to nil.
      defsubr Stool_bar_get_system_style. Fprovide on
      dynamic-setting.
      
      * xsettings.h (Ftool_bar_get_system_style): Declare.
      
      * xdisp.c: Vtool_bar_style, tool_bar_max_label_size,
      Qtext, Qboth, Qboth_horiz are new.
      (syms_of_xdisp): Intern Qtext, Qboth, Qboth_horiz, DEFVAR
      Vtool_bar_style, tool_bar_max_label_size.
      
      * lisp.h: Extern declare Qtext, Qboth, Qboth_horiz.
      
      * keyboard.c: QClabel is new.
      (parse_tool_bar_item): Take out QClabel from tool bar items.
      Try to construct a label if ther is no QClabel.
      (syms_of_keyboard): Intern :label as QClabel.
      
      * dispextern.h (tool_bar_item_idx): TOOL_BAR_ITEM_LABEL is new.
      (Vtool_bar_style, tool_bar_max_label_size, DEFAULT_TOOL_BAR_LABEL_SIZE):
      New.
      
      * Makefile.in (SOME_MACHINE_LISP): font-setting.el renamed to
      dynamic-setting.el.
      
      * gtkutil.c (xg_tool_bar_menu_proxy): Handle label in tool bar item.
      (xg_make_tool_item, xg_show_toolbar_item): New function.
      (update_frame_tool_bar): Take label from TOOL_BAR_ITEM_LABEL.
      Call xg_make_tool_item to make a tool bar item.
      Call xg_show_toolbar_item.  Use wtoolbar instead of x->toolbar_widget.
      
      * xterm.c (x_draw_image_relief): Take Vtool_bar_button_margin
      into account for toolbars.
      
      * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
      
      * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
      
      * loadup.el: Load dynamic-setting.el if feature dynamic-setting
      is present.
      
      * info.el (info-tool-bar-map): Add labels.
      
      * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
      
      * cus-edit.el (custom-commands): Add labels for tool bar.
      (custom-buffer-create-internal, Custom-mode): Adjust for
      labels in custom-commands.
      
      * dynamic-setting.el: Renamed from font-setting.el.
      f904c0f9
  19. 31 Mar, 2010 1 commit
  20. 12 Mar, 2010 3 commits
    • Chong Yidong's avatar
      Improvements to the Custom interface. · 647f9993
      Chong Yidong authored
      * cus-edit.el: Resort topmost custom groups.
      (custom-buffer-sort-alphabetically): Default to t.
      (customize-apropos): Use apropos-parse-pattern.
      (custom-search-field): New var.
      (custom-buffer-create-internal): Add custom-apropos search field.
      (custom-add-parent-links): Don't display parent doc.
      (custom-group-value-create): Don't sort top-level custom group.
      (custom-magic-value-create): Show visibility button before option
      name.
      
      (custom-variable-state): New fun, from custom-variable-state-set.
      (custom-variable-state-set): Use it.
      (custom-group-value-create): Hide options with standard values
      using the :hidden-states property.  Use progress reporter.
      
      (custom-show): Simplify.
      (custom-visibility): Disable images by default.
      (custom-variable): New property :hidden-states.
      (custom-variable-value-create): Enable images for
      custom-visibility widgets.  Use :hidden-states property to
      determine initial visibility.
      
      * wid-edit.el (widget-image-find): Give images center ascent.
      (visibility): Add :on-image and :off-image properties.
      (widget-visibility-value-create): Use them.
      647f9993
    • Chong Yidong's avatar
      Fix last change to use existing comm Custom group instead of `net'. · 26f4b8ab
      Chong Yidong authored
      * cus-edit.el (net): Remove group.
      (comm): Promote to top-level group.
      
      * url/url-vars.el (url):
      * net/browse-url.el (browse-url):
      * net/xesam.el (xesam):
      * net/tramp.el (tramp):
      * net/goto-addr.el (goto-address):
      * net/ange-ftp.el (ange-ftp): Put in comm group.
      26f4b8ab
    • Chong Yidong's avatar
      Reorganize Custom groups. · eba5b4dd
      Chong Yidong authored
      * cus-edit.el (processes): Remove from development group.
      (oop, hypermedia): Delete group.
      (net): New group.
      
      * url/url-vars.el (url):
      * net/browse-url.el (browse-url):
      * net/xesam.el (xesam):
      * net/tramp.el (tramp):
      * net/goto-addr.el (goto-address):
      * net/ange-ftp.el (ange-ftp): Put in net group.
      
      * view.el (view): Remove from editing group.
      
      * uniquify.el (uniquify): Put in files group.
      
      * net/browse-url.el (browse-url):
      * ps-print.el (postscript): Put in external group.
      
      * cus-edit.el (outlines):
      * textmodes/text-mode.el (text-mode-hook):
      * textmodes/table.el (table):
      * textmodes/picture.el (picture):
      * outline.el (outlines): Put in wp group.
      
      * nxml/nxml-mode.el (nxml): Remove from wp group.
      
      * net/tramp-imap.el (tramp-imap): Put in tramp group.
      
      * mail/metamail.el (metamail): Remove from hypermedia group.
      
      * cus-edit.el (abbrev):
      * whitespace.el (whitespace):
      * vcursor.el (vcursor):
      * reveal.el (reveal):
      * hl-line.el (hl-line): Put in convenience group.
      
      * epg-config.el (epg): Put in data group.
      
      * emulation/pc-select.el (pc-select): Put in emulations group.
      
      * calculator.el (calculator): Put in applications group.
      
      * org/org.el (org): Remove from hypermedia group.
      eba5b4dd
  21. 11 Mar, 2010 1 commit
  22. 16 Feb, 2010 1 commit
    • Chong Yidong's avatar
      Minor tweaks to custom groups. · ff90f4b0
      Chong Yidong authored
      * cus-edit.el (hardware): Doc fix.
      
      * man.el (man): Add to external custom group.
      
      * delim-col.el (columns): Move to wp custom group.
      
      * doc-view.el (doc-view): Add to data custom group.
      
      * cedet/data-debug.el (data-debug): Move to extensions group.
      
      * cedet/ede.el (ede):
      * cedet/srecode.el (srecode):
      * cedet/semantic.el (semantic): Put in tools and extensions group.
      
      * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
      ff90f4b0
  23. 13 Jan, 2010 1 commit
  24. 14 Nov, 2009 1 commit
  25. 11 Nov, 2009 1 commit
    • Dan Nicolaescu's avatar
      * term/x-win.el (x-gtk-stock-map): · 6bdad9ae
      Dan Nicolaescu authored
      * progmodes/vera-mode.el (auto-mode-alist):
      * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
      (inferior-lisp-program, inferior-lisp-load-command):
      * progmodes/hideshow.el (hs-special-modes-alist):
      * progmodes/gud.el (same-window-regexps):
      * progmodes/grep.el (grep-program, find-program, xargs-program):
      * net/telnet.el (same-window-regexps):
      * net/rlogin.el (same-window-regexps):
      * language/ethiopic.el (font-ccl-encoder-alist):
      * vc-sccs.el (vc-sccs-master-templates):
      * vc-rcs.el (vc-rcs-master-templates):
      * subr.el (cl-assertion-failed):
      * simple.el (next-error-overlay-arrow-position):
      * lpr.el (lpr-command):
      * locate.el (locate-ls-subdir-switches):
      * info.el (same-window-regexps, info)
      (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
      * image-mode.el (image-mode, auto-mode-alist):
      * hippie-exp.el (hippie-expand-ignore-buffers):
      * format.el (format-alist):
      * find-dired.el (find-ls-subdir-switches, find-grep-options)
      (find-name-arg):
      * facemenu.el (facemenu-keybindings):
      * dired.el (dired-listing-switches, dired-chown-program):
      * diff.el (diff-switches, diff-command):
      * cus-edit.el (same-window-regexps):
      * bindings.el (mode-line-mule-info)
      (mode-line-buffer-identification): Purecopy strings.
      6bdad9ae
  26. 12 Sep, 2009 1 commit
  27. 01 Sep, 2009 1 commit
  28. 22 Aug, 2009 1 commit
  29. 10 Jul, 2009 1 commit
  30. 18 Feb, 2009 2 commits
  31. 05 Jan, 2009 1 commit
  32. 17 Nov, 2008 1 commit
  33. 16 Nov, 2008 1 commit
  34. 11 Nov, 2008 1 commit
  35. 06 Nov, 2008 1 commit