Questions tagged [customization]

53 questions
12
votes
1 answer

Why is defgroup useful?

I'm reading the ido source and see: (defgroup ido nil "Switch between files using substrings." :group 'extensions :group 'convenience :version "22.1" :link '(emacs-commentary-link :tag "Commentary" "ido.el") :link '(emacs-library-link :tag…
djechlin
  • 923
  • 1
  • 8
  • 21
4
votes
0 answers

How to modify the standard value of an customization option

Assume a library has some customizable option my-option with a list of values: (unintern "my-option" obarray) (defcustom my-option '(first second third) "Option with a list of values." :type '(repeat symbol) :group 'my-group) (provide…
Tobias
  • 33,167
  • 1
  • 37
  • 77
3
votes
2 answers

List all customized variables and faces whose default has changed since a specified Emacs version?

I try to use "Easy Customization" for most of my customization of Emacs. Some of my customizations are changes to the defaults, i. e. sentence-end-base gets customized from: "[.?!][]\"'”)}]*" to: "[.?!][]\"'””)}]*\\( :-)\\)?" When a new Emacs…
Tim Landscheidt
  • 467
  • 3
  • 8
2
votes
1 answer

Specify the type "mode" for defcustom?

Is it possible to specify that a defcustom can only take the value of a mode? More specifically, I've got a variable that's a map from major modes to lists of strings, and I wants users to be able to configure this map. So conceptually I want…
abingham
  • 927
  • 6
  • 18
0
votes
0 answers

Determining use of customize-set-variable versus setq

How can I determine whether to use customize-set-variable rather than setq?
Dilna
  • 1
  • 3
  • 11