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
21 views

Unable to disable nor shrink recentf-mode

Loading recentf (180MB) makes emacs unusable recently. Simple M-x calls take almost a minute each and everytime I see a recentf related message. As others already asked I'm unable as well to disable ...
jjk's user avatar
  • 721
0 votes
1 answer
42 views

Change white-space color

I'm trying to set the whitespace color with something less visible, but for some reason is not applying it. (custom-set-faces '(whitespace-space ((t (:background "red"))))) this inside ...
Math's user avatar
  • 101
0 votes
0 answers
30 views

How to debug exwm with chemacs2?

I usually enter s Return in my terminal to start spacemacs. After updating linux (in particular emacs 28.2 > 29.1) I got a blank screen instead. I tried changing .xinitrc to emacs --debug-init --...
jjk's user avatar
  • 721
0 votes
1 answer
23 views

Spacemacs ask for GIT in a Windows Installation

I installed spacemacs in a folder hierarchy as below I run it through this bat file set HOME=%~dp0/.spacemacs Set VAR = %cd% "%cd%\bin\runemacs.exe" --insecure --debug-init It runs quite ...
user1683620's user avatar
0 votes
0 answers
7 views

Weird behaviour on emacs with running django server in terminal

something weird is going on in my 'emacs-IDE'. I am editing some javascript files in a django project using spacemacs. Some tools I use are treemacs and lsp-mode. In order to test my code I call up a ...
mor3dr3ad's user avatar
2 votes
1 answer
47 views

How to stop Spacemacs from asking for a required layer installation

Each time I open a .toml file I'm asked in the minibuffer: Support for toml-mode requires installation of layer rust, do you want to install it? (y or n) n How can I stop that question?
jjk's user avatar
  • 721
0 votes
0 answers
13 views

spacemacs override keybinding for Edebug mode

(define-key evil-evilified-state-map (kbd "C-b") 'evil-scroll-page-up) is picked up by edebug-mode in spacemacs I want to override it (evilified-state-evilify-map edebug-mode-map :...
eugene's user avatar
  • 489
0 votes
2 answers
39 views

How to indent-region with TAB key?

I want to detect if selection made was activated and bind appropriate code for indent-region or ifselection mode was not activate - other code.
Vitalij Chepelev's user avatar
0 votes
1 answer
347 views

lsp-mode can't register custom lsp client using with-eval-after-load

I am trying to use a custom lsp server. I place the following snippet in my init file: (with-eval-after-load 'lsp-mode (add-to-list 'lsp-language-id-configuration '(solidity-mode . "...
degen872's user avatar
0 votes
1 answer
29 views

Third-party function overrides my customized variable and my mode hook

In the spacemace python layer, the following function overrides my customizations for the variable company-minimum-prefix-length python layer (defun python/post-init-company () ;; backend specific ...
degen872's user avatar
0 votes
0 answers
20 views

spacemacs|use-package-add-hook for :hook and :bind?

spacemacs provides spacemacs|use-package-add-hook for extending :init and :config but not :hook or other keywords. Are there way to preserve the use-package syntax when writing spacemacs layers that ...
eugene's user avatar
  • 489
0 votes
0 answers
23 views

Changing/removing the background color for the active window in spacemacs

I use spacemacs on Emacs 28.1. The problem I am having is that in the modeline of the emacs window, the unique window number is displayed. But the color being used to highlight the active window is ...
krishnab's user avatar
  • 519
0 votes
0 answers
19 views

Run a command after vc-git-log-outgoing

I'm trying to fix a problem with this project: https://github.com/domtronn/spaceline-all-the-icons.el Specifically this code which is supposed to count the number of commits ahead of another branch ...
Cameron Ball's user avatar
1 vote
2 answers
58 views

Elisp programming: Jump to heading with a specific `Custom_ID` property value

Within the same org buffer, how to jump to heading with a specific Custom_ID property value? Edit: I need an Elisp function that takes a string argument and jumps to the heading with a Custom_Id ...
cuore RT's user avatar
0 votes
0 answers
19 views

macos, terminal emacs overwrite ui emacs' buffer history (and probably other things)

I am a macos & spacemacs user and installed my emacs through https://emacsformacosx.com/. For UI based emacs I just click on the emacs icon. For terminal I run this command: alias emacs='$(/...
spacegoing's user avatar
0 votes
1 answer
61 views

Prevent completion of the empty string

I would like to prevent completions to the empty string in python and in inferior-python-mode. To explain a bit better - when the prompt or the string is empty, there are no completions proposed. When ...
guibor's user avatar
  • 121
0 votes
0 answers
34 views

Helm see options for opening a file

I'm new to emacs and using Spacemacs Doom. I pressed SPC f r t of find recent files and I used the arrow keys to select the one I want. Now I want to see what options I have for opening it (open in ...
Zaz's user avatar
  • 123
1 vote
2 answers
57 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
  • 13
0 votes
1 answer
82 views

Org-mode, linking between headings topic

I use Org-mode to manage a knowledge-base system. I want to apply the dependency/requirement concept for learning any specific topic: Let's say We have 4 nodes, each one represent a "Topic to ...
cuore RT's user avatar
0 votes
1 answer
37 views

do nothing more than syntax highlighting when spacemacs open python file(or any other source files)

I use spacemacs. Currently, when I open a python file, emacs will do a lot of things, it will check the syntax and give tips. This is what describe-mode gives: Auto-Compression Auto-Encryption Bug-...
Tokubara's user avatar
  • 197
0 votes
1 answer
56 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
206 views

How can I reliably run doom emacs alongside spacemacs?

Years ago I had trouble switching to spacemacs from a vanilla emacs configuration. I was unable to reliably run both configurations without trickery involving moving .emacs.d directories. Now I have ...
Croad Langshan's user avatar
0 votes
0 answers
18 views

How to center logo in spacemacs banner?

I am running Spacemacs in a laptop with 4K monitor and I enabled scaling to 200%. When I start Spacemacs it looks like this: I have set dotspacemacs-startup-banner-scale to 2.5. Why isn't the logo ...
Jeff's user avatar
  • 537
0 votes
1 answer
136 views

tufte-org-mode: how to set up?

I would very much like to be able to use the following package in my spacemacs environment: https://github.com/tsdye/tufte-org-mode Alas, I am still learning how to do things in spacemacs. My ...
spidermonkey's user avatar
1 vote
1 answer
51 views

how to config highlight style in spacemacs as sublimetext did?

I used highlight-symbol to show all selected text in spacemacs, but that looks not very good as sublime text did as following pic: My question is that if spacemacs could use box style without color ...
qbai's user avatar
  • 23
0 votes
1 answer
84 views

how to exchange ESC with C-g in spacemacs

I used C-g to cancel operation in spacemacs, but feel ESC is a better way than C-g. I tried the following, but not work, spacemacs will report issue when startup: (define-key key-translation-map (kbd &...
qbai's user avatar
  • 23
1 vote
1 answer
42 views

how to unbind M-1 in spacemacs?

I used spacemacs for my work, now I need to unbind M-1 with following, but not work (global-unset-key (kbd "M-1")) I checked binding, it looks M-1 was used by winum-select-window-1.anyone ...
qbai's user avatar
  • 23
0 votes
0 answers
81 views

EXWM black screen after startup

The following is my starting script (.emacs.d/exvm/start-exvm.sh) #!/bin/sh # this makes it work in Ubuntu xhost + ## you might need to append the TTY you are working on xinit wmname LG3D # Remap ...
a6i09per5f's user avatar
0 votes
1 answer
23 views

Spacemacs keybinding not behaving as expected

The following keybindings work when simply moving. However, when pressing d and then one of these keys, the behavior is not as expected. When pressing dL it will delete until the end of the page. When ...
Veggeata's user avatar
0 votes
0 answers
14 views

how to get correct indentation in haskell-mode in spacemacs

When in haskell mode indentation is not working quite how I expect it to. When pressing enter in an "else" statement the cursor goes to the beginning of the line instead of the correct one ...
dewijones92's user avatar
1 vote
1 answer
58 views

How to find out where the message comes from?

I'm trying to use Espanso in Emacs GUI. But nothing expands and Emacs echoes the message: "Beginning of buffer". The same snippet works everywhere except Emacs. I want to know where the ...
Tokubara's user avatar
  • 197
0 votes
0 answers
42 views

How to get type information of a variable when hovering over it?

Please can someone help with the following :) my emacs distro is spacemcas When in haskell mode, how do I get type information just by navigating the cursor to it via the vim keys? FYI this works when ...
dewijones92's user avatar
1 vote
1 answer
107 views

When using spacemacs, where do I put my init file?

I've installed Spacemacs on ubuntu. I've got some functions that I'd like to bring over from my old (vanilla) Emacs configuration. Where do I put them? The convention for normal Emacs is that users ...
bob.dobbs's user avatar
0 votes
1 answer
70 views

How to add prefix to suggestions in evil-mode?

Spacemacs has a way to add prefix descriptions with (spacemacs/declare-prefix ...). However, some evil-mode keybindings are lacking prefix descriptions. For example, in evil-mc g r is the prefix for ...
HRSE's user avatar
  • 113
0 votes
1 answer
50 views

Remapping org-agenda-transient-mode in spacemacs

The org-agenda-transient mode in spacemacs is mapped by default to M-SPC. Since I am running spacemacs in a wsl-g setup, this key is not available, since this is a default key mapping of windows and ...
bombadil's user avatar
  • 547
0 votes
1 answer
120 views

Is there any way of not displaying the results of a code on the current file with org mode (spacemacs)?

Let's say I have an org file with the following content on Spacemacs: #+begin_src bash counter=0 while [ $counter -lt 10 ] do echo $counter let counter=counter+1 done #+end_src ...
raylight's user avatar
  • 217
0 votes
1 answer
46 views

spacemacs/dired-aux rename file to similar name without ivy/counsel trying to rename to same file name

In spacemacs I find that two ways to get a new copy of a file with a slightly different filename both suffer from the same completion problem: C-x C-w (write-file) dired-aux's dired-do-rename (bound ...
Croad Langshan's user avatar
0 votes
1 answer
190 views

How to rebind "gj" for org/evil normal mode?

I want gj keys to execute function org-next-visible-heading (in evil normal mode). How should I do it in Spacemacs? I was reading documentation and googling but I can't figure it out. What I tried ...
Kossak's user avatar
  • 1,149
0 votes
1 answer
577 views

How can I copy the text to the clipboard while using spacemacs?

I know that on emacs I can install the xclip package in order to be able to copy text to the system clipboard... With the xclip package installed and adding the following to my .emacs file, I can copy ...
raylight's user avatar
  • 217
0 votes
0 answers
27 views

Disable SPC in spacemacs

In edebug, if I press SPC it should jump to the next stop point. But in spacemacs, if I press SPC, a tips window will appear. So how to disable SPC so that I can use edebug space command?
Tokubara's user avatar
  • 197
1 vote
2 answers
1k views

How to Install Emacs latest stable release?

I'm trying to install spacemacs on my laptop with elementary os. With apt the latest version I get is 26.3 and I don't understand why because it seems to be far away from the most recent stable ...
JosephMcDonnell's user avatar
1 vote
1 answer
124 views

"Package is Unavailable" Warning When Starting Spacemacs

I am getting the following warnings every time I start Spacemacs: Found 2 new package(s) to install... --> refreshing package archive: nongnu... [3/3] --> installing package: ef-spring-theme@...
Tom Purl's user avatar
  • 377
0 votes
1 answer
27 views

comments are not highlighted with numbers in derived mode of prog-mode

It seems if the major mode is derived from prog-mode, a comment line will not be highlighted as a comment if it contains any numbers surrounded by blank spaces. The content of tt-mode.el (setq tt--...
Zheng Qu's user avatar
  • 123
1 vote
0 answers
93 views

.bashrc environment variables not picked up by Spacemacs?

I've added a few environment variables to my .bashrc file, some of these are paths to customized bin/programs, such as: export MY_ENV_PATH_VAR=/home/user/path/to/bin I've refreshed spacemacs' ....
stigma's user avatar
  • 113
0 votes
1 answer
274 views

Unable to import project with lsp/lsp-mode, persistent completing-read popup message

I recently had to redo my development setup, I'm using Clojure and clojure-lsp as lsp server, and every time I open a project file I get the message `"x" file is not part of any project"...
stigma's user avatar
  • 113
0 votes
1 answer
58 views

How to run code after custom-set-variables?

I like to set my color theme programmatically, on the basis of my current system color scheme, like so: (if (string-equal (gsettings-get "org.gnome.desktop.interface" "color-scheme"...
wohanley's user avatar
  • 143
5 votes
0 answers
110 views

Python development using Docker interpreter

I would like to use Spacemacs for Python development. I've used Emacs for years and still use it for org-mode and other note taking. At work we develop using Docker based interpreters. This means that ...
Anake's user avatar
  • 151
0 votes
0 answers
22 views

How to delete a function on which a cursor is in Spacemacs?

Let's say I have this: (defn -main [& args] (my-func|tion 5) (my-function-2 "hello") (third-function-of-mine nil)) where | is my cursor. And I want to delete (my-function 5). So in ...
fegax's user avatar
  • 35
1 vote
1 answer
198 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 ...
jjk's user avatar
  • 721
0 votes
1 answer
83 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. ...
stigma's user avatar
  • 113

1
2 3 4 5
17