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.

1
vote
1answer
16 views

How to convert a package to a layer in spacemacs

I am new to the world of Emacs, and like most ex-vimmers, I am starting with Spacemacs. I have been trying to find time to do some leetcode and would like to use the package leetcode-emacs. I have ...
2
votes
1answer
51 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?
0
votes
0answers
15 views

Spacemacs - python mode

I have some problems with my spacemacs configuration. For instance, it's supposed to be globally set up with emacs editing mode and the line numbers as well dotspacemacs-editing-style 'emacs ...
0
votes
0answers
19 views

Spacemacs: Error `Wrong type argument: commandp, org-set-tags` when setting tag

I was not sure if this is a Spacemacs issue or a local configuration issue, hence I figured I would post to Emacs Stackexchange. When I use the Spacemacs key SPC-m : to try and add a tag to an ...
0
votes
1answer
30 views

Spacemacs keybinding to execute shell script in directory the file in the current windows buffer is located in

I need a keybinding (either a key like F12 or a mnemonic key sequence like SPC f12) in Spacemacs. When hitting the keybinding in a window containing a file in its buffer the shell script script in the ...
0
votes
1answer
17 views

Spacemacs and mu4e - “[mu4e] No contexts defined”

I'm using the latest Spacemacs develop branch (updated this morning) and I think that the latest package updates might have broken something? I had just set up mu4e yesterday, and finally got contexts ...
0
votes
0answers
28 views

Spacemacs keyboard layout

coming from vim I'm new to emacs, spacemacs and lisp so I have some trouble understanding the steps in https://github.com/syl20bnr/spacemacs/pull/6308#issuecomment-225453730 for adding a new custom ...
1
vote
1answer
83 views

Can you install Emacs temporarily for testing purposes like new versions and packages?

Is there a way I can install two versions of Emacs on the same machine ? The last time I tried installing versions 24 and 25 neither of the installations was working and the easiest solution was to ...
0
votes
1answer
25 views

auto-start of linum mode doesn't work

I'm currently using spacemacs. I have put the line (global-linum-mode t) into the .spacemacs file but it doesn't work at all. It used to work when I used the normal emacs. I don't have any clue of ...
3
votes
0answers
21 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 ...
0
votes
0answers
34 views

Spacemacs laggy without external keyboard

I recently installed Spacemacs on my laptop and I notice strange bahaviour; if I'm using it with external keyboard everything is fine but soon as I use laptop without external keyboard Spacemacs ...
0
votes
1answer
36 views

OS copy/paste not working for emacs-mac

GNU Emacs 26.1 (build 1, x86_64-apple-darwin16.7.0, Carbon Version 157 AppKit 1504.83) of 2019-01-27 I just recently installed the emacs-mac port of GNU Emacs 26, and the OS copy/paste functionality ...
1
vote
0answers
39 views

Align columns in Org Mode with Korean letters

When I try to make a table that has Korean character (한글) mixed with English words, the table becomes unaligned, and according to an answer about Japanese found here the the same problem with Japanese ...
0
votes
1answer
40 views

How to auto-complete links to headlines in org-mode?

Given an example.org file having two headlines, I would like to auto-complete links to 1headlines. However hitting M-\ on [[* suggests *bold* words but not headlines. Any ideas what I'm 2missing? * ...
0
votes
0answers
17 views

Can not keep keybindings

How can I keep key-bindings in all modes? Following bindings are initially working though overwritten by another major mode e.g. org (defun dotspacemacs/user-config () (exwm-input-set-key (kbd "M-h")...
0
votes
2answers
17 views

How to change line COUNT for for evil-scroll-up

How to change line COUNT with C-u or C-d for evil-scroll-up or evil-scroll-down? From Spacemacs help: C-u (evil-scroll-up COUNT) C-d (evil-scroll-down COUNT) If COUNT is not specified the function ...
0
votes
1answer
21 views

spacemacs and “file name too long” error on auto-save

I reorganized some of the folders on my computer, in an attempt to get rid of old stuff and organize useful stuff. So with the new directory structure, I am getting all of these auto-save errors. ...
0
votes
1answer
21 views

Binding simple keys in spacemacs

I would like to set a projectile find file function to the hotkey C-e, and a elpy-goto-definition function to the hotkey F12, but I'm not sure why spacemacs is not recognizing the config that I'm ...
0
votes
0answers
11 views

Org-refile Strip lowest heading from list in helm mini buffer

I have set up several files for org refile as targets. I have defined their max levels. However, it is often hard to define precisely the max level depth for a given file since the hierarchy of nodes ...
0
votes
0answers
26 views

Org-refile in Helm Mini Buffer does not fontify Headings

I am using spacemacs and org refile and have set the following variables: (setq org-refile-use-outline-path 'file) (setq org-outline-path-complete-in-steps nil) I also defined three files via org-...
0
votes
0answers
19 views

Spacemacs: Save, compile and run Cabal project

I am working on a small Haskell project in which I have to tweak many parameters by trial-and-error. I am using Spacemacs with the pre-configured Haskell Layer. I can't really use the REPL, because ...
0
votes
1answer
36 views

prog-mode-hook not recognizing .ex files in user-config

I'm trying to display prettify-symbols-mode to display for certain characters. I would like for this minor mode to be enabled across all programming languages - thus prog-mode. When I navigate to a ....
0
votes
2answers
97 views

enabling additional flycheck-checker for spacemacs html layer

I can't seem to enable the scss-stylelint checker for scss-mode. flycheck-verify-setup gives me this: Syntax checkers for buffer _typography.scss in scss-mode: scss-lint (disabled) - may ...
0
votes
1answer
27 views

How to completely clean Spacemacs from the not longer required mode?

Once I enable a local major-mode. After some time I decided to remove it. So I deleted it from disk as well as from configuration (SPC f e d). But it is still available in my Spacemacs. At least ...
0
votes
1answer
53 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
62 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
18 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
13 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
47 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
30 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
40 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
37 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
72 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
25 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
31 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
32 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
73 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
47 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
58 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
56 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
66 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
86 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
110 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
56 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
64 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
19 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
41 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
142 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
22 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
41 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?