Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [customize]

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

0
votes
2answers
356 views

customize creates custom-set-faces unintentionally

I just edited the variable org-M-RET-may-split-line with easy costumize, saved and applied. I checked my dotfile right afterwards and noticed that (custom-set-faces '(default ((t (:foreground "#...
5
votes
1answer
64 views

buffer menu unsort entries

Where can I handle how the control + left-click menu displays entries? This is how it looks when it is displayed the way I want, i.e. with no fancy sorting by file type: And this is how it looks ...
3
votes
1answer
105 views

How to add several files to a fileset at once with a regular expression?

I'm working on the current branch of a game composed of several files. I have created a fileset so I can open all those files at once. The GNU Emacs manual says: Normally, a fileset is a simple ...
1
vote
1answer
57 views

Update customize after change

It seems that once customizable variables are loaded, the Customize interface is not updated on subsequent re-evaluation of those variables, even with eval-defun (C-M-x). For example, adding a :...
1
vote
1answer
506 views

Projectile: show project open buffers when switching project

I have a very large project and generally I work on multiple related projects simultaneously. While switching project I have to type full name everytime (multiple similar named files under different ...
1
vote
2answers
224 views

Restarting emacs changes default font

I'm new to Emacs. Been a vim user. Using M-x customize-face, irrespective of what font I set it to, Emacs always ends up using Inconsolata-g for Powerline font. Default is DejaVu Sans Mono. I tried ...
2
votes
3answers
508 views

How to make size of Emacs frame persistent?

When I start Emacs (by clicking on a desktop icon), its frame is too big for the screen, so the mode-line/mini-buffer area is not visible. It's not difficult to resize and reposition the frame, but ...
1
vote
1answer
31 views

What function is used when selecting a color in a Customize buffer?

I don't like the function that Customize uses to select color. It spawns a new buffer that messes up window configuration, and is also difficult to search. I want to replace this function with the ...
1
vote
0answers
85 views

how to prevent buffer menu from folding

Is there a way to prevent emacs from folding the buffer menu? Example, when I Control + 'right click' on a buffer I see a menu like this: Buffer Menu ----------- JavaScript > XQuery > Custom &...
1
vote
0answers
30 views

Enforcement of customization types

When specifying a customizable variable foo-paths as follows: (defcustom foo-paths nil "Paths for foo-related things." :group 'foo :options '(foo-1 foo-2) :type '(alist :key-type symbol :...
3
votes
1answer
67 views

Customizable variable with predefined alist keys

I'd like to create a customizable variable foo-paths with certain options. (defcustom foo-paths nil "Paths for foo-related things." :group 'foo :options '(foo-1 foo-2) :type '(alist :key-...
4
votes
2answers
130 views

Shifting Emacs Theme from one Computer to Another

I am a little new to emacs and have managed to get the color theme to my liking. However, I want to be able to use the same theme on a different machine and have been struggling to get it to work. I ...
0
votes
2answers
70 views

Size of default face from environment variable

I'd like the size of the default face be read in an environment variable. Currently my .emacs reads the frame size from the EMACS_HEIGHT var thanks to the following code in the (custom-set-variables ....
1
vote
1answer
1k views

Problems Creating Basic Spacemacs Layer

I'm trying to create a basic spacemacs layer. But there's an error loading it, thus its constituent packages. Checked this SO question, but it doesn't seem to apply. Any idea of I'm missing? I'm sure ...
2
votes
1answer
523 views

How to customize org-agenda-* faces in .emacs file?

I am trying to customize org-agenda-* faces such as org-agenda-date, org-agenda-date-today, and org-agenda-date-weekend in my .emacs file. Normally, I install the use-package package to lazily load ...
1
vote
1answer
253 views

Is it possible to change the font size in specific buffers?

I would like to have different font sizes for the buffer windows in Emacs. That is, I would like to have a bigger font in the buffer where i write the code, and a smaller font in the buffer where i ...
1
vote
1answer
79 views

How to use bmkp-new-bookmark-default-names in bookmark+?

I am using bookmark+.el in Emacs 25.1. When I press C-x r m (bound to bookmark-set) and point is on a symbol, it will be used as the default candidate for the new bookmark to be created. I would ...
1
vote
1answer
280 views

Auto generated code in the init file when updating packages

Every time I use the package manager it puts auto generated code in the init.el file: (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it ...
1
vote
1answer
160 views

Separating Customize settings from other Init-file settings

Currently all my settings that come from the customize interface are placed in: (custom-set-variables '(menu-bar-mode nil) '(ivy-mode t) '(blink-cursor-mode nil) '(hl-line-mode nil) '(...
1
vote
1answer
257 views

Disable tabbar in special buffers

I have Tabbar installed and when I am using some function like describe-key in emacs the resulting *help* buffer has a tab bar at the top. This is a waste of space and is distracting. How can I ...
1
vote
1answer
386 views

Where is the information passed to `custom-set-variables` and `custom-set-faces` stored?

The post's title pretty much says it all. In particular, I want to find out what happens if I invoke custom-set-variables twice, with completely different arguments each time. E.g. (custom-set-...
2
votes
1answer
201 views

`haskell-mode-hook` is nil?

The haskell-mode-hook customizable variable in haskell-mode has a default value of (haskell-indentation-mode interactive-haskell-mode). Yet, after starting Emacs, its value is nil; the "original ...
0
votes
1answer
125 views

Create a sub-mode of an existing mode which overrides certain functions?

I want to make a few customizations to cmake-model.el. The big-picture view of this lisp file is as follows: ... ;; This function I want to modify (defun cmake-indent () ... ) ... ;; Mode ...
0
votes
1answer
450 views

Customize theme font color

I am using the distinguished theme. I want to set the main font color to something more dark, how could i do that?
5
votes
2answers
405 views

Customize ??? in which-func-mode

I have which-function-mode enabled and from time to time it shows ???. Is it possible to customize this to eg '∅'. I have tried to customize group "Which Func" but did not find something suiteable. ...
3
votes
0answers
63 views

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.
-1
votes
0answers
36 views

init.el file is loosing customizations (but still working) after starting daemon

I have the following problem: I used to start emacs (version 24.5.1) from the GUI button. I customized it writing in the ~/.emacs.d/init.el file and everything worked well. Then I set up the daemon to ...
3
votes
0answers
314 views

How to mark risky variable as safe?

I have some customization in my .dir-locals.el. Some of variables set there are unsafe and when I set them and visit some file in dir for the first time Emacs nicely asks me to save their name-value ...
0
votes
3answers
1k views

How to get Emacs to automatically open a specific directory on startup?

I would like Emacs to open the folder $HOME/Documents/CodeLite/CPP-Math-Projects/Simple-Pendulum on startup and show it in the directory browser. Is there a way to do this? I have read https://www.gnu....
3
votes
0answers
113 views

How to change the line height in the menu

Here "menu" means something which appears when you hit F10. (Not the menubar.) Because my display is small, several options are hidden below. (See the following image. You can not see "Quit".) This ...
0
votes
2answers
257 views

Customize haddock comments color

How can I change the color of the comments starting with -- | in Haskell mode? When I write a comment in Haskell I get a grey face, but when the comment starts with -- |, as required by Haddock ...
1
vote
0answers
573 views

Insert Current Date and Time with Custom Timestamp

I am trying to get org-mode to insert a custom timestamp with the current time. Something along these lines: 20160824 34|3 163000 (UTC) Which I believe should be the following: ("%Y%m%d %W|%u %H%M%...
0
votes
1answer
66 views

Dashes (or strippled line, dashed) in tabbar for emacs with X

I'm trying to go full minimalist over here... But I can't figure out how to remove the strippled line next to "untitled". I'd like it to be nothing at all. The customizations I've done so far for ...
1
vote
1answer
32 views

Wrong file path when saving through “customize” interface

I've just started using emacs recently and it's fist time i try to configure it. I have following setup under Windows 7: "...\emacs\config\.emacs" "...\emacs\emacs-bin-w64-25.0.94-O2\..." "...\...
3
votes
1answer
1k views

How to use .dir-locals.el with Projectile?

I'm trying to ignore some file patterns while performing helm-projectile-grep and some with helm-projectile-find-file. I've found that it could be achieved using .dir-locals.el here. Following this ...
13
votes
3answers
1k views

Is there a way to change color of active window's fringe?

To better distinguish between focused window and rest that are not I would love to change this window's fringe color. Discovering customize with fringe keyword I found only how to change its bg color ...
1
vote
0answers
461 views

Why do “gnu” and “linux” `c-default-style` treat `c-basic-offset` differently?

These lines in my .emacs (setq-default indent-tabs-mode nil) (setq-default c-default-style "linux") (setq-default c-basic-offset 4) result in the following formatting of my c code (the c-basic-...
2
votes
3answers
401 views

loading tramp overrides tramp-remote-path customization back to default value

I have customized tramp-remote-path in my .emacs.d/init.el with (custom-set-variables '(tramp-remote-path (quote (tramp-own-remote-path)))) but when tramp is loaded the value of tramp-...
4
votes
1answer
165 views

emacsclient directly start eshell command command line

Both of the following work to call a graphical/terminal eshell: emacs -f eshell emacs -nw -f eshell Furthermore, this 2-step process also works: `emacsclient -t -a '' /some/real/file/name Metax ...
0
votes
0answers
90 views

How to change ranger current line face?

I can not figure out how to change current line bg in ranger - I'm unable to find customize group for that, is that possible at all? Maybe its inherited from other dired face, can somebody point me ...
1
vote
1answer
429 views

customize-face and themes bug: workaround?

I'm seeing the following issue with emacs 25. I'm confident there must be a workaround for this because I'm in the process of rewriting my emacs configuration, and my old, ugly configuration with the ...
2
votes
1answer
1k views

How to customise Org-mode per file (and sync with Orgzly)

I am using Org-mode in conjunction with an Android tablet. I have customized Org-mode and keep files in Dropbox. After sync the Android side is not implementing any customization. Copied this code ...
2
votes
2answers
106 views

How does one colorize keywords in Info pages like in man?

Since I learned how to colorize man pages using LESS_TERMCAP I find them much more easy to read. I would like to achieve the same with Info pages in emacs. For example, colorize function names, ...
2
votes
2answers
82 views

When Emacs loads variable customization?

I have a minor mode that declare a customizable variable as its keymap prefix: (defcustom mymode-keymap-prefix "C-c *" "Prefix for `mymode-mode'." :group 'mymode) (defvar mymode-mode-map (let (...
8
votes
2answers
281 views

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 ...
4
votes
1answer
111 views

What happens if variable changed through customize is later changed by package maintainers?

For example, lets say a package defines a variable foo: (A B C), but through customize, I remove C from the list. Now the variable foo is (A B). What happens if later, the package maintainers change ...
1
vote
2answers
130 views

How to make a Customize setting depend on another? or make a `setq` depend over a Customize setting?

I heard it’s better to use Customize to define variables/settings instead of just some setq inside .emacs.d… because it autoloads when loading packages, because it’s more consistent, more checked/...
3
votes
1answer
93 views

detecting obsolete/deprecated settings in elisp files, particularly .emacs

I recently got bitten by a deprecated setting breaking a new package I was trying to use. The same behaviour had been reported by a number of users before me, but the authors were unable to reproduce ...
5
votes
1answer
127 views

Can you describe a face color in terms of an inherited face color?

Specifically, I want tags in org mode to be a variant of the color of the corresponding heading (e.g. less saturated or lighter). Each org mode heading level is a different color, so I can't just ...
4
votes
1answer
374 views

how to define color for part of a comment?

How to make colored some part of comment? Let comment be ;; This is James Bond diary. And I want to make "James Bond" in green. There will be only a few such strings and no places where it will be ...