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.

244 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
0answers
282 views

How can I use the #+OPTIONS: broken-links: option to ignore broken links, in a specific way?

I have a very large orgmode document that has internal links to many different parts of the document. If I try to export a subtree that has an internal link that points to a part of the document ...
5
votes
1answer
169 views

Syntax highlighting is breaking in long bibtex files (spacemacs bibtex layer)

So I have a long papers.bib bibtex file that I edit with emacs (spacemacs bibtex layer), but the syntax highlighting only ever goes about halfway down. Here it is at about line 790: Other times this ...
4
votes
0answers
717 views

Projectile not remembering remote projects

I'm using spacemacs and regularly use Tramp (via /sshx:) to open files, once I've opened a file in Tramp I can use projectile without any problems. However, projectile doesn't remember these projects ...
4
votes
0answers
163 views

Can Helm/mu4e learn which selection/contacts I use most often?

I'm using org-contacts as mu4e address book. When I start typing an address in, say, the To: field and press TAB, I get a Helm buffer with possible completions, ordered alphabetically. Is there any ...
4
votes
1answer
1k views

Why do packages remain in `package-selected-packages`

I'm using Spacemacs, and I'm adding things to my dotspacemacs-configuration-layers. I can see its adding tons of packages to package-selected-packages. If I comment out 1 or 2 layers (that I tested ...
3
votes
1answer
643 views

Why did the proced of Emacs not show the process on my win10 system?

My Emacs version is 26.1. The system is Microsoft Windows 10. When I run M-x proced, the buffer does not list the proced used on the current system. What is this situation?
3
votes
0answers
551 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-...
3
votes
0answers
1k views

Spacemacs C++ debugging?

What tools are you using for setting Breakpoints visualize Variables within Spacemacs? I had a look at gdb but it felt awkward to set the breakpoints separated from the source files. I would like to ...
3
votes
0answers
147 views

mu4e does not retrieve emails from remote email server

I currently have my mu4e setup and working properly, except for one thing. Using the "U" key in mu4e in emacs does not seem to retrieve the emails using mbsync. I am using spacemacs (in case that is ...
3
votes
0answers
543 views

Middle-click copy/paste link to Spacemacs in Helm Org Insert Link

I have just entered the Spacemacs ecosystem with no prior Emacs experience. I want to copy paste a link with my mouse from my X clipboard using middle-click in Spacemacs Org mode. I have selected the ...
3
votes
0answers
589 views

How do I make evil-search-forward / evil-search-backward use fuzzy search?

I'd like to search in buffer with the same fuzzy style that turns the search string into a regexp that splits characters and joins them with .*, like in Helm command search. Is there a way to do this ...
3
votes
0answers
646 views

My theme is behaving weird

I'm using GTK Spacemacs on Linux and I have a script that basically creates a new theme and updates it according to my global colorscheme (I'm using pywal to generate colorschemes from my wallpaper). ...
3
votes
0answers
521 views

Visual-line-mode not working in spacemacs

I've seen a lot of questions relating to visual-line-mode not working in specific modes, e.g., org mode, but I can't get it to work in spacemacs in text mode. The relevant part of my .spacmacs file: ...
3
votes
1answer
90 views

Change Spacemacs default font except minibuffer?

I'd like to experiment with coding in variable-width fonts, but setting the default font will also set the default font for the minibuffer, which breaks Spacemacs' helpful menu system as it uses ...
3
votes
0answers
167 views

csv-mode is very slow

Just about any buffer with csv-mode enabled gets very slow/unresponsive, regardless of how big the file is. It takes up to half a second to jump to the next line/character. Any idea why that is? I ...
3
votes
0answers
751 views

Using Windows bash as the shell

I'm trying get Spacemacs (i.e., Emacs) to use the Windows subsystem for Linux bash shell as the shell. I've added (setq explicit-shell-file-name "c:/Windows/System32/bash.exe") to my .spacemacs ...
3
votes
0answers
629 views

Smart Tab and newline-and-indent

I have the following customizations in my .spacemacs file (defun dotspacemacs/layers () dotspacemacs-additional-packages '(smart-tabs-mode)) (defun dotspacemacs/user-config () (setq-default ...
3
votes
0answers
2k views

emacs as python IDE vs pycharm: spacemacs and code navigation

[2016.12.23]: I'm trying to make emacs be usable for working with python code. By 'usable' I mean I could rely on it with code navigation and completion. I'm using spacemacs + anaconda-mode for it, ...
3
votes
0answers
187 views

preventing indenting to open paren when creating a new block in react-mode

I'm using spacemacs for react development. i like it mostly but I have one issue that is annoying. Currently emacs will try to align certain lines with the last opening paren, so something like this:...
3
votes
1answer
445 views

Use system-installed package with spacemacs that depends on MELPA packages

How can I include a package that is available locally on my system that depends on the string library s with spacemacs? I have an company internal package that adds functionality to magit available ...
3
votes
0answers
256 views

Spacemacs layer where package order matters

I'm trying to make a 'speedbar' layer that uses projectile-speedbar. The problem is projectile-speedbar won't compile unless sr-speedbar has already been compiled. Since spacemakes compiles the ...
3
votes
0answers
88 views

Emacs has many font file handles

I noticed that Emacs has many font files open on my system. At least 95 .ttf and .otf files total. Why would it need to keep this many files open? Here is a full list: https://gist.github.com/...
3
votes
0answers
449 views

Turning relative numbering on (with linum-relative) in Spacemacs only when in normal mode

In Vim I have relative numbering which is turned on most of the time but it's turned off when in insert mode or when the window losses focus (both when changing to another Vim window or when changing ...
2
votes
0answers
20 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'...
2
votes
0answers
32 views

How to open url inside lsp-ui-doc popup childframe in browser

I am using spacemacs go layer with lsp as backend with gopls. How to open the link in the childframe of lsp-ui-doc in browser?
2
votes
0answers
34 views

Find and display duplicated regions of (org-mode) text across multiple files

What I'm trying to do I'm trying to condense a set of research notes consisting of over 250,000 words across 50+ files. I've converted these from previous file formats (mostly mind maps and OPML ...
2
votes
0answers
137 views

How can someone set Emacs / Spacemacs to prefer OTF font over TTF font when both are available?

Recently the nixos fira-code package added both the otf and ttf fonts and Emacs/Spacemacs isn't quite happy with the ttf ones. How could I tell spacemacs to prefer OTF over TTF when both are ...
2
votes
1answer
487 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 ...
2
votes
1answer
93 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 ...
2
votes
0answers
233 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 ...
2
votes
0answers
1k views

Extremely slow startup on Windows - How to debug?

I have a serious problem with an extremely slow spacemacs startup (emacs-init-time = ~200s). (The server works, but this is so slow I cannot debug some other problems that I am trying to fix) My ...
2
votes
0answers
959 views

auto-save is unreliable

I almost never manually save files; I rely on auto-save. In the past few months I have noticed some of my edits mysteriously disappearing. The disappearances seem to be related to Linux crashes (...
2
votes
0answers
431 views

Distraction free writing mode and vertically centered?

One feature, that I really adored in Ulysses is it's typewriting scroll center lock mode (for the lack of a better description). It would keep the line centered, no matter if the cursor is at the ...
2
votes
0answers
798 views

In Spacemacs, how can I enable snippets without having an autocomplete popup/completion?

I'm using the auto-completion layer in Spacemacs with the following configuration: (auto-completion :variables auto-completion-return-key-behavior nil auto-...
2
votes
0answers
1k views

python “WORKON_HOME” not showing virtual environments in helm

I've check to see my WORKON_HOME env is set to where I want it at /home/user/anaconda3/envs but in helm the only option i get is .. if I select that option Emacs thinks my virtual environment is ...
2
votes
1answer
448 views

Start spacemacs with specific layout open

I have a custom layout, which I can open with SPC l o f. Is there a way to start Emacs with a flag that would automatically load it at startup? I tried this way: emacs --eval '(persp-switch "Asd")' ...
2
votes
1answer
327 views

saving clipboard takes forever on quit

When closing spacemacs, I get the message "Saving clipboard to x clipboard manager...". The saving process ends up taking so much time that I have to kill emacs from the terminal. How can I disable ...
2
votes
0answers
103 views

Automatic close evil-make buffer

I'm using evil mode (Spacemacs to be specific) and working with LaTeX projects. I use evil-make or :make command to compile the current LaTeX project to PDF file. I find it quite annoying that ...
2
votes
1answer
1k views

Reloading .Xresources colors on the fly

I use pywal on Linux which is really cool and works on everything I use except for Firefox (gotta tinker with it) and (GTK) Emacs. For Emacs the author recommends this which is awesome but requires me ...
2
votes
0answers
283 views

using theming to adjust theme in spacemacs

I'm trying to use theming to make adjustments to an existing theme. Under dotspacemacs/user-init I have the following section: (setq-default theming-modifications '((tao-yang (...
2
votes
0answers
156 views

Updated from 24.5.1 to 25.1, not respecting default app scaling

I use surface book with 3000x2000 native resolution scaled 200%. I just reinstalled (spac)emacs with 25.1 version and a new emacs frame will start the right size then immediately halve in size as it ...
2
votes
1answer
947 views

Spacemacs Latex: how to make view command tile vertically with emacs window?

I'm using Spacemacs Latex layer, which uses Auctex. If press space m v for the first time, the document viewer opens up in full screen over my emacs window. After, it only updates the window and keeps ...
2
votes
1answer
324 views

eldoc error: (error Variable binding depth exceeds max-specpdl-size)

I am editing org-mode files with a lot of source code blocks. These blocks contain my own pseudo code that looks like this: (A) {B} (C) (D) {F} (Z) When moving within these blocks there is a pause ...
2
votes
0answers
285 views

Equivalent to vim's nnoremap?

Just began transitioning from vim to spacemacs and I can't find a way to define keymappings such as this: nnoremap N Nzz I tried defining it like this: define-key evil-normal-state-map (kbd "N") (...
2
votes
0answers
249 views

helm-M-x freezes and leaves large minibuffer after C-g

Often I type a command like C-x C-f and then want to cancel it by pressing C-g. In normal emacs this was never a problem, but with helm I get a big minibuffer that says Quit and then shows some weird ...
2
votes
1answer
690 views

spacemacs: keep track locations of smart search

I have custom visit history ring which is independant of search seach engine used. I would like spacemacs smart search filled my ring as well. Details: 1. I'm in some buffer under location1. 2. I've ...
2
votes
0answers
305 views

Spacemacs not using the theme for tooltips after resizing the window

I'm using Spacemacs with Solarized dark theme on Arch linux using i3wm, and I'm having some issues with tooltips. If I open Emacs so it only covers part of the screen, the tooltips shows up with the ...
2
votes
0answers
634 views

Custom configuration layer for multi-term is ignored

I've created a new configuration layer (read more about it below) for multi-term but the settings specified there don't seem to apply. Here is the code in particular ;;; packages.el --- rgp-multi-...
1
vote
0answers
37 views

Directly transfer underlined phrases from pdf to org-mode?

I'm learning emacs (on spacemacs) and focusing on orgmode. Is there a way to transfer what you underline in a pdf (like in skim) directly as text in orgmode. In other words, when you underline a ...
1
vote
1answer
39 views

Adding Spacemacs documented layers fails

Adding layers existing in the layer section of the .spacemacs documentation results in failed test in the dot-test-results buffer generated after reloading the .spacemacs file (with SPC-f-e-R). ...

1
2 3 4 5