Questions tagged [spacemacs]

Spacemacs is an Emacs layer focused on modal editing via Evil mode, mnemonics and easy configuration, and the space bar. Use this tag if your question relates to Spacemacs-specific functionality.

Filter by
Sorted by
Tagged with
1 vote
1 answer
16 views

How to debug my init.el if --debug-init does not help?

Despite having --debug-init in .xinitrc (exec dbus-launch --exit-with-session emacs --debug-init), I'm not getting any leading details on this error. Error in dotspacemacs/user-config: Symbol’s value ...
user avatar
  • 617
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
1 vote
1 answer
25 views

How to make :q, in spacemacs' evil mode, kill the buffer and delete the window, but not kill Emacs?

How can I make :q in spacemacs' evil mode, kill the buffer and delete the window, but not kill Emacs? Coming from VI, the habit of closing with :q/:wq or ZZ/ZQ doesn't translate very well into Emacs. ...
user avatar
0 votes
2 answers
39 views

How to always work from a daemon and always reuse an existing frame? (bonus: do it with chemacs2)

I'm new to emacs. I'm a spacemacs implant, really love ORG mode and evil mode. Been using for the past year or so. I've read some of the emacs documentation, which is fantastically written. But I'm ...
user avatar
0 votes
1 answer
27 views

Org Koma Letter export return args-out-of-range error

After updating my system I get the error at the bottom when exporting C-c C-e C-s (cursor on My Subject). Can someone explain me the error message in order to solve the problem? my_letters.org: * My ...
user avatar
  • 617
0 votes
1 answer
34 views

How to selectively enable flyspell-mode?

How can I selectively enable spell checking? Previously I had the same issue as this question and disabled spell checking globally. But now I can't seem to enable it back on buffers that I need it, ...
user avatar
  • 106
0 votes
2 answers
38 views

Dynamic Keybind Without Use of Macro

I've attempted to make a function which binds the leader keys o f to switch to the current buffer: (defmacro bind-current-file () (list 'spacemacs/set-leader-keys "of" (...
user avatar
  • 807
0 votes
1 answer
37 views

How to load a particular layout (perspective) on startup in spacemacs?

I have enabled dotspacemacs-auto-resume-layouts in .spacemacs file. I created a new layout named acme and quit spacemacs. Now when I start spacemacs again, I am presented with the default screen (...
user avatar
  • 101
0 votes
1 answer
28 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 ...
user avatar
  • 113
0 votes
1 answer
31 views

How to fix font on start page in spacemacs?

I'm using Spacemacs on macOS. I installed Hack Front and configged it in user-config of spacemacs: (set-face-attribute 'default nil :family "Hack Nerd Font") When I open the Emacs GUI Emacs ...
user avatar
0 votes
1 answer
49 views

Why emacs editor changes indent automatically when copy a context into it?

I'm using web-mode package. The source(.tsx file) in Emacs before: import React from "react"; export default { ... args: { name: "", // Here }, decorators, }; The ...
user avatar
1 vote
1 answer
22 views

Trouble setting up dap for python in Spacemacs

I've been trying to get dap working with python in Spacemacs for a week. I'm trying to start using Spacemacs as my main Python IDE, I should mention I'm new to emacs and spacemacs, I could be missing ...
user avatar
  • 121
0 votes
0 answers
28 views

How to delete an extra space after the title in Org mode?

Currently I have it like this: And as you can see, there is 1 extra space after the word "Titletest". I didn't put it there, it can't be deleted in the file. Emacs does that automatically ...
user avatar
  • 3
0 votes
0 answers
16 views

Configure emacs for JAVA / Spring / Hibernate development

I got java job. Now I've to use intellij or ide. I like them , but i really really miss Emacs. My thought process alters, i can't work in other than emacs. I miss swiper, modus-themes, ...
user avatar
0 votes
1 answer
29 views

How to use a variable for an output :file path for call-process

I'm using call-process in an emacs/lisp file (in Spacemacs) to run an external command and write its output to a file. It works when I hard code the path like this: (call-process "/bin/ls" ...
user avatar
0 votes
0 answers
15 views

how to prevent `j` escaping the visual mode when the key is hold pressed?

In Spacemacs, I'm using jj as the escape key from the insert-mode. Here is the code in my .spacemacs (setq-default evil-escape-key-sequence "jj") (setq-default evil-escape-delay 0.2) ...
user avatar
  • 101
1 vote
1 answer
36 views

How to enable task dependencies in org mode?

The org mode readme says that task dependencies can be enabled by using: (setq-default dotspacemacs-configuration-layers '( (org :variables org-todo-dependencies-strategy 'naive-auto))) I ...
user avatar
  • 113
0 votes
1 answer
20 views

How to load dotspacemacs/user-config from a different file?

My default spacemacs dotfile defines dotspacemacs/user-config, and I suppose my user config is supposed to go inside this function. However the file itself is quite large and I'd like to isolate my ...
user avatar
  • 113
1 vote
0 answers
143 views

Broken Latex Layer in Spacemacs

I write LaTeX using Spacemacs, and suddenly (I think ever since is updated all of my packages) running latex/build fails with: TeX-command-expand: Wrong type argument: stringp, nil Below is the ...
user avatar
  • 11
1 vote
0 answers
41 views

undo-tree changed Treemacs layout when move history cursor in Spacemacs

When I use Spacemacs with the Treemacs feature inside it, like the picture, I opened it by Alt Shift m + p + t Then use Ctrl x + u to open undo-tree When I move the cursor on the undo-tree by Ctrl + ...
user avatar
  • 11
1 vote
0 answers
21 views

Tramp into gcloud compute engine instance using custom `gssh` and `tunnel-through-iap`

I have a couple of GCP projects which has IAP enabled on them and have compute engine instances which only have private IPs. So the only way to ssh into them is to use gcloud compute ssh with tunnel-...
user avatar
  • 111
0 votes
1 answer
26 views

add sonarlint in spacemacs

I've seen a sonarlint config for emacs using lsp in this link of github, and I've tried to install this without success. I've already installed lsp-sonarlint using MELPA and I've added this in ...
user avatar
0 votes
0 answers
19 views

Spacemacs launches normal emacs

I have used spacemacs in the past however it isn't working with my current installation and setup. Instead when I launch emacs it seems that the normal emacs is being launched with the white ...
user avatar
0 votes
1 answer
34 views

org-agenda stopped working

So my org-agenda was working perfectly in Spacemacs 0.990.0 on emacs 27.1 on Ubuntu 18.04 LTS. But I upgraded to Ubuntu 20.04 LTS, and updated all of my Emacs and Spacemacs packages, including org-...
user avatar
  • 509
0 votes
0 answers
17 views

How to prevent nested emacs server starts?

On clicking a downloaded .md,.txt file in Firefox, a new emacs server start is attempted alongside the message: Warning (server): Unable to start the Emacs server. There is an existing Emacs server ...
user avatar
  • 617
0 votes
0 answers
43 views

Disable clang-tidy fix on save

It took me about 3 hours to track down what I thought was a bug in my code one very late night. It turn out some layer in spacemacs was accepting the clang-tidy fixes on and writing them out on save. ...
user avatar
  • 129
0 votes
0 answers
37 views

What is "member" and why does it expect to find an `org` directory in my home directory?

Faced with some org-agenda problems, I tried this: Blow away all emacs config that I know about .emacs .emacs.d .spacemacs .spacemacs.d Follow spacemacs install docs from scratch (checking out ...
user avatar
1 vote
1 answer
24 views

How to pass in a function for define-key's DEF

I'm using spacemacs and setting a binding with spacemacs/set-leader-keys. The documentation for this states that it uses define-key: spacemacs/set-leader-keys is a Lisp function in ‘core-keybindings....
user avatar
0 votes
1 answer
72 views

"Opening directory permission denied `/Users/myname/Documents/'" in Spacemacs on MacBook Air M1

I am using Spacemacs and I am getting this error in HELM when I am trying to go in the Documents folder via HELM on my MacBook Air M1 computer: @@@@file-error: Opening directory permission denied `/...
user avatar
  • 3
0 votes
0 answers
13 views

Autocompletion of variables in R when using tidyr pipes

I've started to use emacs (spacemacs, specificallYy) recently instead of a number of different applications. One of those I'm using emacs for is R development, instead of Rstudio. I'm using ess. Is ...
user avatar
  • 101
3 votes
1 answer
50 views

Is there a way to emulate spacemacs's modeline with numbers to help jump between windows?

I've been looking into rebuilding my config from scratch and used to use spacemacs. One thing I really liked was spacemacs's modeline that marked windows with a number and allows you to jump between ...
user avatar
  • 902
0 votes
1 answer
54 views

How to load python layer after direnv?

In order to have lsp-pyright load after pipenv I need pyright to load after direnv. However, appending after: direnv results in an error[0] How can I have pyright starting the workspace after direnv? ...
user avatar
  • 617
0 votes
1 answer
32 views

Force one window when opening multiple files spacemacs

Looking for the spacemacs answer to this question. How do I have spacemacs open as if I had issued SPC w m (spacemacs/toggle-maximize-buffer)? I thought it might be dotspacemacs-maximized-at-startup, ...
user avatar
0 votes
1 answer
22 views

In spacemacs how do I create a .spacemacs file while using emacs editing mode?

The spacemacs documentation for creating a spacemacs file describes how to do so when using the vi editing mode. How do I do this if I'm using traditional emacs keybindings?
user avatar
  • 101
0 votes
0 answers
10 views

In spacemacs how can I tell auto-complete-mode to use a certain file for sources without preventing the use of other sources

I'm using auto-complete-mode in most modes within spacemacs. I'd like to provide completion candidates for common strings by keeping them in a file. I'd like the candidate selection to be mode-...
user avatar
  • 101
3 votes
1 answer
43 views

Emacs recent buffers use `~` abbreviation?

I have my entire Spacemacs config syncing between a Mac and a Linux machine, which provides a lot of benefits. My packages are always up to date on both systems, a configuration change on one machine ...
user avatar
1 vote
1 answer
55 views

How to resize the bottom mini window?

What I did was I installed the fresh spacemacs I added org and osx layer I used the doom-1337 theme C-c a to select agenda commands Then, the bottom letters are barely seen as the mode-line height ...
user avatar
0 votes
1 answer
89 views

Disable flyspell-mode by default

How do you disable flyspell-mode by default in spacemacs? I don't see where it is enabled in the first place. With customize-variable I can track down global-flycheck-mode, but they seem to be ...
user avatar
0 votes
1 answer
34 views

How to preserve helm project search results to iterate through them

I am using spacemacs with vim bindings and doing a search project-wide for something like while \( with SPC s p. I get the results in a helm buffer and can enter transient state to navigate them, but ...
user avatar
0 votes
0 answers
18 views

Enter Helm transient state with ESC

I'm using spacemacs with vim bindings and would like to enter Helm transient state with ESC as opposed to M-SPC. This would closely mimic entering normal mode, if you think of Helm starting you in ...
user avatar
0 votes
1 answer
50 views

How to remove leftover packages from unused layers

An easy example is adding themes-megapack to dotspacemacs-configuration-layers in .spacemacs, then running SPC f e R, and then observing all the added *-theme packages in your package-selected-...
user avatar
1 vote
1 answer
52 views

Spacemacs missing some keybindings

I just installed Spacemacs v.0.300.0 but the following Spacemacs keybindings from this link do not exist: https://www.spacemacs.org/layers/+emacs/org/README.html#key-bindings The Key Binding tables ...
user avatar
  • 1,333
0 votes
0 answers
147 views

How to Angular LSP-mode in Spacemacs

spacemacs does not have support for angular in their layers utility. When setting up python lsp I just added the python layer in the config file then set a hook to start lsp-mode when in python mode. ...
user avatar
1 vote
0 answers
270 views

how to update emacs packages from the command line

I want to be able to update Emacs packages from the command line and then quit. I have written this function (defun updateandquit () (configuration-layer/update-packages t) (spacemacs/...
user avatar
0 votes
1 answer
25 views

How to open image-dired in a directory using a key binding?

The binding works, though I'm still required to input the directory /home/foo/Pictures. What do I have to change? init.el: (spacemacs/set-leader-keys "jI" (lambda () (interactive)...
user avatar
  • 617
0 votes
1 answer
35 views

How do I change the python layer test command

I'm writing an app in python, which I will run in docker. Therefore I want to test it in docker as well. I'm working in spacemacs and want to use the tools available to test. With projectile this is ...
user avatar
  • 1
0 votes
2 answers
54 views

Spacemacs org-mode faces

How do I turn off all of the custom faces used by Spacemacs org-mode? For example, the background colouring, the overlines, the bold faces etc. I tried using the Customize sub-menu from the Org menu ...
user avatar
  • 1
0 votes
1 answer
217 views

Emacs / Doom emacs taking a lot of memory

I'm using Doom Emacs, which is taking a lot of Memory if my browser is opened with 10 tabs. What can I do to reduce amount of memory being used, without sacrificing the packages? My config.el is as (...
user avatar
0 votes
1 answer
21 views

Why do I have missing keybindings for magit in spacemacs?

I am trying to use magit in spacemacs. When I read instructions to use magit, I am instructed to hit spc + g + s. However, when I push spc + g I see only one shortcut which is spc + g + f + s, which ...
user avatar
0 votes
0 answers
12 views

Wrong highlighting used in sparse tree todo items

I am generating a sparse tree for an org file using org-sparse-tree / t. When I do this, the face for all the todo labels does not match the rest of the text: If I change the todo status of an item ...
user avatar

1
2 3 4 5
16