Stack Exchange Network

Stack Exchange network consists of 174 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
1answer
17 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
0answers
17 views

Spacemacs is running the wrong python version when using multiple anaconda environments with pyvenv

I currently have 2 Anaconda environments, one with Python2 installed the other Python3. I know that the correct versions are installed, because running python --version in the terminal within each ...
0
votes
0answers
6 views

Is it possible to make Spacemacs resume-last-search-buffer switch the buffer in the current window rather than opening a new window?

I'm trying to do some refactoring in Spacemacs, and I'm using helm-ag to search for things that need to changed. This gives me a helm buffer that goes away as soon as I hit enter on an item. I can ...
0
votes
1answer
13 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
0answers
10 views

abbrev mode is not load when new abbrevs is added on SpaceEmacs

I'm running SpaceEmacs GUI mode, Ver 26.1 under MacOS I have some abbrevs in my file: abbrev_defs under ~/.emacs.d/ full file path: ~/.emacs.d/abbrev_defs The abbrev-mode is working when I enter ...
0
votes
0answers
16 views

setq-default spell-checking-enable-by-default nil not taken in account

As suggested in the spell-checking layer domentation, I added the following code: (setq-default dotspacemacs-configuration-layers ...
0
votes
1answer
22 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
11 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
0answers
10 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
26 views

Spacemacs does not use customizations

I performed the following steps: Set sentence-end-double-space to t through the regular Emacs customization UI (M-x customize), and applied the changes. The customization takes effect in the current ...
0
votes
0answers
12 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 ...
0
votes
2answers
83 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 ...
0
votes
0answers
28 views

Is there an equivalent to :behave mswin in spacemacs?

I'm used to paste with C-v in insert mode. Is there something premade for Windows people, or do I need to rebind it?
0
votes
0answers
45 views

Projectile and nested projects (submodules)

I have a git repo, with several submodules that I am trying to use as one single project trough Projectile. When in MainProject, and SPC p f it returns the files in SubProject with full system paths, ...
0
votes
0answers
41 views

Auto-sort a block of text on save in Spacemacs

When I have a large discriminated union in my code, or a large pattern match, or a large block of constants, I like to have some consistent easy way of organizing them, and so I like to :sort them. ...
1
vote
1answer
36 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
22 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
37 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
25 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
14 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
33 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 ...
0
votes
1answer
32 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
43 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
82 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 ...
0
votes
0answers
64 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
30 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
38 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
14 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 ...
0
votes
0answers
47 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
30 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
0answers
25 views

Org-mode hide note by default within a fold

In Emacs org-mode, if I take a note by C-c C-z for a node then press TAB to cycle the tree's visibility, the note's content will always show up. Instead, I would prefer if the note only shows up as a ...
0
votes
1answer
16 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 ...
2
votes
1answer
67 views

How can I make terms searched with `*` or `#` populate the search history?

In my attempt to have * and # work in Spacemacs as they do in Vim, I've followed the solution posted at this question. Those keys now work, but there's one hurdle more to overcome: the searched term ...
0
votes
1answer
53 views

How do I hit the equivalent of `C-u` (of normal emacs) in Spacemacs?

According to the "Evilified modes" documentation [1], C-u gets moved to C-U, but when I try to hit that (Ctrl+Shift+u), my cursor still gets moved one page up, instead of starting a new long command. ...
0
votes
0answers
57 views

How to make Lisp state a default instead of normal?

I'm learning Clojure and Emacs at the same time 🤕 I use Spacemacs with Evil. Recently I've learned about Lisp state and I find it very handy. The only problem is that whenever I switch to insert ...
1
vote
0answers
11 views

Logbook clock entries as active/inactive time stamps in icalendar export

Is there a way to automatically have active/inactive timestamps updated in the body of the org node? My final goal is to have the clock entries included as events in icalendar export. Alternatively ...
0
votes
1answer
54 views

How to use org-export to export from a file in emacs

I hava an input file name like /path/to/orgfiles/file.org I have an output file name like /path/to/mdfiles/file.md This two path have been set into two variables: inputfile = "/path/to/orgfiles/...
1
vote
1answer
113 views

CSS classes autocomplete not working with web-mode

I'm struggling with a problem with Spacemacs and I don't know what I'm doing wrong (maybe a lot of things). I have created a TAG file for my project. The tags seem to work well because I can navigate ...
0
votes
1answer
69 views

Emacs Latex/Auctex: Error message about using `Tex-command-list` command to set `Make` as a compile option

I have a setting in my Spacemacs dotfile that adds Make as a compile option for a latex document. The actual command is below. (add-to-list 'TeX-command-list '("Make" "make" TeX-run-...
0
votes
0answers
8 views

Is it possible to make layouts-ts buffers not to overlap?

I usually use many layouts-ts in my emacs client. In first layout (say, default one, 0) there are buffers that actually belong to (were opened in) another layouts-ts. Is it possible to make buffers ...
1
vote
1answer
129 views

PHP function descriptions not loaded. Try M-x php-extras-generate-eldoc

I keep getting this annoying error that pops up in a dialog every few seconds. I've tried running php-extras-generate-eldoc but that seems to point to http://doc.php.net/ which does not seem to be ...
1
vote
1answer
45 views

Quake Terminal Like Access for Emacs Client Session [duplicate]

I am trying to get used to Emacs. I have a problem with the startup time of the Emacs and I give up Emacs easily when the startup times for "vim", "subl" (sublime text), and "code" (vs code) are much ...
0
votes
0answers
51 views

Install Spacemacs in offline mode on MS windows

I need to install Spacemacs on the company's PC, which has no internet. So I can download an ELPA mirror (archive or library) from here. I followed this URL I changed the https:\\ : then I ran ...
0
votes
1answer
71 views

Spacemacs: change prefix key from `SPC-b` to `SPC-v`

I use buffer (SPC-b) prefix key very often, and would like to move its keymap to a more convenient key (e.g. SPC-v). Is there a way to achieve this without redefining the entire map? so I would like ...
0
votes
2answers
97 views

How to unhighlight after searching in evil mode?

I have a text file opened in Spacemacs with evil mode on. When I search for a term by means of /term [Enter] then found "term"s are highlighed. How do I remove that highlighting? I tried / [Enter] - ...
1
vote
1answer
98 views

Set intero as default in spacemacs

How do I set intero-mode as default for my Haskell buffers instead of haskell-mode?
1
vote
1answer
94 views

Ignore .folder inside projectile project

In spacemacs, I want SPC p f to ignore one directory in the files it suggests. I followed the Projectile docs for ignoring files. I added a line to both my ~/.emacs.d/.projectile file and the ....
-1
votes
1answer
127 views

Where is emacs powershell getting this PATH variable from?

When I execute the command $env:path to get the path variable in the powershell mode in spacemacs I get the following: C:\Program Files (x86)\Common Files\Oracle\Java\javapath; C:\Windows\system32; C:...
0
votes
1answer
38 views

C-x and M-x remapped to SPC and SPC-SPC

What would be the best way to configure Emacs to handle the above keybindings for vanilla Emacs? Specifically, I'd like to have SPC work as C-x and SPC SPC work as M-x. I love Spacemacs for the ...
1
vote
0answers
51 views

Org Mode Python block evaluation cannot print result in the shell session

I have a python source block in org mode as below #+BEGIN_SRC python :session print('hello world') #+END_SRC and I have a Python shell already run, so when i press C-c C-c, the code gets ...