Questions tagged [config]

The tag has no usage guidance.

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

How to share custom-set-variables settings with colleagues?

In my .emacs file, I have some settings that I need to share with my colleagues to ensure that other tools I've shared in a Git repository work correctly. I was thinking of moving these settings to a ...
Gabriele's user avatar
  • 1,564
0 votes
1 answer
38 views

Install elpy on emacs

I checked the elpy site but came across an error where the package cannot be found? I am new to emacs and need a little help reading the error message. The specific code in the init file I tried to ...
Ranon's user avatar
  • 1
0 votes
0 answers
31 views

Inserting new org roam node fails

I recently moved my Org Roam directory to a new machine. However, creating new nodes with org-roam-node-find fails with the error message run-hooks: Symbol’s function definition is void: org-tempo-...
leonardo's user avatar
0 votes
0 answers
25 views

Problems configuring ocaml setup in emacs

Emacs question this is my config for working in ocaml in emacs: ;; Ocaml (use-package tuareg :ensure t ) (use-package merlin :ensure t :config (add-hook 'tuareg-mode-hook #'merlin-mode) (...
cofeek-codes's user avatar
0 votes
1 answer
27 views

Compile for use with VNC/remote X server

I'm trying to connect from a PC to a remote Centos 7 server, and I'd like to run a graphical emacs over VNC. The server's completely locked down, but I can copy RPMs to it. I've tried installing emacs ...
QF0's user avatar
  • 103
0 votes
1 answer
62 views

Celestial Mode Line throwing Error loading "celestial-mode-line" autoloads: (void-variable lunar-phases)

On startup am seeing this error and then the package is loading and working showing in modeline. Warning (emacs): Error loading "celestial-mode-line" autoloads: (void-variable lunar-phases) ...
Talespin's user avatar
  • 109
1 vote
1 answer
63 views

Splitting use-package declarations in literate config

Trying to clean up my configuration and make it more readable, but also reduce load time from current time of about 13 seconds down to < 10. Suppose I have a large use-package macro for a package ...
nonreligious's user avatar
1 vote
2 answers
71 views

How to detect when emacs is started with `--debug-init`?

I'd like to turn some things off normally and then re-enable them when emacs is started with --debug-init. For example, I get loads of warnings about the length of doc-strings in packages. I want to ...
Ian Pringle's user avatar
0 votes
0 answers
33 views

.emacs c-mode/indent settings being ignored

I've been using Emacs forever now but more recently all of my new Linux setups start out with broken c-mode settings that I can't figure out how to fix. Changes in .emacs seem to have no effect, as if ...
davorin's user avatar
0 votes
1 answer
140 views

How can i override the capture templates in a custom call of org-roam-node-find?

I am trying to streamline the process of creating a project node in org-roam. I've defined a custom wrapper function for org-roam-node-find with the following code: (defun my/org-roam-filter-by-tag (...
Lore's user avatar
  • 183
1 vote
2 answers
63 views

Spacemacs: User code does not load in dotspacemacs/user-init and dotspacemacs/user-config -- elfeed

I want to modify elfeed using this article: https://cundy.me/post/elfeed/ I cannot load the following code: (defun concatenate-authors (authors-list) "Given AUTHORS-LIST, list of plists; return ...
kai90's user avatar
  • 113
0 votes
1 answer
75 views

Configuring Clojure Mode to use Parinfer layer in Spacemacs

I am an experienced Clojure developer making the transition to using Spacemacs. I would like to use parinfer in my setup to manipulate my Clojure code structure, but I am struggling to get the ...
Hayden Estey's user avatar
0 votes
0 answers
43 views

How do I make alerts persistent with alert-user-configuration?

I'm using the alert package, and I want alerts with the title "Agenda" to be persistent. It seems to me I should be able to do this: (add-to-list 'alert-user-configuration '(((:...
wohanley's user avatar
  • 153
0 votes
1 answer
319 views

Tangle Emacs Configuration Externally

I'd like to tangle the emacs configuration externally, instead of doing it from inside emacs. It's really hard to debug if the tangle is done in init.el How can I tangle the configuration org-file ...
Jason Hunter's user avatar
1 vote
1 answer
153 views

:config of use-package is not working for multiple cursors

I have noticed a weird behaviour with use-package for multiple-cursors when trying to customize insertion of numbers. I am able to insert numbers on multiple cursors using C-c n using this code ;; ...
Ajned's user avatar
  • 734
0 votes
1 answer
724 views

How to get a minibufer on top of the screen with the visual auto-complete

On the screenshots of Doom Emacs themes (https://github.com/doomemacs/themes/tree/screenshots) I see the minibufer on the top of the screen with the visual autocomplete: How to achieve this look and ...
Yuriy Al. Shirokov's user avatar
4 votes
1 answer
2k views

How do I add custom keybindings in spacemacs?

I want to bind Ctlr+s to "save current buffer" (currently SPC f s). How can I do this? When I search online, I find many complicated explanations of how to do very specific things, like how ...
Jessica's user avatar
  • 163
0 votes
1 answer
27 views

Paste `shell-command-to-string` result after cursor position

I use shell-command-to-string to automate some common tasks. However, these strings must be pasted after the cursor. How can I configure shell-command-to-string to paste after the current cursor ...
dotancohen's user avatar
1 vote
1 answer
268 views

How to specify lsp configuration messages in emacs?

I'm trying to configure rust analyzer to expand proc macros. According to it's documentation I have to configure my editor (i.e. emacs) to send this JSON as a LSP message: { "cargo": { ...
zvavybir's user avatar
  • 113
0 votes
1 answer
585 views

What to put into 'init.el' vs 'config.el' in Org-mode?

I'm using Org-mode to configure Emacs in a file 'config.el', which is really unstructured meanwhile. On the other hand, lots of configurations (for exemple the configs made with the menu) are in Emacs'...
OsunSeyi's user avatar
0 votes
2 answers
1k views

Projectile: How to include files of a sub directory into the project of of it's parent directory?

Given a project directory my-project which projectile correctly identifies because it is a git project. Inside my-project there is a my-module directory. It is a git submodule and therefor projectile ...
Witek's user avatar
  • 345
3 votes
1 answer
677 views

Emacs org mode WYSIWYG editing

Intro Is it possible to replicate the following rendering of org mode blocks like in LogSeq? I have done some research but failed to find any kind of solution that would achieve it and I have a ...
noobsaibot's user avatar
0 votes
1 answer
578 views

Setting latex compiler

I was happily running emacs with a locally installed texlive in ~/texlive/2021 on manjaro KDE. But I decided to switch to Gnome. So, installed necessary packages, removed the ones I did not need and ...
deshmukh's user avatar
  • 1,912
1 vote
1 answer
613 views

How to correctly set the path?

I've been unable to run the elixir shell using alchemist-iex-run because the erlang executable erl is not found in my path. Here's the error: /opt/homebrew/Cellar/elixir/1.12.1/bin/elixir: line 230: ...
Gavin's user avatar
  • 288
1 vote
1 answer
74 views

how to stop emacsclient on terminal insert `[I]` when I open a file?

I'm using emacs on MacOS (v11.4 Big Sur) installed from homebrew-emacs-plus and, every time I want to open a file for a quick edit on the terminal (on iTerm2) using emacsclient, a character gets ...
Hugo's user avatar
  • 131
0 votes
2 answers
258 views

use-package session example please

I want to setup session with use-package but I don't know elisp except copying from working code. Here is what I've copied: ;;;_* session (use-package session :if (not noninteractive) :load-path &...
xpt's user avatar
  • 467
1 vote
0 answers
15 views

Release terminal filestreams on start

I want emacs to release (instead of grabbing) the parent terminal when started through the command line. Better if it is possible to send error messages to some temporary file. By that I mean ...
nomad's user avatar
  • 257
0 votes
1 answer
66 views

Add custom agenda options instead of replacing the whole set

I use some custom agendas for work and some for personal stuff. At the moment I load a huge set of custom agendas in org-agenda-custom-commands containing all agendas for work and for personal stuff. ...
breathe_in_breathe_out's user avatar
0 votes
0 answers
42 views

Can't reproduce my (spacemacs) config

Two PCs, same version of manjaro on both, same emacs version, same spacemacs version/branch, same config file. Problems with python mode and company: On my second PC, autocomplete doesn't work ...
Hive's user avatar
  • 1
1 vote
0 answers
2k views

Doom emacs config does not fully load at start up

I am on Doom emacs, and have placed various scripts in my config file. These are mainly new keybindings and options for packages, e.g. (define-key org-mode-map (kbd "s-;") 'org-agenda) ; ...
Nick Riches's user avatar
4 votes
1 answer
393 views

How to change Emacs' word movement behaviour?

I want to do this on forward-word: (| shows the cursor position) Normal Behaviour: int main(int argc, char *args[]) { int a = 45|; printf|("%i", a); } What I want to do: //forward-...
shigi's user avatar
  • 41
1 vote
1 answer
57 views

Force magit to ask for confirmation before deleting a branch

I would like to have magit ask for confirmation when I've told it to delete a particular branch. Currently it seems that magit considers the selection of a branch to delete to be the confirmation, as ...
izkon's user avatar
  • 1,878
0 votes
1 answer
159 views

Git Repo for Doom Config With Different Platforms

I have emacs on two separate platforms, and I would like it to function in much the same way on both, but there is some platform-dependent configuration as well. I have created a git repository in my ....
Aronurr64's user avatar
1 vote
1 answer
336 views

Change location for straight.el working directories?

I’d like to put my dotConfig files into DropBox, including my .emacs.d folder. I’d like to use these across computers and across OS’s. I’ve split out part of my init.el into per-computer files (...
MikeTheTall's user avatar
3 votes
1 answer
323 views

Adding Spacemacs documented layers fails

Adding layers existing in the layer section of the .spacemacs documentation results in failed test in the dot-test-results buffer generated after reloading the .spacemacs file (with SPC-f-e-R). ...
Samusz's user avatar
  • 43
0 votes
0 answers
161 views

How do I reload config in other instances of emacs?

Say, I changed ~/.emacs, but I have another instances of emacs running. I believe unless I do something, they might change the config (because they have a stale notion of its contents), which in turn ...
x-yuri's user avatar
  • 291
0 votes
1 answer
426 views

Emacs config file when installed using snap

I installed Emacs 26 on Ubuntu using snap. Where to find the Emacs configuration file in this context ?
Billal Begueradj's user avatar
2 votes
3 answers
843 views

How to configure emacs to start in the middle of the screen, and not in the top left corner?

Currently have a GUI version of GNU Emacs v.26.3 (on MacOS Catalina, also have a similar version on Ubuntu 16.04), and because I'm just getting started with the editor, I have this question: how do I ...
wintermute's user avatar
0 votes
0 answers
122 views

Org-mode export bullet as HTML into specific folder with extra exporting option

I would like to add a extra exporting option to my org-mode export dialog. this option shall export the data as html to a specific folder. I want to press C-c C-e to open my export dialog and then ...
Phillip's user avatar
  • 121
0 votes
1 answer
90 views

How to make emacs to launch sql modes runtime window always at the bottom?

When using M x sql-postgres to launch the SQL mode window, emacs (as of 25.x) seems to be making smart choices about where the SQL run-time window will show. That is, it splits the viewport and shows ...
tinlyx's user avatar
  • 1,346
0 votes
1 answer
626 views

How can I save a personal bookmark file?

I work on doom-emacs and keep personal configuration in .doom.d, thus leave the gene config .emacs.d. Today, I re-installed doom.emacs to .emacs.d, but find all my bookmarks disappeared when launch ...
Wizard's user avatar
  • 1,251
0 votes
1 answer
878 views

Activate personal configuration to the config with load-file and require

I created personal my-config in .doom.d and have 'my-org-agenda` etc within it. #+BEGIN_SRC shell :results output tree ~/.doom.d | head #+END_SRC #+RESULTS: #+begin_example /home/me/.doom.d ├── ...
Wizard's user avatar
  • 1,251
0 votes
1 answer
349 views

How to use an Easy PG encrypted custom-file?

So, inspired by this article. I decided to try adding the following to my init.el: (setq custom-file (expand-file-name "secret.el" user-emacs-directory)) (load custom-file) Where the file in ...
HaoZeke's user avatar
  • 145
2 votes
1 answer
5k views

Is it possible to change to Emacs input mode with Doom Emacs?

It's default input mode is vim. Didn't find the toggle option like Spacemacs with M-m t E. https://github.com/hlissner/doom-emacs
02040402's user avatar
  • 129
-1 votes
1 answer
54 views

How to include packages into my configuration?

a total newb when it comes to spacemacs. Firstly I just want to get spacemacs to work properly and I have the issues regarding the missing wrapping feature like in the following link (Make visual-line-...
tbrodbeck's user avatar
  • 189
0 votes
1 answer
114 views

prog-mode-hook not recognizing .ex files in user-config

I'm trying to display prettify-symbols-mode to display for certain characters. I would like for this minor mode to be enabled across all programming languages - thus prog-mode. When I navigate to a ....
colonelrascals's user avatar
2 votes
1 answer
98 views

How to change org-babel interpreter location

Say I have my ditaa interpreter pointed to at /home/user/.emacs.d/elpa/contrib/scripts/ditaa.jar, how would I set it so it points to a different location?
Atlas Sullivan's user avatar
5 votes
0 answers
2k views

Enhance python lsp-mode with elpy functions and keybindings

I've been using Elpy for a long time and have grown used to many of the default keybindings. I recently decided to give lsp-mode a go to see how it compares. I set it up following this blog and made ...
aiguofer's user avatar
  • 588
7 votes
2 answers
680 views

It is possible to instrument a literate Org-mode configuration file with a backing Emacs Lisp file?

It is a common practice to write Emacs configuration files using literate-programming style in Org mode. Unfortunately, while improving readability, this comes with significant programming ...
Matthew Piziak's user avatar
2 votes
2 answers
1k views

make frames and open specific buffers in succession

im trying to launch emacs with specific named frames and want each frame to have a specific buffer opened in a specific frame (ie have the frame named FM opned a dired buffer at `~/~) this is my ...
zeltak's user avatar
  • 1,745