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

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
29 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
9 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
28 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 ...
2
votes
1answer
22 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
16 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
0answers
30 views

Setting up a new Mac OS for emacs for front-end development [on hold]

so I'm trying emacs (spacemacs) on MacOs Sierra now, and I'm trying to set everything up my development environment, but I was wondering which layers (packages) people normally use for Front End ...
0
votes
1answer
13 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 ...
0
votes
0answers
20 views

In Spacemacs helm file find, is it possible to set a default initial file path?

In Spacemacs 0.200, When one hits SPC f f without having any previous file open, is it possible to start at a custom default file path? If yes, how could I change the Spacemacs configuration file to ...
0
votes
0answers
39 views

Error finding pubring.kbx

I recently started getting this error on starting Emacs. It's trying to install some packages from and can't verify the signatures. It seems that emacs is looking in a bogus path to find the pubring....
2
votes
1answer
55 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
34 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
31 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
10 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
38 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
68 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
33 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
6 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
82 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
36 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
26 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
46 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
0answers
21 views

Emacs freezes when opening inferior Python in TRAMP

I am using Spacemacs. If I try to open a Python REPL when editing a remote file (/ssh:hostname:/path/to/file/), Emacs freezes and I have to force-close the application. Does anyone have advice on ...
0
votes
2answers
51 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] - ...
0
votes
1answer
54 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
39 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 ....
0
votes
1answer
83 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
32 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
26 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 ...
0
votes
0answers
35 views

Unable to use python provided via pyvenv

Trying to configure pyvenv in Spacemacs to load the virtualenvs created in Conda without any luck so far. Current set-up: pyvenv package loaded in Spacemacs. The following in my .spacemacs file: (...
2
votes
1answer
60 views

proper file for spacemacs configuration: init.el vs. .spacemacs

I'm setting some personal preferences to my spacemacs. Some of them are in init.el file, some other in .spacemacs file. If I recall correctly that's because some of the settings did not work other ...
0
votes
0answers
53 views

Scroll bar in spacemacs?

How can I get a scroll bar in spacemacs? Simply doing this doesn't seem to have any effect for me: (scroll-bar-mode t) In the past, I think I recall enabling it and it having some kind of odd ...
1
vote
0answers
24 views

How to avoid entering visual mode when clicking a link while using evil?

Emacs newbie here using spacemacs. How to avoid entering visual mode when clicking a link while using evil? This is particularly problematic in org-mode.
0
votes
1answer
30 views

how to add a default-on option of magit log

Since the 'log --graph' is slow in the repo with long history, I wanna add '--since' option for it. I tried to add the following lines in my '.spacemacs' file. (magit-define-popup-option 'magit-log-...
3
votes
2answers
44 views

How to replace an object with selection?

In Evil mode, is it possible to prevent change and deletion commands from putting the replaced object into the selection (system clipboard)? I would like yanking to still do so. I'd like to be able ...
0
votes
0answers
29 views

Disable auto-completion for org-mode in spacemacs

I want to disable auto-completion layer in org-mode buffers. To do so, I added into my dotspacemacs/user-config this line: (add-hook 'org-mode-hook #'spacemacs/toggle-auto-completion-off) But it ...
0
votes
0answers
76 views

Indentation Error when running Ipython shell (emacs/spacemacs, Windows)

I am a relatively new to emacs/spacemacs and my knowledge is quite basic, I have spacemacs set up with the python layer and have the indentation settings as follows: python-indent-offset is set to 4 ...
3
votes
1answer
101 views

spacemacs key bindings in plain vanilla evil emacs

As the title suggests, I would like to use spacemacs like keybindings in plain vanilla evil emacs. The spacemacs key bindings are very intuitive. But the package is too heavy for my low-end laptop. ...
1
vote
1answer
74 views

Make soft word wrap not cut words in the middle of the line?

Currently, in text files, Emacs is wrapping text (soft wrap), but if a word is at the end of the line, then it puts half of the word at the end of the line and the second half at the beginning of the ...
2
votes
2answers
116 views

How can I open magit-status in a new frame?

How can I open magit-status in a new frame? I've tried to write a custom function for this but it has some issues as described below. (spacemacs/set-leader-keys "gs" (lambda () (interactive) ...
2
votes
1answer
42 views

Making custom shell command function have popup buffer showing std-out

I'm customizing spacemacs for my workflow. I'm new to elisp and can't figure out how to do this after looking at other functions in .el files and other posts. Basically, I wrote an elisp function ...
1
vote
0answers
48 views

Slowness opening and moving around within large files

I'm running spacemacs 0.200.13 on emacs 25.3.1 from a macOS 10.12 machine. In some scenarios, things feel very sluggish. They get worse as a dozen buffers or so are opened during the day. From the ...
0
votes
2answers
17 views

Can't close Robe console split in spacemacs

I run SPC m s i to start Robe (Ruby code inspection tool) in spacemacs, and it opens a split with a REPL. When I'm done issuing commands I can't close the split. SPC is not usable because the REPL ...
0
votes
1answer
34 views

How to get vanilla find-file in Spacemacs

Even when i M-x find-file I get the Helm stuff. I usally also want that, it's just with some Tramp stuff I think there are Problems. How to get the plain old find-files from vanilla emacs in ...
0
votes
0answers
72 views

What features differentiate Spacemacs from other editors and IDEs in terms that someone unfamiliar with both Vim and Emacs can understand?

I am in the position of onboarding junior developers to Spacemacs but I am unable to find a detailed, canonical description of Spacemacs that is geared toward beginners. Specifically, I don't find ...
2
votes
1answer
37 views

Emacs doesn't seem to recognize .emacs.d on the latest Windows Insider Preview

I was able to use Emacs normally on Windows until the latest update to Build 17711.rs_prerelease.180703-1539. Now, whenever I start Emacs, it just shows the default welcome page, even though .emacs.d ...
0
votes
0answers
43 views

How to load an Idris file that depends on a package?

Working in Spacemacs (on Linux Mint, if that is relevant), using the Idris layer, one of my major mode commands is SPC m-r (Vim-style keybindings): idris-load-file. This causes Spacemacs to load up an ...
3
votes
1answer
119 views

Is there a way to use spacemacs with emacs 24.3 version?

I am working in a cluster environment, where the default emacs version is 24.3. Unfortunately spacemacs support only from >24.4. Administrators refuse to update the version. They asked me install my ...
2
votes
1answer
51 views

Halting Clojure debugger after pressing the Continue Command

I use Emacs with Cider to debug Clojure Code. After setting a breakpoint using the default debugging framework, there appears the list of debugging options one might execute shown in this Figure I ...
1
vote
1answer
34 views

Reopen closed window in Spacemacs

How can I reopen a closed window in Spacemacs? Something like Cmd-Shift-t in Chrome. I open a window using SPC w s and delete it with SPC w d, but I don't know how to reopen one that I've closed.
1
vote
1answer
45 views

Call emacs function from terminal and obtain the same behaviour

I have this simple function that opens an external shell (st) in the same directory of the current buffer: (defun external-shell-in-dir () (interactive) (start-process "st" nil "st")) However, ...