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.
728
questions
0
votes
2answers
19 views
Prevent `(keyboard-quit)` from closing `*compile*` windows
After a recent update to my Spacemacs install, I noticed that C-g i.e. keyboard-quit closes *compilation* buffers that result from an M-x recompile. How can I prevent this behavior? I don't want C-g ...
0
votes
0answers
21 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 ...
1
vote
1answer
23 views
Restore emacs' default undo/redo behavior in spacemacs
I've recently moved to spacemacs and it seems that they've adopted a different undo package (undo-tree) which I don't like since it does not push the undo actions back onto the history stack. I would ...
0
votes
0answers
24 views
How can i activate emacs-binding in doom emacs?
I am using doom emacs. But I want traditional emacs key binding. I've heard several people that emacs key binding becomes way of life and if somebody takes my key binding away, I cant express myself.
...
0
votes
0answers
12 views
spacemacs/helm-persp-switch-project behavior
I am using emacs, previously I updated my spacemacs and behavior of spacemacs/helm-persp-switch-project command has been changed.
Old Flow
Start(execute spacemacs/helm-persp-switch-project)
If ...
0
votes
0answers
25 views
SPC i s not working
As if there was any need to make it clear, I am quite a noob when it comes to spacemacs. I am running into the following issue: I am trying to follow some tutorials online. In various of them, SPC i s ...
0
votes
0answers
27 views
Unexpected local shell in TRAMP mode
I have a clear installation of spacemacs with layer shell on.
I open remote dir SPC f f ssh:<host>:<path>
I open shell SPC '
Shell is local (I expect it to be opened on the remote host)
1
vote
0answers
47 views
How to Place Multiple Columns Under A Single Column in Org-mode?
I am trying to reproduce the table in the image below in Org-mode. How do I go about doing it? Whenever I try to have multiple columns (the 'Trial' ones) under a single column (Time), Org-mode inserts ...
0
votes
0answers
20 views
Neovim - Emacs Conflict Due to the 'Home' Environmental Variable
For Spacemacs and everything else to work, I am required to have the following environmental Variable on Windows 10: HOME = C:\Emacs
Though, when I have this variable, Neovim loses its plugin ...
0
votes
1answer
23 views
Running slime in spacemacs
I just installed a fresh spacemacs, and I'm trying to get SLIME working, but for some reason the package won't remain installed.
After opening a new spacemacs
M-x package-install RET slime
This works ...
0
votes
1answer
29 views
Can't run org-refile function in Spacemacs
I am using GNU Emacs 27.1 with Spacemacs 0.300. I am new to Emacs and Org-mode. I want to use the function org-refile with the shortcut C-c C-w. However, this is what I get:
Why can't I use that ...
0
votes
0answers
30 views
Enable LSP in spacemacs only for certain languages?
The spacemacs LSP layer documentation says:
Enabling this layer will set the used backend for all supported languages to LSP unless you explicitly set a specific backend for the language.
I find ...
0
votes
0answers
19 views
Symbol Highlight Transient State select all words
I am using Spacemacs. I want to move between variables easily and while using #spacemacs/enter-ahs-backward function. I want to select the even word near of some special characters like $!:<>
...
0
votes
0answers
39 views
Disable package refreshing when starting emacs
I have bad internet connection. Starting spacemacs takes a long time because of the "refreshing package archive melpa or gnu or others...". or "installing package: ...".
When i ...
0
votes
1answer
29 views
What part of emacs displays parent folders at the top and how can I fix their symbols
I updated spacemacs and all layers/ packages today.
Since then, when in c++-mode at the top of my buffers the current file and its parent folders are displayed, as shown in the image.
I'm fine with ...
2
votes
1answer
65 views
Error when first launching Spacemacs in macOS 11.0.1
I am trying to learn Emacs. I successfully installed it and went through the built-in tutorial. I thought that installing Spacemacs would be nice so I gave it a try.
I followed a tutorial and now I am ...
2
votes
0answers
71 views
Open PDF files with pdf-tools does not work
I want to use pdf-tools to read my pdf with emacs. I am on Emacs 27.1 with spacemacs 0.300.x.
I have pdf-tools as a package in my .spacemac file and also require
'(TeX-view-program-selection
'((...
0
votes
1answer
42 views
Cannot evaluate matplotlib in Python code block
These are my first attempts to plot graph in Python.
Following this example , I tried a very simple graph
import matplotlib.pyplot as plt
import matplotlib as mpl
import numpy as np
x = np.linspace(0,...
1
vote
1answer
58 views
ctrl-backspace behaves differently across emacs environments, though .init file is same
I recently needed to start using another mac for work and I wanted to duplicate my spacemacs settings onto my new computer. I simply copied all files located in .emacs onto my new computer, and it ...
0
votes
0answers
37 views
How to set leader-key-like chord sequence in Evil mode?
I am using Spacemacs with evil mode and this works:
(define-key evil-normal-state-map (kbd "m") 'set-input-method)
However, I would like to use something like this:
(define-key evil-normal-...
1
vote
0answers
63 views
Remember previous text searches history with positions after further text search
TL;DR: Is it possible to go back and forth between different helm-ag searches, and keep the last visited position in each of them?
Using Spacemacsā spacemacs/helm-project-smart-do-search (SPC / ...
0
votes
0answers
13 views
Spacemacs: Latex labels not showing in ref
Manually defined labels (without reftex) are not showing when I use helm-completion-at-point inside a \ref{} environment. How to make the labels show?
I am new to Emacs and Spacemacs.
0
votes
1answer
66 views
Magit git commit isn't working on spacemacs
After installing Magit in spacemacs. I used Helm to create a git repository. I added some files to stage then tried to commit. Let me know if I'm doing something wrong or it's just an issue.
I get:
...
0
votes
1answer
96 views
How to turn off python-mypy in spacemacs flycheck-mode?
I'm using the latest Spacemacs with the Python layer. I'd like to turn off python-mypy in flycheck-mode, but the following in my ~/.spacemacs doesn't work:
(defun dotspacemacs/user-config ()
(add-to-...
0
votes
1answer
48 views
Penguin character in file
I use Spacemacs. I tried to type a command, but I mistyped. Instead of what I intended, a character was inserted that renders as this:
I suppose that is Tux. When I try to copy the character, I get ...
0
votes
0answers
34 views
Error (use-package): Cannot load ruby-test-mode
Installed Spacemacs and opened a ruby file. It got this error:
Error (use-package): Cannot load ruby-test-mode
I have researched on this issue: https://github.com/syl20bnr/spacemacs/commit/...
0
votes
1answer
59 views
Issue while trying to use chemacs
I am currently trying to use chemacs on my computer, following the instructions given on github, but I do not seem to be able to make it work properly.
My goal would be to be able to use both Emacs 24....
0
votes
2answers
28 views
How to not let a shell to capture the space key in Spacemacs?
In spacemacs, the space key is used to trigger the command shortcut, and an extra space can lead to a input/search of emacs command.
Now I run into this situation:
I use SPC b n to switch to next ...
0
votes
0answers
27 views
Column view column widths vary by heading face
I am running a config of the develop branch of spacemacs on two different machines. Configs are similar but not the same. On one box org mode column view looks fine. I think this is because on ...
0
votes
1answer
50 views
Org-mode to Latex matrix automatically escapes ampersand
I am trying to write LaTex matrizes in org-mode. It works fine with exporting tables via #+attr_latex :mode math :environment matrix.
However, when I try
\begin{pmatrix}
1 & 2\\
3 & 4\\
\end{...
0
votes
1answer
155 views
spacemacs: How can I disable flymake and flycheck completely, to speed up performance
Iām using spacemacs. I just installed syntax-highlighting layer and auto-completion layer, and now my emacs got really really slow.
So slow that going back to PyCharm (IntelliJ) with R-plugin feels ...
1
vote
1answer
30 views
Replace selection in one movement
I'm getting started using spacemacs with vim bindings for editing and one thing I would like to do sometimes is replace some text with some other text. For example I might have
k x = (1 + 1) * x
and ...
0
votes
0answers
263 views
I broke Spacemacs
After editing my .spacemacs file, spacemacs is saying that there is an unmatched parenthesis and I need to go into startup recovery mode. After looking at the file, I have not found any problems. ...
4
votes
0answers
236 views
How can I see all errors in a Go project with LSP mode?
When opening a Go project with LSP mode, spacemacs / flycheck only shows errors in the current package, not including tests files. For example, in the following project:
|- pkg1
|- pkg2
|- cmd
When I'...
0
votes
0answers
14 views
how to get out of a (R) replās multi-line (multiple-line) / line-continuation mode
My question: In (an R-repl from ESS layer) in spacemacs, I canāt end a multiple-line after I start it
myDf %>% # here i hit RET
so then the REPL goes into multi line mode:
+ myDf %>%
myDf %&...
1
vote
2answers
57 views
org mode: help!! iāve collapsed my section and canāt get it back out
I am using spacemacs. This may seem like a joke, but it really is not (but it is kind of funny).
I was typing in org-mode just now, I may have hit some god-mode key, and the section I am typing in now ...
0
votes
1answer
24 views
disable table mode using either #+BEGIN_EXAMPLE or ā:ā literal line , but insert latex math block $ … $
Iām trying to typeset a grammar in org markup, but want to use latex symbols in the grammar:
a -> hello
| $\neg$ world
| universe
⢠Now, without using #+BEGIN_EXAMPLE or : literal-line ...
0
votes
0answers
30 views
Evil and adding a binding for evil-ex-define-cmd globally for tabbar mode
Iām using spacemacs:
ā¢Ā How can I (globally āie, permanently) bind a new command :tabe to open a new tab in the emacs built-in minor mode TabBar?
ā¢Ā Right now, :tabnew works. But I want to make :tabe ...
1
vote
1answer
32 views
How to add function call highlighting in ESS?
I currently have some syntax highlighting in my ESS code (e.g., for brackets, =, and strings). I would like to add highlighting of function calls, like RStudio's "Highlight R function calls" ...
0
votes
1answer
33 views
Spacemacs, Lisp, Pasting and the missing Space
When editing Lisp or Clojure in Spacemacs (Emacs with Evil) I find the pasting behavior anoying. Say I have yanked bar and want to paste it as a parameter to (foo) so I get (foo bar). The problem is, ...
0
votes
1answer
24 views
When a heading is DONE, I don't see the link
I am using:
Spacemacs: 0.200.13
Org: 9.4
I have set org-fontify-done-headline to nil (Original value was t), to no avail.
Desired result:
Link is displayed as it is in TODO_NEXT state.
0
votes
0answers
15 views
How to stop the need to dotspacemacs/sync-configuration-layers each time upon startup
I start my spacemacs using the command
emacs file.txt
However, the spacemacs doesn't load any layers at all upon startup (that are specified in dotspacemacs/layers). So I have to run the command M-x ...
0
votes
1answer
71 views
Recreate spacemacs' ivy/projectile 'SPC P SPC' binding for helm/projectile
I recently switched from ivy to helm in spacemacs as my project search/management package.
In ivy, there is a keybinding for SPC p SPC that does a search for files in the project (by file name). There ...
0
votes
0answers
28 views
How to set emmet mode in spacemacs startup?
I would like to set emmet-mode on startup for spacemacs. So far I've added this line in my user-configuration layer (setq emmet-mode 0) which does technically turn on emmet-mode each time spacemacs ...
0
votes
0answers
86 views
spacemacs osx layer
I'm trying spacemacs for the first time.
Since I'm on mac, I'd like to change command key as Meta, so I put the following code, and restarted emacs.
It's not working as expected.
When I do Command-x ...
0
votes
0answers
69 views
terminal mode (with -nw) vs gui mode
Now I read lots of good stuff about spacemacs and want to try it out.
I like the way iterm2 separates hosts/projects cleanly.
Can I use iterm2 + spacemacs (maybe in terminal mode?)
Or do I lose most ...
0
votes
1answer
60 views
Setting Spacemacs default conda environment
This question answers where spacemacs looks for conda environments and how to change them with major-mode pyvenv-workon.
There's one environment that I use for 90% of what I do. Can I set a default ...
0
votes
1answer
37 views
Company installation error
trying to setup go auto completion (using spacemacs), facing an issue while installing company
In end of data:
company-tng.el:198:1:Warning: the function āeglot--snippet-expansion-fnā is
not known to ...
0
votes
0answers
30 views
How can I remove clipboard from being the default register?
I'm using emacs with evil keybindings (specifically spacemacs).
The default behavior of the paste command p is to paste in the clipboard, and default behavior of the delete command d is to put the ...
0
votes
0answers
64 views
Org-agenda is building endlessly when org-id-link in header. How to fix?
A strange problem occurs when I add ord-id-links to my org-headers. My org-agenda is building endlessly.
As an example, when I try to build an org-agenda for a file with following content, it takes ...