Skip to main content

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
1 answer
338 views

Configure the delay before window showing command completions is shown

When I start entering a command and pause, this helpful window pops up at the bottom: When I don't pause, it doesn't show up. But sometimes, it takes more time to complete a command that I know, e....
0 votes
1 answer
160 views

Can't run org-refile function in Spacemacs

I am using GNU Emacs 27.1 with Spacemacs 0.300. I am new to Emacs and Org-mode. I want to use the function org-refile with the shortcut C-c C-w. However, this is what I get: Why can't I use that ...
0 votes
1 answer
1k views

configuring spacemacs for python development

It's been really frustrating trying to get spacemacs to work so far. I've grown to really love it - coming from vim - for its capabilities in manipulating and navigating text, but it's just been so ...
0 votes
1 answer
323 views

Unable to import project with lsp/lsp-mode, persistent completing-read popup message

I recently had to redo my development setup, I'm using Clojure and clojure-lsp as lsp server, and every time I open a project file I get the message `"x" file is not part of any project"...
0 votes
2 answers
94 views

How to indent-region with TAB key?

I want to detect if selection made was activated and bind appropriate code for indent-region or ifselection mode was not activate - other code.
0 votes
1 answer
136 views

How to add prefix to suggestions in evil-mode?

Spacemacs has a way to add prefix descriptions with (spacemacs/declare-prefix ...). However, some evil-mode keybindings are lacking prefix descriptions. For example, in evil-mc g r is the prefix for ...
2 votes
1 answer
615 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 ...
3 votes
1 answer
803 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 ...
0 votes
1 answer
269 views

python-shell-completion-complete-or-indent no mathes in ipython

import pandas as pd pd. # press tab, there are completions df = pd.DataFrame() df. # press tab, No Matches Same configuration worked on my local mac but not on linux server. If I use python ...
0 votes
1 answer
521 views

Spacemacs org-mode python session plotting problem

I have been using org-mode with R in Spacemacs for a while now with no issue. I'm moving my workflow from R to Python. Jupyter notebooks (EIN) works great, but I prefer org-mode: Normal (non-...
0 votes
1 answer
105 views

Org-mode, linking between headings topic

I use Org-mode to manage a knowledge-base system. I want to apply the dependency/requirement concept for learning any specific topic: Let's say We have 4 nodes, each one represent a "Topic to ...
0 votes
1 answer
331 views

Setting Spacemacs default conda environment

This question answers where spacemacs looks for conda environments and how to change them with major-mode pyvenv-workon. There's one environment that I use for 90% of what I do. Can I set a default ...
3 votes
1 answer
2k views

How can I set the indentation offset for `indent-region`

I am using spacemacs + lsp layer (ccls) for c/c++ editing Having my c-basic-offset set to 4: if I select a region and press = (maybe invoking indent-region?), the region is indented by 2 spaces (...
0 votes
1 answer
83 views

Company installation error

trying to setup go auto completion (using spacemacs), facing an issue while installing company In end of data: company-tng.el:198:1:Warning: the function ‘eglot--snippet-expansion-fn’ is not known to ...
0 votes
1 answer
166 views

spacemacs and org-log-done

In org-mode for emacs I used to get a prompt while closing a recurring task. This gave the ability to leave a note. Trying to configure this with org-log-done hasn't worked out. Anyone an idea how ...
0 votes
1 answer
82 views

Configuring Clojure Mode to use Parinfer layer in Spacemacs

I am an experienced Clojure developer making the transition to using Spacemacs. I would like to use parinfer in my setup to manipulate my Clojure code structure, but I am struggling to get the ...
0 votes
1 answer
931 views

spacemacs, problem with irony package when getting irony* from github as alternative location

I'm using spacemacs devel. I've added following private layer using M-x configuration-layer/create-layer (setq irony-packages '( company-irony company-irony-c-headers ...
0 votes
1 answer
225 views

Prompt for stdin via `shell-command`

Sometimes when I copy+paste into my spacemacs over SSH, I get some random garbage that seems to be due to spacemacs interpreting some of the pasted content as commands. In vim, my workaround is to run ...
5 votes
1 answer
774 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
1 answer
131 views

how to exchange ESC with C-g in spacemacs

I used C-g to cancel operation in spacemacs, but feel ESC is a better way than C-g. I tried the following, but not work, spacemacs will report issue when startup: (define-key key-translation-map (kbd &...
0 votes
2 answers
211 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
1 answer
362 views

org-agenda stopped working

So my org-agenda was working perfectly in Spacemacs 0.990.0 on emacs 27.1 on Ubuntu 18.04 LTS. But I upgraded to Ubuntu 20.04 LTS, and updated all of my Emacs and Spacemacs packages, including org-...
1 vote
1 answer
325 views

Helm: copy file to bookmarked directory

I am using spacemacs. I want to achieve similar thing to the one in question browse through bookmarks in dired. I would like to be able to quickly choose an alternative destination from within the ...
0 votes
1 answer
826 views

Set the default background color in spacemacs

I'm trying to set the default background color to black in spacemacs. I'm setting the following theme in my init.el file: dotspacemacs-themes '(afternoon molokai) In my user-config.el file I've ...
0 votes
1 answer
282 views

How do I get rtags to work in spacemacs?

On a recent pull of both rtags and spacemacs, but I can't seem to get rtags to work well. There is no keybindings for jumping/searching to/for symbols and the definitions either. I've seen a couple ...
0 votes
1 answer
204 views

How to install evil-snipe-enable-alternate-f-and-t-behaviors on Spacemacs?

I am trying to install "evil-snipe" with evil-snipe-enable-alternate-f-and-t-behaviors on Spacemacs. The instruction on https://github.com/syl20bnr/spacemacs/tree/master/layers/%2Bvim/evil-snipe are ...
2 votes
2 answers
708 views

Magit becomes very slow in spacemacs

I am a on and off spacemacs user for a long time but I have recently started working on some bigger projects and so I started investing some more time into improving my workflow and in particular I ...
0 votes
1 answer
58 views

Toggling off all settings in python and julia to get bare setup

since recently I am using LSP for python, tex and julia on macos with spacemacs develop. To some extend this is great, but it is something awefully slow using a gui... and it seems that it is not only ...
0 votes
1 answer
410 views

How to load python layer after direnv?

In order to have lsp-pyright load after pipenv I need pyright to load after direnv. However, appending after: direnv results in an error[0] How can I have pyright starting the workspace after direnv? ...
1 vote
2 answers
117 views

How to not let a shell to capture the space key in Spacemacs?

In spacemacs, the space key is used to trigger the command shortcut, and an extra space can lead to a input/search of emacs command. Now I run into this situation: I use SPC b n to switch to next ...
0 votes
2 answers
72 views

In spacemacs how do I create a .spacemacs file while using emacs editing mode?

The spacemacs documentation for creating a spacemacs file describes how to do so when using the vi editing mode. How do I do this if I'm using traditional emacs keybindings?
0 votes
1 answer
427 views

SPC key shortcut is not working in spacemacs

I've spacemacs installed in my ubuntu/opensuse OS emacs version 26.3. SPC shortcut is not working for my spacemacs. I'm getting message Buffer is read-only: #<buffer *spacemacs*> Below is ...
2 votes
1 answer
734 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 ...
0 votes
0 answers
13 views

How to bind common Info-mode navigation to single keys in spacemacs?

I wish that more keys were bound in Info mode in spacemacs. For example: Info-next doesn't seem to be bound (n instead is evil-ex-search-next, which I never use) Following a reference requires two ...
1 vote
2 answers
337 views

How to fix font on start page in spacemacs?

I'm using Spacemacs on macOS. I installed Hack Front and configged it in user-config of spacemacs: (set-face-attribute 'default nil :family "Hack Nerd Font") When I open the Emacs GUI Emacs ...
0 votes
1 answer
50 views

Spacemacs kept repositioning the cursor when there's unmatched parenthesis

I'm new to Emacs, and there's one thing I don't understand. Suppose there's a file called test.el, which have the following contents: (setq Yes, the parenthesis is not closed, because I haven't ...
0 votes
1 answer
2k views

Autocomplete not working for JavaScript

So I can't get Auto-Complete to work for JavaScript. I've tried a variety of solutions but nothing seems to be working. Here is the relevant code snippet: ;; ;;adds js2-mode for javascript ...
3 votes
1 answer
530 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 ...
0 votes
1 answer
147 views

I got an error: Package 'tabbar-20160524' is a system package,not deleting

I installed spacemacs using "git clone https://github.com/syl20bnr/spacemacs.git ~/spacemacs/.emacs.d" but I got an error: Package 'tabbar-20160524' is a system package,not deleting.... When I ...
1 vote
3 answers
553 views

The global value of a variable I set with setq in my config differs from the local value. How can I get my value to be what I want in every buffer?

I want web-mode-script-padding to be set to 0 at all times. In my config, I have tried both (with-eval-after-load 'web-mode (setq web-mode-script-padding 0) ) As well as simply, (setq web-mode-...
0 votes
2 answers
382 views

Can't set default servers in ERC layer

My user-config looks following: (defun dotspacemacs/user-config () (setq-default dotspacemacs-configuration-layers '((erc :variables erc-server-list '(("chat.freenode.net" :...
1 vote
1 answer
432 views

Trouble with ocp-indent in spacemacs on mac

I'm having trouble setting up spacemacs for ocaml on my mac. Specifically, spacemacs can't seem to find ocp-indent. Whenever I enter a new line, I get the following message: "Searching for program: No ...
0 votes
0 answers
12 views

Php Mode keep show this error. #16330

Hello i am on spacemacs and facing a error keep pop up and i have no idea why, may someone help me look into it ? ac-php: Unable to resolve project root Company: An error occurred in auto-begin ...
4 votes
3 answers
1k views

Moving cursor to the middle of the line where it currently is

Is there a way to define a function that, when called, would move the cursor to the middle (or close to the middle) of the current line, similarly to how we can move it to the beginning and end of the ...
0 votes
1 answer
1k views

How to add matlab integration-spacemacs?

I already installed matlab-mode from the package list. However, not sure where to add the path in ~/.spacemacs. Its a huge file, and the code structure look different from the path file: (...
0 votes
1 answer
197 views

Spacemacs Clojure Cider Debugger Gives Error, "No reader function for tag dbg"

After connecting Cider to Spacemacs, when trying to set a debug breakpoint on a function using ,-d-b (cider-debug-defun-at-point), I see the following message in the *cider-error* buffer. 3. ...
1 vote
1 answer
252 views

How to debug my init.el if --debug-init does not help?

Despite having --debug-init in .xinitrc (exec dbus-launch --exit-with-session emacs --debug-init), I'm not getting any leading details on this error. Error in dotspacemacs/user-config: Symbol’s value ...
3 votes
1 answer
2k 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 ...
0 votes
1 answer
294 views

org-mode table editor behaves strangely

With cursor in row 2, col 3 | a | b | c | | 1 | 2 | 3 _| Pressing <TAB> creates a new row: | a | b | c | | 1 | 2 | 3 | | | | | Type more than one character and press tab. Vertical ...
0 votes
1 answer
74 views

Prevent completion of the empty string

I would like to prevent completions to the empty string in python and in inferior-python-mode. To explain a bit better - when the prompt or the string is empty, there are no completions proposed. When ...

1
2 3 4 5
17