Skip to main content

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
0 votes
0 answers
13 views

How to bind common Info-mode navigation to single keys in spacemacs?

I wish that more keys were bound in Info mode in spacemacs. For example: Info-next doesn't seem to be bound (n instead is evil-ex-search-next, which I never use) Following a reference requires two ...
Croad Langshan's user avatar
0 votes
0 answers
12 views

Php Mode keep show this error. #16330

Hello i am on spacemacs and facing a error keep pop up and i have no idea why, may someone help me look into it ? ac-php: Unable to resolve project root Company: An error occurred in auto-begin ...
chris's user avatar
  • 1
0 votes
1 answer
68 views

How to use Sioyek as the default pdf viewer in spacemacs

I want to be able to link to pdf files in spacemacs and open them with Sioyek. This post: https://github.com/ahrm/sioyek/discussions/347 seems to almost solve my issue but I have no idea where to put ...
Safri's user avatar
  • 1
0 votes
1 answer
70 views

evil-delete-line deletes hidden children in org-mode

Calling evil-delete-line from a headline is deleting hidden children. Same behavior with evil-change-line. On a collapsed outline tree how can I delete from the cursor to the end of line while keeping ...
cochrane12's user avatar
1 vote
1 answer
25 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
  • 744
0 votes
1 answer
119 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
  • 103
0 votes
0 answers
39 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
  • 744
0 votes
1 answer
33 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
17 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
72 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
  • 744
0 votes
0 answers
18 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
  • 499
0 votes
2 answers
94 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.
fuch your face's user avatar
0 votes
1 answer
986 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
35 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
43 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
  • 499
0 votes
0 answers
40 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
20 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
110 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
1 answer
74 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
  • 123
0 votes
0 answers
42 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
  • 133
1 vote
2 answers
65 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
105 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
51 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
  • 209
0 votes
1 answer
82 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
1 answer
215 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
59 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
131 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
58 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
1 answer
25 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
1 vote
1 answer
87 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
  • 209
1 vote
1 answer
150 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
  • 111
0 votes
1 answer
136 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
  • 123
0 votes
1 answer
62 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
1 vote
1 answer
266 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
  • 237
0 votes
1 answer
78 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
321 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,159
0 votes
1 answer
866 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
  • 237
0 votes
0 answers
32 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
  • 209
1 vote
2 answers
2k 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
175 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
29 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
134 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
323 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
71 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
  • 153
5 votes
0 answers
126 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
26 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
  • 45
1 vote
1 answer
252 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
  • 744
0 votes
1 answer
108 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 vote
1 answer
662 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. ...
Lockszmith's user avatar
0 votes
2 answers
415 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 ...
Lockszmith's user avatar

1
2 3 4 5
17