Questions tagged [customize]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
60 views

How can I add functions to provide http links?

A recent feature request raised a new area of integration/customization for me. I've developed a package to browse GitHub content and we'd like to be able to store a link to the current 'thing' using ...
0
votes
0answers
140 views

How to edit the list of named/defined colors?

How can I change (insert,delete,rename,…) the list of named colors? I tried to edit /usr/share/emacs/25.3/lisp/term/tty-colors.el.gz and byte-compile after change, but it had no effect. Note: I do ...
1
vote
2answers
139 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/...
1
vote
1answer
206 views

Remove unused modes

Is there a list with all the modes and packages that come with emacs? I actually want to remove some of the unused packages and modes in emacs.
0
votes
1answer
88 views

Confusing defcustom usage in info.el

I was trying to read the info.el code when I ran across this strange use of defcustom: ;; This is a defcustom largely so that we can get the benefit ;; of custom-initialize-delay. Perhaps it would ...
2
votes
1answer
59 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
39 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
260 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
93 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
156 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
73 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
2k 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
1k 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
122 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
212 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 ...
14
votes
3answers
465 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
160 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
538 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
601 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 ...
8
votes
2answers
399 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
101 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 ...
2
votes
2answers
650 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
121 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
647 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
64 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
437 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
93 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
139 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
66 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
621 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
117 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
503 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
149 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
664 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
34 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
119 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
89 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
368 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
86 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
347 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
250 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
180 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
313 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
404 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
174 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
533 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.