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.

Filter by
Sorted by
Tagged with
0
votes
0answers
52 views

In what file do I set spacemacs/declare-prefix and spacemacs/set-leader-keys

In the spacemacs docs about key bindings I see these functions for setting up my own bindings: (spacemacs/declare-prefix "]" "bracket-prefix") (spacemacs/set-leader-keys "]]" 'double-bracket-command) ...
2
votes
2answers
496 views

How to see *Messages* buffer in Spacemacs?

How to see *Messages* buffer as advised in this answer - https://emacs.stackexchange.com/a/32069/23367? Why do I need this? I am new to Spacemacs and I am trying to understand how it can help me ...
0
votes
0answers
87 views

org-babel-tangle gives error function definition is void

Using the MWE example.org below, M-x org-babel-tangle returns: helm-M-x: Symbol’s function definition is void: mu4e-message-at-point $ cat /home/example.org #+begin_src sh :tangle example.sh ls #+...
3
votes
2answers
202 views

How to select a rotating Hydra option?

From SPC f f (counsel-find-file) minibuffer, open Hydra with C-o (hydra-ivy/body). This is what hydra looks on my system: The Hydra right column has "[m] matcher: order". Pressing 'm' rotates matcher ...
1
vote
0answers
30 views

Can't load spacemacs - it's trying to delete pspp-mode

I am a vim user who only uses emacs for my org-mode todo file, so I really don't know what I'm doing. After updating Ubuntu to 19.04 (and thereby updating emacs to 26.x), I'm getting an error when I ...
0
votes
0answers
55 views

Inline Code Annotations?

I'd like to be able to add inline annotations to my code files that appear to me but do not actually change the file. I looked around for solutions but couldn't find anything besides annotate.el but ...
1
vote
1answer
55 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 ...
3
votes
1answer
548 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
109 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 ...
1
vote
1answer
577 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 ...
1
vote
1answer
337 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
68 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
71 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
87 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
40 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
125 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
45 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
255 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
58 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 ...
1
vote
1answer
285 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
41 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
147 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
48 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
46 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
27 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
55 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
53 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
57 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
409 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
40 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
121 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
247 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
78 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
47 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-...
1
vote
1answer
176 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 ...
1
vote
0answers
77 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
54 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
184 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
342 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
88 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
37 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
260 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
136 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
132 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
175 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 ...
1
vote
1answer
197 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
158 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
284 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
520 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
97 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: ...