Questions tagged [customize]

Use this tag for questions about modifying a particular action or task within Emacs.

241 questions
13
votes
2 answers

How can I change where the customize puts custom-set-variables

Basically I would like to have (custom-set-variables ...) in a seperate file and for me to load that file. This is just for the purpose of organisation of my init file. How can I change the default location of custom-set-variables?
Jessie
  • 327
  • 1
  • 6
8
votes
2 answers

How can I make customize use single quote for quotation?

Is it possible to teach customize to save its variables using single quote ' instead of quote? Example: … '(package-archives '(("gnu" . "http://elpa.gnu.org/packages/") ("melpa" . "http://melpa.org/packages/"))) … instead…
Mattias Bengtsson
  • 1,300
  • 1
  • 11
  • 18
6
votes
2 answers

How do I determine where a variable is set?

When I execute a M-x describe-variable web-mode-markup-indent-offset I get this output: web-mode-markup-indent-offset is a variable defined in `web-mode.el'. Its value is 4 Original value was 2 Documentation: Html indentation level. You can…
5
votes
1 answer

Specify the order in which `defcustom`s are presented in the Customize UI?

I have an Emacs mode. It has a defgroup and a number of defcustoms. Let's say: (defgroup some-group nil "Some group" :prefix "prefix-" :group 'languages) (defcustom some-option-1 t "Option 1" :tag "Option 1?" :type 'boolean :group…
Greg Hendershott
  • 1,493
  • 12
  • 17
4
votes
4 answers

Find all customization type mismatches?

Occasionally, defcustoms change their :type and I fail to update my customizations. How can I get Emacs to list all the variables where customize things there's a type mismatch?
Alex
  • 1,038
  • 5
  • 20
4
votes
2 answers

Display all setq possibilities

When I install a new package, more often than not there are variables that I can set - to customise the package. I love customisations, which is why I use Emacs in the first place. For example, I installed the osx-dictionary package. In the sample…
n1k31t4
  • 689
  • 8
  • 18
4
votes
1 answer

how to not save duplicate information in Customize?

On a fresh install of emacs, I loaded my personal init files with all my custom lisp code. Then I changed one setting using the Customize interface and saved my changes. But in the custom.el file, Customize saved not just that one change, but all…
incandescentman
  • 4,221
  • 20
  • 53
3
votes
0 answers

Ruled paper aspect in emacs interface

Is it possible to have ruled lines in emacs? I would like to have the same look of a notebook while writing my org files.
falematte
  • 423
  • 2
  • 16
2
votes
1 answer

quote vs ' in customization file

I sync my config between several different machines using git. Setting options via the customize-variable interface, some of my computers use quote, while others use '. As a consequence, my git commits include lots of bouncing back and forth like…
Tyler
  • 22,234
  • 1
  • 54
  • 94
2
votes
1 answer

How to use customize to turn on viper mode by default?

You can enable viper mode with M-x viper-mode RET, but this is inconvenient to do so every new buffer. I see on the Viper page that the way to turn on viper mode by default is (setq viper-mode t) (require 'viper) I've been trying to move over to…
Roxy
  • 165
  • 2
2
votes
2 answers

How to set up Emacs to cycle through files

I'm in a situation where I would like to look through a lot of text files as they are being created. I would like to configure Emacs to do the following: Launch from a script with directory argument Open the oldest file in directory Have two…
2
votes
1 answer

How to hop the cursor over parenthesis, brackets, single-quotes, and double-quotes

One of the features I miss in Visual Studio is the ability to hop over closing parenthesis, brackets, single-quotes and double-quotes with tab Does anyone know of a script to do such a thing? Pseudo Code: If character to the right of cursor ==…
user18152
1
vote
1 answer

Make customize save lists newline separated

When saving changes using customize Emacs serializes lists space separated. This makes for example the package-selected-packages variable extremely long and hard to scan over. Is it possible to make Emacs serialize lists more like it does with…
Mattias Bengtsson
  • 1,300
  • 1
  • 11
  • 18
1
vote
0 answers

init file -- How to customize user options?

One of the recommanded solution to customize user options in the init file is customize-save-variable. This command saves some code that initializes custom variables, at each startup of the editor. (custom-set-variables ;; custom-set-variables was…
user19761
1
vote
1 answer

Customize: highlight-symbol-colors added only delta

Windows 10, Emacs 25.1 By default package highlight-symbol has 9 colors. So I add new color, snow, to option highlight-symbol-colors: Screenshot: OK. As a result Customize puts this in my init file: (custom-set-variables …
user8542613
  • 663
  • 6
  • 16
1
2