Questions tagged [customize]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
14 views

Can org-provide-todo-statistics be set locally for a specific tree?

Sometimes I would like a tree's statistics cookie, for example "[1/3]", to be calculated differently than what is specified in the global value for org-provide-todo-statistics. For example, ...
1
vote
2answers
56 views

Can the menubar and scrollbar be customized?

In GTK versions of Emacs (or more generally any GUI version of Emacs), can the scrollbar and menubar colors be customized? I can probably change the look of ALL my GTK applications, but when running ...
0
votes
0answers
58 views

How to correctly inherit from multiple faces (with customize)

I would like a face to inherit properties from two ohter faces org-priority and default The manual reads like this: :inherit The name of a face from which to inherit attributes, or a list of face ...
0
votes
1answer
57 views

show line number when matching parathenses/braces

I work with latex/other documents with long nested of texts/codes are enclosed by paratheses or braces, like this: { long blocks of latex or other materials ( another long blocks of texts ...
0
votes
0answers
49 views

How do I save org-agenda-files customizations in Doom Emacs?

I am currently running Doom Emacs and using org-mode. When I try to move a file to the front of the agenda file list (C-c [), It is updating the custom.el file, rather than the config.el file. In my ...
1
vote
1answer
33 views

Setting new values in `org-refile-target` not working

I'm trying to add a new file foo.org and delete an old bar.org from the org-refile-target variable. So doing (setq org-refile-targets (quote (("~/foo.org" :maxlevel . 2)) should work by ...
1
vote
1answer
19 views

defcustom not appearing in Customize UI

I have a problem that variables defined with defcustom in elisp files under ~/.elisp do not appear in the Customize UI. In particular, I use word-count-mode from https://github.com/tomaszskutnik/word-...
1
vote
0answers
29 views

Symbol's value as variable is void: tramp-remote-path

I'm trying to configure a remote path when using tramp. I have added (add-to-list 'tramp-remote-path "/root/.cargo/bin") to my init.el I get the following error: Symbol's value as variable ...
0
votes
0answers
40 views

With org-agenda, how can you allow a tag to show in Agenda but disallow it from Tasks?

I've been working off of a few blog posts as well as the org-manual, and I can't help but feel like I'm almost there. (setq org-agenda-custom-commands '(("d" "Daily agenda and all ...
0
votes
1answer
28 views

How to replace ascii codes with characters in custom settings or buffer?

I customized org-tag-alist using the built-in customization interface. This stored the values in ("tag") . <ascii key value>) pairs like this: ("ez" . 90) ("pin"...
0
votes
0answers
38 views

org-agenda: filter timestamps with interval

I started using the "Getting-Things-Done"-methodology. In my weekly review I want to check if my system is consistent and for that every org-header that is taged with "reminder" ...
0
votes
1answer
39 views

lsp-mode Golang build tags

I am using lsp-mode with Gopls as my coding environment. But I have one file with // +build tagthis at beginning of the file. Then my emacs lsp-mode cannot work well in this file. How can I change ...
0
votes
0answers
35 views

Can you use both imagemagick and dvipng for previewing LaTeX in Org Mode?

I need imagemagick for tikz previews, but it's a lot slower than dvipng. When I try to render out all of the previews at once Emacs hangs for quite a while before showing the generated previews, while ...
0
votes
2answers
110 views

How to use org-tree-to-indirect-buffer and turn off org-indent-mode in the new indirect buffer, with a toggle to go back, all in a single key binding?

I like using org-mode as a distraction free text editor. I also like using org-indent-mode when navigating my entire file. I also like using org-tree-to-indirect-buffer to focus on a desired section ...
0
votes
2answers
39 views

How to properly use defcustom with backquote / comma grammar? (to edit a mode's font-lock-keywords)

I'm trying to edit a mode's font-lock-keywords variable to use defcustom instead of defconst (which it was using previously). Obviously, this is because I want to be able to easily customize the mode'...
0
votes
0answers
30 views

Why bold faces do not inherit from the `bold` face?

I had tried to use a thin weight font as the default face and a regular weight font as the bold face (try, it's a nice combination), but I desisted because there are a zillion faces that do not ...
2
votes
1answer
97 views

emacs-custom file get overwritten

In my init.el, I have the following line (setq custom-file (expand-file-name "custom.el" user-emacs-directory)) which is supposed to set the file custom.el into .emacs.d config folder for ...
2
votes
3answers
175 views

How to prevent M-x package-install from editing my ~/.emacs file?

When I install packages with M-x package-install, it edits the ~/.emacs file and adds the following content: (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by ...
1
vote
1answer
37 views

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 ...
2
votes
0answers
54 views

How to find out the name of a variable Customize is customizing

I'd like to have a function that when run from within a Customize buffer will return the name of the variable that would be customized at point.
0
votes
0answers
20 views

Why won't emacs permanently save my buffer-local var?

For many files I have file-local variables which asked me once if they were safe and I could add them permanently to my "trusted" list, never to be asked again. However, I get asked every ...
0
votes
1answer
32 views

Why has my .custom file changed between `(quote` syntax and the `'` syntax and how to convert between the two?

I use the same .custom file on different machines syncronised via a git repo. I just noticed that suddenly the .custom file from one machine uses the (quote syntax while in the past the ' syntax was ...
0
votes
2answers
323 views

How to set js-mode indent in Emacs >= 27.1

I have my tab width set to two spaces and this has worked fine for many years. I have just upgraded to Emacs 27.1, and now js-mode is displaying tabs as three spaces wide, ignoring my preferred ...
1
vote
0answers
180 views

init file -- How to customize user options? [closed]

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. (...
1
vote
2answers
73 views

how to extract options I saved with customize and insert it inside use-package lines?

Suppose I did some customization through M-x customize-mode or something similar '(org-agenda-custom-commands '(("n" "Agenda and all TODOs" ((agenda "" nil) ...
0
votes
1answer
75 views

How do I set flycheck-markdown-mdl-rules

I'm trying to get FlyCheck to ignore a rule used by mdl for checking syntax for.md files. I'm not very lisp or emacs savvy, but I've added this code to my personal.el file. ;; Turn off mdl message [...
0
votes
1answer
321 views

Getting Helm describe-function/describe-variable’s secondary to work like helm-M-x?

When you use Helm for M-x, you can quickly check the documentation for an interactive command before calling it, it using the secondary key (usually C-z or C-j; I use the latter below). It brings up a ...
1
vote
1answer
492 views

Emacsclient not loading init file changes

Context: I just updated Emacs via homebrew; I don't remember the steps I followed to get Emacs to run via daemon originally, but since the update it doesn't seem to be using it anymore (i.e. quitting ...
1
vote
1answer
50 views

How can I get the tag value associated with a current custom variable?

I've got a custom variable defined: (defcustom monorail-search-mode :issues-open "Current search mode for queries (controls whether we're searching all issues, open issues, new issues, etc)&...
1
vote
1answer
373 views

How to properly specify defcustom default list of heterogeneous types?

How to properly write the default value for a non-trivial defcustom form for something like I have below: a list of 3-element lists, with choices of the types? The defcustom form is: defcustom ...
2
votes
1answer
78 views

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 ...
1
vote
1answer
70 views

How to change a variable value in the current buffer?

I spent a long time looking for this and kept getting reference to M-x customize. But, that didn't give me access to certain variables like comment-start. I couldn't access comment-start with M-x ...
3
votes
1answer
135 views

Is it possible to organize the capture templates selection screen?

As it can be seen above, I have around fifteen capture templates. I think this list may grow or shrink, but in the case that it grows, is there any way to make it more segmented? Like dividing it ...
2
votes
0answers
319 views

How do you set the line height when customizing a font face? (e.g. an org-drawer)

I specifically want my :NOTES: org drawer (and :end:) to be a smaller font size (say 0.5 relative to normal text). Ideally the drawer contents also (say 0.8). However, when I set the height property ...
1
vote
1answer
133 views

Create shortcut for interactive compile command

I know that we can start compile interactively using C-u M-x compile. Is there a way to start this whenever I run M-x compile? If that cannot be done, how do I create a shortcut to C-u M-x compile? ...
0
votes
1answer
95 views

How to use unicode for the checkbox in customize buffers (**not** in org mode)?

I'm trying to modify the appearance of customize buffers. I managed to modify the button but I did not find how to change the appearance of the checkbox nor the dropdown indicator (▽). Ideally I would ...
2
votes
0answers
64 views

org-table: hide grid lines

I like how org-mode allows me to quickly create and edit tables. However, I do not like the table's appearance and I would like to modify it. Customizing the face only lets me change foreground and ...
0
votes
1answer
208 views

How do I set evil mode to use the normal state by default in Customize mode?

When I open the Easy Customization in Emacs, I want to be in normal mode instead of emacs mode. Is that possible?
2
votes
2answers
115 views

Enabling minor modes via customize

I see that minor modes defined via define-minor-mode have a variable that has the same name as the function and the following documentation: Setting this variable directly does not take effect; ...
1
vote
2answers
352 views

How to run a function when setting a 'defcustom' option?

Is it possible to run code when setting an option defined by defcustom? For example, I would like (setq my-package-option t) to install a hook. While defcustom has a :set keyword, it's documented ...
6
votes
2answers
2k views

init.el and trampling of custom-set-variables

My new init.el uses require to load various settings that I have organised into directories and files. This is an attempt to tame what was a very large and messy init.el and custom.el file. Also I ...
2
votes
1answer
281 views

Auctex previews, change foreground color of text

I am using a dark theme and the latex previews from auctex are created with black text color. How can I change it? What I can do is change the background color to white (in Preview Reference Face ...
0
votes
1answer
364 views

how to bind custom commands to keys in existing mode map?

I wrote some extra commands for Python mode: python-insert-quote and python-insert-double-quote. I want to have these commands be available in the minibuffer when python-mode is active. How can I add ...
0
votes
1answer
74 views

I can turn on minor modes like electric pair modes in my init, but they’re not having effect unless manually reactivated [duplicate]

So I can put a line like, (setq-default global-linum-mode t) or (setq-default electric-par-mode t) in my init file, and I can check with C-h v that the variables are in fact set to t (they are), but ...
0
votes
1answer
66 views

Should I be worried about the inability to undo a Custom Theme?

I am relatively new to emacs and am liking it... so much so that I'd like to customize the look and feel. I'm aware the Custom Theme is the new way and is different from Color Theme. The one thing ...
1
vote
1answer
44 views

Unrecognisable code set by Customize

I was looking through my .emacs.el file and saw that Customize has put the following in it: '(org-mode-hook (quote (#[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-...
0
votes
1answer
322 views

How to make markdown-live-priview-mode use pandoc?

I'm having a problem where in markdown-live-preview-mode tables are not correctly converted to HTML from markdown. I'm using markdown-mode. I've tried using pandoc to create the HTML and pandoc ...
1
vote
1answer
106 views

How can I make emacs respect "completion-ignored-extensions" when I hit TAB in the "Find File" buffer?

When I hit C-x C-f to open the "Find file" thing, I can hit TAB to open up a buffer called *Completions* that lists the possible filenames with the given prefix. Sometimes I have a bunch of backup ...
0
votes
1answer
64 views

How to set value vc-git-grep-template within function

I have a working sexp for configuration vc-git-grep: (setq vc-git-grep-template "git --no-pager grep -n -i -e <R> -- <F>") Then in dired-mode I evaluate M-x vc-git-grep and everething ...
3
votes
0answers
461 views

Adding Purpose to Layout Of Emacs

The rigidity to which emacs adheres to its layout is annoying at times. How can i get a layout like this when I shift to the particular modes? +------------------+-----------+ | | ...

1
2 3 4 5