Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
8 views

Trouble connecting GNU emacs to work machine through SSH & TRAMP

I am a new emacs user. Previously, for work, I would ssh into my work machine by activating my VPN and then running ssh work (work is an ssh nickname defined in .ssh/config) in my terminal. This would ...
0
votes
1answer
14 views

Makefile layer in spacemacs

I've searched all over internet, but couldn't find how can I invoke make from spacemacs with a keybinding (not in shell window). All I found was this: @agriffis on gitter said the following Aron ...
0
votes
0answers
12 views

How to get java.exe (Windows programs) accessible inside spacemacs (emacs) started from a (Git) bash shell in Windows 10?

I'm starting spacemacs from a git-bash in Windows 10. Compared with starting spacemacs from Windows command shell, I find it fewer problem of configuration. However, with the spacemacs started from ...
0
votes
0answers
7 views

Reconnect to the restarted daemon

I have started emacs (v26.1) server: $ emacs --daemon I connected using $ emacsclient -t From within emacs, well spacemacs, I restarted the daemon SPC q r, which executed dotspacemacs/resume-...
0
votes
0answers
24 views

`undo-tree-mode` only goes back a small number of steps when using Ensime, then “no further undo information”

When using undo-tree-undo in Spacemacs v 300 in ensime-mode, I will run into "No further undo information" after a small number of steps --- just around five or so. I have the following variables ...
0
votes
0answers
11 views

Spacemacs keeps installing and uninstalling auctex-latexmk

Running spacemacs 0.200.13. Everytime I start spacemacs, it either installs auctex-latexmk or deletes it saying that it is an orphan package. Here is some more information: I have latex layer ...
1
vote
0answers
31 views

Why spacemacs would like to control this computer using accessibility feature on OSX?

When I start up spacemacs it prompts for the privileged to be granted? Why spacemacs needs to request this?
0
votes
0answers
19 views

How to add marker based folding to origami without affecting the default behavior

I am looking to activate vim style marker folding using origami without losing the default functionality. I know I can activate the marker options like so: (add-hook 'prog-mode-hook (lambda ...
0
votes
1answer
38 views

Spacemacs: How can I customize the highlight style of a matching parenthesis?

How do I change, in my .spacemacs, the style used to highlight the matching parenthesis?
1
vote
1answer
14 views

Which variable modifies the switch statement indentation on php-mode?

I am currently using php-mode with spacemacs to write in php and recently I noticed this auto-indent behavior, namely pressing TAB. switch ($cond) { case "something": break; } Auto indenting ...
0
votes
0answers
30 views

Call an interactive function without asking for user input [duplicate]

I would like to call an interactive function that requires user input (projectile-test-project, for instance) by using a predefined argument and therefore executes without asking the user anything. I ...
0
votes
1answer
28 views

How do I get spacemacs working on machine without internet?

My idea was to set up spacemacs on a machine that has internet, then push the .spacemacs file and the .emacs.d/ directory to the machine without internet. However, when I did this and start emacs on ...
0
votes
1answer
61 views

How can I get files and links to open correctly in emacs?

This used to work, but since a recent update, it hasn't. I'm using spacemacs, with this configuration. Links and files don't open as usual. If I open ansi-term, and type xdg-open test.txt, then I see: ...
0
votes
1answer
34 views

How to use `backspace` to navigate to the parent folder in Spacemacs?

When I use C-f to find a file in Spacemacs, how can I use <backspace> to navigate to the parent folder?
0
votes
2answers
42 views

How to run a command in Emacs (rvm-use) against all current and future buffers?

I am very new to Emacs. In my case what I'm actually using is Spacemacs. I have few versions of Ruby installed in my system and I use RVM for switching between them. I'm trying to change current ...
0
votes
0answers
29 views

tramp gcloud compute ssh not working

I wanted to be able to ssh into my google cloud instances with spacemacs. I found: https://github.com/dustinfreeman/dustinfreeman.emacs.d/blob/master/init.el#L50 which is based off of: https://...
1
vote
1answer
47 views

Keybindings not working?

I'm using spacemacs and I've added the following user config: (defun dotspacemacs/user-config () "Configuration function for user code. This function is called at the very end of Spacemacs ...
0
votes
0answers
48 views

Spacemacs user-config error

I'm using Spacemacs to develop a laravel + Vue application and I followed the steps in this configuration example to highlight syntax in Vue, but now every time Spacemacs starts it gives me this error:...
0
votes
0answers
53 views

Spacemacs error when loading `.spacemacs` which uses package `flycheck`

I added the following at the end of my ~/.spacemacs file: (use-package flycheck :defer t :init (global-flycheck-mode)) When I do this, I get Spacemacs encountered an error while loading your '/...
2
votes
1answer
54 views

Convert an org table into a tree

I have an org table and I will like to convert in into a tree. So, from: | 1 | 2 | 3 | |---+---+---| | a | b | c | | l | m | n | I will like to go to: * a :PROPERTIES: :2: b :3: ...
2
votes
1answer
58 views

When using `lisp-state`, how can we repeat an action like slurp, and bind a key to easily perform the repeat?

In vim, I frequently used the "." shortcut for repeating the last command. I found this extremely useful especially when working with clojure tools to do things like slurp-ing and barf-ing to refactor ...
0
votes
0answers
15 views

How can I use bandit with flycheck in Spacemacs?

How can I integrate bandit with flycheck in Spacemacs? I know there is flycheck-pycheckers. But I would prefer to have a separate integration for bandit only.
0
votes
1answer
35 views

Cannot run entr from eshell

I'm running Spacemacs and have eshell enabled. I want to run the elixir tests every time I change any files in the directory. This is the command I'm running ls * | entr elixir bob_test.exs This ...
0
votes
0answers
54 views

How do I sync org-mode with Google Calendar?

When setting up org-gcal within spacemacs I am getting an error. I have setup my google api and have put my client id and secret key into spacemacs but when attempting to sync the calender I merely ...
0
votes
1answer
18 views

How can I startup Spacemacs with term shell opened?

I'd like to have a term shell opened after startup of Spacemacs. How do I have to configure .spacemacs?
0
votes
1answer
29 views

How can I startup Spacemacs with several windows?

I'd like to have two windows opened (vertical split) after startup of Spacemacs. How do I have to configure .spacemacs?
0
votes
0answers
53 views

Spacemacs — themes won't load after adding to config layers

I'm probably not understanding something basic... Following the docs, I've added themes-megapack to dotspacemacs-configuration-layers '(...), but typing space f-e-R I'm told that themes-megapack has ...
0
votes
1answer
37 views

python-shell-completion-complete-or-indent no mathes in ipython

import pandas as pd pd. # press tab, there are completions df = pd.DataFrame() df. # press tab, No Matches Same configuration worked on my local mac but not on linux server. If I use python ...
0
votes
1answer
23 views

Anaconda Mode only complete module variables, get No Matches for assigned variables on linux server accessed via ssh

Description Anaconda Mode only complete module variables, get No Matches for assigned variables on linux server accessed via ssh Reproduction guide Observed behaviour: - Start Emacs execute import ...
0
votes
1answer
170 views

List of themes available in Spacemacs

helm-themes loads the themes present in custom-load-themes which are coming from custom-theme-load-path (as per C-h f helps) After installing themes mega-pack, the list is the following : Available ...
0
votes
1answer
18 views

I restored my MacOS machine from a backup. How to fix errors while trying to read/write non existing files in the /var/folders/ directory?

I restored my machine from a backup where I hadn't backed up system directories. Now my restored emacs (spacemacs) insist on trying to read and write from this directory and I keep on getting errors ...
0
votes
1answer
32 views

How to change the font color of popup in haskell layer

I am not good at emacs because using spacemacs only for haskell coding. I want to change the font color of popup from white to black. White text on yellow popup is too hard to read. It's solarized ...
0
votes
0answers
19 views

Apply vim macro to files in helm-ag result?

I am using spacemacs (using evil mode) and want to apply a vim macro (keyboard defined or otherwise) to the files resulting from a search in helm-ag. I'm thinking the easiest way would be to apply a ...
1
vote
2answers
360 views

How can I use multiple cursors in evil/spacemacs

There are multiple multiple-cursors implementations for emacs. I have the impression that extra work has been required to make them work well in evil and spacemacs in particular. I imagine the ...
1
vote
1answer
51 views

Accidentally disabling evil mode in spacemacs

While use spacemacs in evil mode, I sometimes accidentally disable evil mode and I do not understand how I am doing it. And once disabled, I do not know how to reenable the mode without restarting ...
0
votes
1answer
53 views

defun removes function in spacemacs config

I re-defined the function org-archive-subtree to call another function as described in the function below. I did this in spacemacs/user-config, now I can't call org-archive-subtree and C-h v (describe ...
1
vote
1answer
82 views

How do I enable hlint for haskell linting?

I am trying to select hlint and use it as the default for haskell-mode. I recall accidentally finding the option for this once, but haven't been able to find it again. I am new to Emacs and do not ...
0
votes
1answer
33 views

How to temporarily start emacs without loading spacemacs?

Emacs with spacemacs takes a long time to load and for some things such as git commit messages I would like to start basic emacs without loading spacemacs. I don't want to wait for spacemacs to start ...
0
votes
0answers
27 views

Prevent spacemacs from splitting lines of C++ code

I installed the c-c++ layers in Spacemacs. When I invoke indent-region, Spacemacs splits lines that are longer than 80 characters. How can I prevent this behavior? auto-fill-mode is not enabled and ...
1
vote
0answers
55 views

Multi-term issue with line wrapping for shell but not applications

I use multi-term within spacemacs for most of my command-line operations. It works well except some annoying behavior in the shell prompt (zsh but similar for bash) on commands which go over the ...
1
vote
1answer
44 views

Spacemacs redefine main prefix `M-m`

I am trying Spacemacs with emacs keybindings, so the commands starting with SPC, like SPC f e d, can be invoked by replacing SPC with M-m. Since M-m is bound to back-to-indentation in stock emacs, I ...
0
votes
1answer
58 views

Cannot open remote file

I am trying to open a remote file in spacemacs in evil mode on windows using SPC f f. This pops up helm and entering /ssh:myuser@myhost/folder/file.txt produces Wrong type argument: stringp, nil In ...
1
vote
1answer
231 views

How do I live preview markdown, rendering math, checkboxes, etc.?

I’m using Spacemacs with markdown-mode and I’ve configured it according to Jason Blevins’ guide. Other things I’ve tried Pandoc works pretty well except when I set the —lua-filter=task-list.lua flag ...
1
vote
0answers
145 views

Flycheck cannot use this syntax checker for this buffer

I use spacemacs and while in Python mode, flycheck can not use flake8 checker even when I try to manually enable it using flycheck-disable-checker. I get the following output from flycheck-verify-...
1
vote
2answers
34 views

Go to a bookmark that is not visible currently due to narrowing

Running emacs 25.2.2 spacemacs 0.200.13. In an org file, I have defined several bookmarks(SPC f b) under different headings. Consider this: * H1 Some text Bookmark 1 * H2 Some text Bookmark ...
0
votes
1answer
51 views

Rectangular blocks appear when I start emacs

So this is happening from past few days. When I start Emacs it is displaying rectangular block for each character. and when I start Emacs inside the terminal with the -nw option it starts renders ...
0
votes
1answer
18 views

How do I use keys bound to a command with universal argument in Spacemacs?

In spacemacs, a lot of commands have bound keys such as leader x a. For those commands that accept universal argument, how can I pass them to these command with key bindings? leader space leader x a ...
1
vote
2answers
164 views

How do I open a file in spacemacs?

Say I have spacemacs open and now I want to launch some sort of file browser to open a file. How do I do it? I have found SPC f f which sort of works but the navigation is quite cumbersome. There is ...
3
votes
1answer
39 views

How should I disable variable font sizes globally

I'm aware of several answers regarding font sizes for org or auctex. However, is there a way to require all faces have the default font size for all modes? I'm new to emacs and currently using ...
0
votes
1answer
17 views

Opening my windows 10 project with spacemacs via samba/mount will attach wrong encoding to all files

I have a project on my windows machine. I mounted that via samba. Then I access the project with spacemacs. When I run magit now all project fiels have been modified. The actual change is that every ...