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
0 answers
12 views

How to add spacemacs/evil functions to pulsar-pulse-functions?

I'm using emacs 28.1 with Spacemacs and after installing pulsar I'm wondering how to add the pulse functionality on certain events, such as, when going through search matches, scrolling up, down, etc. ...
user avatar
  • 101
0 votes
1 answer
16 views

how to re-enable a variable after a package overwrites it? (in particular, mark-even-if-inactive and Hyperbole)

I have mark-even-if-inactive set to t in my init.el; I've found that I that so (interative "r") works as expected; if that variable is nil, I get "The mark is not active now" when ...
user avatar
  • 297
0 votes
1 answer
80 views

what is the type 'repeat string'?

Here it says that the type of lsp-clients-pylsp-library-directories is (repeat string) How do I write my dir_locals.el file ? I tried this but it doesn't work (see here) ((lsp-mode . ((lsp-clients-...
user avatar
0 votes
0 answers
18 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, ...
user avatar
1 vote
2 answers
92 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 ...
user avatar
  • 389
0 votes
0 answers
134 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 ...
user avatar
0 votes
1 answer
68 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 ...
user avatar
  • 101
0 votes
0 answers
151 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 ...
user avatar
1 vote
1 answer
61 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 ...
user avatar
  • 59
1 vote
1 answer
20 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-...
user avatar
1 vote
0 answers
94 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 ...
user avatar
0 votes
0 answers
46 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 ...
user avatar
  • 1
0 votes
1 answer
36 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"...
user avatar
0 votes
0 answers
45 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" ...
user avatar
0 votes
1 answer
137 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 ...
user avatar
  • 123
0 votes
0 answers
43 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 ...
user avatar
  • 26
0 votes
2 answers
159 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 ...
user avatar
0 votes
2 answers
49 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'...
user avatar
  • 1,280
0 votes
0 answers
33 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 ...
user avatar
  • 534
2 votes
1 answer
163 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 ...
user avatar
2 votes
3 answers
236 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 ...
user avatar
1 vote
1 answer
38 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 ...
user avatar
2 votes
0 answers
79 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.
user avatar
  • 1,578
0 votes
0 answers
21 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 ...
user avatar
0 votes
1 answer
36 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 ...
user avatar
  • 1,041
0 votes
2 answers
454 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 ...
user avatar
1 vote
0 answers
225 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. (...
user avatar
1 vote
2 answers
82 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) ...
user avatar
  • 355
0 votes
1 answer
99 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 [...
user avatar
0 votes
1 answer
381 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 ...
user avatar
  • 825
1 vote
1 answer
613 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 ...
user avatar
  • 13
1 vote
1 answer
55 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)&...
user avatar
  • 111
2 votes
1 answer
493 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 ...
user avatar
  • 621
2 votes
1 answer
84 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 ...
user avatar
  • 20.3k
1 vote
1 answer
111 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 ...
user avatar
3 votes
1 answer
151 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 ...
user avatar
2 votes
0 answers
388 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 ...
user avatar
  • 1,473
1 vote
1 answer
171 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? ...
user avatar
  • 285
0 votes
1 answer
114 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 ...
user avatar
2 votes
0 answers
72 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 ...
user avatar
0 votes
1 answer
298 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?
user avatar
  • 101
2 votes
2 answers
129 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; ...
user avatar
  • 201
1 vote
2 answers
424 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 ...
user avatar
  • 7,179
6 votes
2 answers
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 ...
user avatar
  • 483
2 votes
1 answer
306 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 ...
user avatar
  • 21
0 votes
1 answer
408 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 ...
user avatar
  • 163
0 votes
1 answer
93 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 ...
user avatar
0 votes
1 answer
67 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 ...
user avatar
  • 154
1 vote
1 answer
47 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-...
user avatar
0 votes
1 answer
358 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 ...
user avatar
  • 163

1
2 3 4 5