Questions tagged [customize]

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

2
votes
1answer
57 views

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 ...
1
vote
0answers
38 views

Customize-like form

I'd like to create a form, like the one displayed by customize, in order to ask to the user some information. The form should let me provide a description, a default value, and eventually display a ...
2
votes
1answer
233 views

Customize Xah Fly Keys

I am using Xah Fly Keys. How should I change the function one of Xah Fly Keys key bindings calls? For example when in Xah Fly Keys command mode space c . calls the find-file function but I would ...
2
votes
1answer
85 views

What is the recommended way to generalize a defcustom from atom to sequence?

In an Emacs package I have a defcustom, say custom-string, that is defined as an atom of type string like so: (defcustom custom-string "foo" "A customizable string." :type 'string) I need to ...
0
votes
1answer
139 views

Start Emacs in VHDL-mode?

I started coding in vhdl and I'm currently using emacs with its vhdl mode as editor on Ubuntu 16.04 OS. However i was wondering if its possible to start emacs already in vhdl mode, meaning I won't ...
2
votes
1answer
67 views

How do I change the Magit section heading background color?

I'm trying to customize the look and feel of my Magit setup. How do I change the background color of the section heading below? In particular, I'd like to change the black background color next to ...
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 ...
9
votes
3answers
995 views

Dired: only reuse buffer for directories

To prevent creation of a buffer every single time I enter a directory in dired I use this: (put 'dired-find-alternate-file 'disabled nil) My problem now is that when I visit a file from dired ...
0
votes
1answer
113 views

Cannot set fringe foreground color

I want to change the foreground color of my fringes, in my theme file. I changed (line 84): - `(fringe ((t (:foreground ,bisque-fg :background ,bisque-bg)))) to + `(fringe ((t (:foreground ,...
0
votes
1answer
194 views

How to get rid of the “unsaved” title from the exported agenda document?

When I export the custom agenda view I get this "unsaved" text in the exported PDF document (see blow): Exported PDF Agenda-related code in init.el (setq org-agenda-exporter-settings '((ps-...
16
votes
3answers
1k views

Set column widths in `ibuffer`

Is there a way to customize the widths of the columns in ibuffer? Specifically, I want to widen the Name column to be able to read more of the buffer names before they get truncated. I have tried ...
13
votes
3answers
431 views

describe-face character not under / unreachable by the cursor

I like using a combination of describe-face and customize-face to adjust the appearance of my working environment. Sometime this workflow fails when I want to change the face of a location I can not ...
1
vote
1answer
141 views

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 ...
4
votes
2answers
479 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. ...
1
vote
1answer
510 views

How to know which packages have been installed?

Currently I am experimenting with Emacs and playing with many el files. Sometimes packages are installed from those el files or I install with a command M-x package-install. But this may cause ...
7
votes
2answers
351 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
2answers
98 views

Organizing Info Directory Node

When I open the Emacs info reader, the top directory node is really cluttered. It's difficult enough to navigate that it puts me off from using it. There are a few things that I can't figure out how ...
0
votes
1answer
28 views

Having same commands in different Emacs configuration files.

I am using Prelude Emacs and it has different configuration files. I keep my configuration files inside ~/.emacs.d/personal/. . Say, I have a command (menu-bar-mode 1) that enables menu bar inside ...
1
vote
2answers
570 views

How can I get some environment variables into init.el to construct file paths?

I want to synchronize my emacs configuration through an identical init.el but needs some settings defined according to the host. For instance although init.el will be the same custom-file will vary ...
2
votes
2answers
115 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, ...
3
votes
1answer
589 views

How do I move custom- commands into a separate file and include them in .spacemacs?

I don't know whether it is because I started using org-mode but when I checked the .spacemacs file this is what I found: ;; Do not write anything past this comment. This is where Emacs will ;; ...
2
votes
1answer
61 views

Prevent bmkp-last-as-first-bookmark-file from being placed in custom-set-variables

I have the following code to set a custom.el file and load Bookmark+: (setq custom-file (concat elf-emacs-lib-home-directory "emacs-config/" "custom.el")) (when (file-exists-p custom-file) (load ...
2
votes
1answer
364 views

No colors for eshell?

I have the following in my code to customize eshell: (setq eshell-prompt-function (lambda nil (concat (propertize (eshell/pwd) 'face `(:foreground "blue")) (propertize " $ " 'face `(:...
4
votes
1answer
77 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 ...
2
votes
1answer
124 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
63 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
560 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 ...
5
votes
2answers
98 views

How do I determine where a variable is set? [duplicate]

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 ...
2
votes
3answers
463 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
2answers
144 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 ...
2
votes
3answers
601 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
33 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
106 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 &...
2
votes
1answer
80 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-...
1
vote
1answer
307 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
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 :...
1
vote
1answer
80 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
314 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
209 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) '(...
0
votes
3answers
170 views

How to erase the old value in “exec-path” value

I try to create an own portable installation (in USB pen drive). The first problem is to cancel the "old" values looks in exec-path stored. When I insert the command C-h v, I see together "exec-path ...
1
vote
1answer
295 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
400 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-...
0
votes
1answer
158 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
511 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?
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.
3
votes
0answers
364 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....
2
votes
0answers
130 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
1answer
75 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
0answers
627 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%...