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
0answers
17 views

How to navigate SPC commands with Vim cursor?

I am very used to Vim keys BUT I love to use Emacs. That's why Spacemacs in Evil mode is perfect for me. There is one thing I still cannot figure out how to do. I don't know how to use h,j,k,l for ...
0
votes
0answers
7 views

When I click on a file on the spacemacs start screen, it automatically enters a newline

This only happens when I open a file with a mouseclick on the spacemacs start-screen. Very odd, it does not even work when I press enter instead or when I open the file in another way. The reason ...
0
votes
0answers
11 views

How to avoid showing gofmt fail error when saving go code every time in Emacs

Using Spacemacs and its go layer. Using Tramp in Emacs ssh to remote server to edit go file. After saving the file, it will check the syntax with gofmt . But every time it shows the error below: I ...
0
votes
1answer
57 views

How to copy and cut multiple lines in Emacs correctly?

I have researched it. Most post said this way: C-SPC C-n M-w It works. But in my case. It only copied a block where the cursor moved. Not the whole lines area I want. For example, the source below: ...
0
votes
1answer
20 views

Can't use .bashrc file on remote server from ssh within emacs

Login to remote server with ssh in Emacs, general commands run well. Such as ls, docker ls, etc. C-x C-f /ssh:... But when I tried to run a command which alias to another which set in the .bashrc ...
1
vote
1answer
22 views

After setting bookmark: `Wrong type argument: listp, "~/.spacemacs`

So I did just M-x bookmark-save in my original .spacemacs file, which lead to the case that when I booted Spacemacs, I get the following error: Upgrading bookmark format from 0 to 1... mapcar: Wrong ...
1
vote
1answer
13 views

Org Agenda is looking for agenda file names inside of my todo file

When I try to open a org-agenda view, I am prompted with emacs claiming that the first line of my todo list is not a valid file, with options to remove it from the agenda list, or abort. Removing it ...
1
vote
0answers
40 views

Huge buggy padding in line-number buffer

A picture: As you can see there is a huge waste of space on the left side of the line number section. When I increase the font size the padding even increases and does not decrease when I decrease ...
0
votes
0answers
17 views

How to use ack options in Spacemacs?

From the command line, I searched using ack with the ignore-case option: ack -i bragg That worked. How to use ack options in Spacemacs? The -i option did not work with function spacemacs/search-ack:...
0
votes
1answer
53 views

More detailed org-capture into org-table template?

(Disclaimer: I know this may seem like a very specific question. But: I haven't found the answers to similar questions to be close enough to what I need. I hope to get an answer that is easily ...
0
votes
1answer
20 views

Set colour/font for markers [duplicate]

Is it possible to set the colour or font of markers (e.g. the ones set by gud in gud-display-line by using make-marker). The theme I am using shows markers in a difficult-to-see light gray. I would ...
1
vote
2answers
41 views

Orgmode automatically increment an unordered list

I use org-mode for planning projects and tasks, etc. Say I am reading a book and I want to track my progress chapter by chapter. I want to create a list of repetitive elements with an incremented ...
0
votes
1answer
32 views

How can I set the default shell in spacemacs (Evil mode) when executing commands in a buffer?

I've downloaded spacemacs (configured with Evil mode) on a Windows PC and would like to use bash or wsl as the default. Example: Open the evil-tutor and execute command :!ls Desired Behaviour: I ...
0
votes
0answers
28 views

Emacs cannot find virtual drive defined by MS Windows command `subst`

I am using spacemacs (0.200.13@26.1), but this should be applicable to vanilla Emacs too. The version of Emacs I'm experiencing this issue on is "GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) of 2018-...
0
votes
1answer
25 views

Spacemacs: shortcut to jump from opened orgmode file to Neotree pane

I am using Spacemacs. So I have a Neotree pan that I open with Spc-f-t and that works fine. Then I can navigate down the tree to open a file with l and that will move the cursor from the Neotree pane ...
0
votes
0answers
26 views

Org-Habit Consistency Graph: Increase Visibility/Width of “Today” column

When I display the org-habits consistency graph in org-mode's agenda view, one column/character is used per day. I am finding that it is difficult to visually pick out the current day. I'd like to ...
1
vote
1answer
57 views

Function to reprogram muscle memory

I've switched from emacs to spacemacs, but my muscle memory still uses the standard emacs keybindings -- despite attempts at avoiding key chords. As an example, to save a file, I continue to use Ctrl ...
0
votes
0answers
18 views

spacemacs - rebind existing keys

I am trying to rebind j, k key as well as capital E, B and Y, but cannot get them to work. Any pointers? I put this into my .spacemacs (in dotspacemacs/user-config): (evil-define-key 'normal key-...
0
votes
1answer
19 views

How do I select 'flag' options for magit through helm?

I'm using spacemacs with helm and magit. There are some options, for example, the ability to sort log entries in reverse order, that have a flag by them. I don't know how to select any of these ...
0
votes
1answer
36 views

How to indent truncated lines?

For me it seems like a really ruff edge that default spacemacs comes without an option to give my lines a correct indentation, when they are wrapped. (Click the first link if you want to see the issue ...
-1
votes
1answer
31 views

How to include packages into my configuration?

a total newb when it comes to spacemacs. Firstly I just want to get spacemacs to work properly and I have the issues regarding the missing wrapping feature like in the following link (Make visual-line-...
0
votes
0answers
27 views

Change in org-ctrl-c-ret?

I use spacemacs only for an org-mode todo file. I recently re-installed spacemacs and emacs and noticed a behavior change. Let's say I have a file like: * TODO Header - List item 1 - List ...
0
votes
0answers
22 views

How to use Ansible layer in Spacemacs?

I am new to Spacemacs and I am trying to understand how it can help me writing Ansible roles and testing them. I found Ansible layer, added ansible to dotspacemacs-configuration-layers, restarted ...
1
vote
0answers
29 views

Restore Spacemacs project windows layouts

Opening a project I would like the windows restored as I left them. E.g. tests.py on the left and a terminal /home/projectdir/>$ on the right: |-----------+-----------| | tests.py | >$_ |...
0
votes
0answers
17 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
108 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
38 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
97 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 ...
0
votes
0answers
16 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
28 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
28 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
117 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
43 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
157 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
87 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
37 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
35 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
31 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
37 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
36 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
83 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
45 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
87 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
22 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
32 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
27 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
26 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
15 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
38 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-...