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
1
vote
1answer
31 views

Org-Babel Unable to Tangle to Write-Protected Folders?

I'm trying to move my OS configuration over to org mode, and in the process I'd like to be able to tangle to write-protected directories like /etc Unfortunately, tangle doesn't seem to work whenever ...
0
votes
0answers
6 views

org agenda empty after org-mac-iCal import

After some struggle I got it to work for a day. I was able to see a combined agenda with todo's and calendar appointments correctly. The next day it stopped working, and the agenda file appears empty....
1
vote
2answers
456 views

Where is ispell private dictionary located on Spacemacs?

My Spacemacs help ispell-personal-dictionary says: ispell-personal-dictionary is a variable defined in ‘ispell.el’. Its value is nil Documentation: File name of your personal spelling dictionary, or ...
4
votes
3answers
1k views

How do I paste code without auto indentation

I just setup the latest Spacemacs. I'm pasting python code from here https://raw.githubusercontent.com/jpmens/mosquitto-auth-plug/master/examples/http-auth-be.py into a new buffer. When I do this it ...
0
votes
1answer
74 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 ...
0
votes
0answers
12 views

How to enable flycheck in every layer in spacemacs by default?

I have syntax-checking in my layers, and according to the documentation, it should be enabled by default in every buffer. However, for me this is not the case. How do I enable flyspell syntax-checking ...
1
vote
1answer
234 views

tags-add-tables / list of tag tables

I can't find a concise answer to this question, only big manuals for which I'm not sure reading them will give me the answer... Spacemacs & haskell-mode are now giving me tag navigation by default ...
0
votes
1answer
105 views

Debugging with dap-mode for python and taking user input

I am trying to make dap-mode for python working on spacemacs. For the most part I was able to get it working, but I am having issues taking in input on the CLI def main(): a = input(">") The ...
1
vote
1answer
2k views

How to assign TAB to indentation and to yasnippet expand key

i'm trying to have the key TAB to: Indent my code (like in any other text editor) Trigger Yasnippet I have theses lines in my config: (global-set-key (kbd "TAB") 'yas-expand) (global-set-key (kbd "...
0
votes
1answer
102 views

How do you change the paper size on pdf export in emacs?

Every time I export using the dispatcher, the pdf that is produced is letter size. My system and printer are A4. How do I change the paper size for pdf (and text) exports in emacs?
0
votes
2answers
37 views

Spacemacs evil-mode : How to toggle off visual mode in interactive function call?

;; .spacemacs file (defun my/function (beg end) ;; To work with visual selection: (interactive "r") ;; Displays visual selection in message buffer: (message (buffer-substring-no-...
26
votes
1answer
14k views

Command to insert code block? [duplicate]

I found the command SPC m x c to insert a small code snippet like ~~. I would like to insert a longer snippet like #+BEGIN_SRC #+END_SRC Is there a command to do this? I found a way to add it for ...
0
votes
1answer
67 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
0answers
58 views

How to search certain subdirectories of directories that are ignored by Git

I'm working in a Scala project that has target/ directories entered as ignored in the .gitignore. However, there is also Scala code being generated during the build which is being nested under a ...
0
votes
1answer
32 views

Using larger font with Powerline

I've just switched to using spacemacs with powerline. I'm trying to make the font larger (my eyes are not as good as they used to be). But when I do, the powerline separator gets screwed up. Is ...
0
votes
0answers
21 views

How to create a prefix key for the hybrid state in spacemacs?

Prefix key can be created in Emacs as described here. The way to define a key for the hybrid state in spacemacs can also be found in the spacemacs document. However, I don't know how to define a ...
0
votes
0answers
11 views

Autocompletion in R files set `truncate-lines` to `t` (spacemacs)

I use the ess layer in spacemacs to work with R files. After an autocompletion, the variable truncate-lines is set to nil. Furthermore, during the time the complexion box is on the screen, the lines ...
1
vote
1answer
273 views

Spacemacs and Orgmode: Bulk unschedule a task from the Agenda view

I was looking for a way to bulk unschedule tasks from the agenda view. There is a function included in org-mode for bulk-unschedule according to Carsten Dominik, but was not sure how to find this in ...
3
votes
2answers
1k views

Automatically preview Latex in org-mode as soon as I finish typing

I'm using org-mode in Spacemacs (0.200.10.x). To preview Latex when I open a file, I understand that I can either set the variable org-startup-latex-with-latex-preview to t in my init.el, or set the ...
0
votes
0answers
19 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 ...
0
votes
0answers
15 views

Helm not displaying files [spacemacs on Mac Catalina]

Helm (SPC f f) doesn't display any files, even though the opening screen displays recent files which I can open. If I type in the name of a file I know is in a folder, I get the warning trying to ...
0
votes
0answers
34 views

Emacs-dashboard with spacemacs?

Has anyone tried this? I'd like to customize the "landing screen" I get when I launch spacemacs, and previous posts recommend emacs-dashboard for this. But I can't seem to figure out how to get it to ...
0
votes
1answer
17 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
0answers
27 views

Set parent task to DONE based on child conditions

I'm new to Emacs (spacemacs) and trying to get Org-Mode's TODO feature working how I'd like it to work. I am trying to have parent tasks set to DONE when all child checkboxes (or TODO's are complete)....
0
votes
1answer
61 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 ...
1
vote
1answer
893 views

How do I live preview markdown, rendering math, checkboxes, etc.?

I’m using Spacemacs with markdown-mode and I’ve configured it according to Jason Blevins’ guide. Other things I’ve tried Pandoc works pretty well except when I set the —lua-filter=task-list.lua flag ...
1
vote
2answers
301 views

Spacemacs: change prefix key from `SPC-b` to `SPC-v`

I use buffer (SPC-b) prefix key very often, and would like to move its keymap to a more convenient key (e.g. SPC-v). Is there a way to achieve this without redefining the entire map? so I would like ...
7
votes
3answers
3k views

how to add date and time into spacemacs' mode line

I usually use Spacemacs in maximized window, thus the date and time presented in mode line is a must. I understand that spacemacs uses powerline mode to mimic vim, the manuals of both spacemacs and ...
0
votes
1answer
8 views

How to check the change log of a layer's update

I update the layer very often. How can we see the git log for those updates? For example, the most recent haskell-mode layer has a bug, and I want to check it.
0
votes
0answers
9 views

Can not properly select region A in ediff-region-linewises Spacemacs

I want to compare two functions in a Python script, sat test.py, and I'm using Spacemacs (but really really new to it and any other general editor). I read that I can use ediff-region-linewise to do ...
0
votes
2answers
47 views

How do I get request.el to post the contents into the buffer

I'm trying to use request.el but have no clue what I'm doing. What I want to do is create a request to Zotero that uses their citation picker using the to get a 'Cite As You Write' capability using ...
0
votes
1answer
76 views

In org mode, how can I hide body text but show drawer contents?

Using spacemacs I would like to be able to display an org mode document such that: all headings are visible all drawers are open and their contents visible all other body text is invisible It would ...
1
vote
0answers
106 views

LSP sometimes working with Metals, sometimes spamming “the request has been cancelled”

I have Spacemacs configured to use Metals as an LSP backend for Scala development, i.e. my dotspacemacs-configuration-layers includes: (scala :variables scala-backend 'scala-metals ...
1
vote
1answer
58 views

Search/replace and replace within a block of selected text of buffer in spacemacs

As stated in the title, I want to search and edit (including replace) certain strings in a selected part of a buffer, not the entire buffer!!!, how can I do it? Are there any built-in keystrokes?
2
votes
1answer
909 views

How to sort TODOs in Org-Mode?

I'm new to the org-mode in Emacs and I can't seem to find anything on how to sort a list of todos while editing in org-mode. I know that they can be sorted through some view (e.g. agenda), but I'd ...
3
votes
1answer
572 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
24 views

Spacemacs config on OSX is not detected?

I have installed spacemacs following this tutorial: https://github.com/syl20bnr/spacemacs#prerequisites The spacemacs config is not detected. The $HOME dir is set to /home/<username> and is ...
0
votes
1answer
34 views

Open link of file in org mode with its defalut application rather than within spacemacs

really new to spacemacs, I want to open a link (which is a file stored somewhere on my computer and the full path is used) inserted into org-mode file of spacemacs with the default application of such ...
0
votes
1answer
143 views

Anaconda Mode only complete module variables, get No Matches for assigned variables on linux server accessed via ssh

Description Anaconda Mode only complete module variables, get No Matches for assigned variables on linux server accessed via ssh Reproduction guide Observed behaviour: - Start Emacs execute import ...
0
votes
1answer
104 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
1answer
81 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 ...
1
vote
1answer
44 views

What's the Emacs package that enables a “mini-mini-map” in the status bar?

I'm specifically talking about the package Spacemacs enables. It creates a tiny square with a horizontal bar, that goes up and down in accordance with your position in the file you have opened. E.g., ...
0
votes
1answer
42 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
1answer
801 views

List of themes available in Spacemacs

helm-themes loads the themes present in custom-load-themes which are coming from custom-theme-load-path (as per C-h f helps) After installing themes mega-pack, the list is the following : Available ...
1
vote
1answer
1k views

Problems Creating Basic Spacemacs Layer

I'm trying to create a basic spacemacs layer. But there's an error loading it, thus its constituent packages. Checked this SO question, but it doesn't seem to apply. Any idea of I'm missing? I'm sure ...
0
votes
1answer
84 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
1answer
131 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 ...
0
votes
1answer
142 views

Spacemacs helm-org layer is missing

Good day, I wanted to use the helm-org-in-buffer-headings function. Yet for some reason helm-org layer is missing. If I install it manually via package list packages it gets deleted with the next ...
2
votes
1answer
40 views

How to show the beginning and end of a long function name in `which-key`?

By default, in which-key, descriptions that are longer than 27 characters are truncated, and .. is added. How can I prevent this eliding and show the beginning and end of a long function name?
0
votes
0answers
8 views

Is there a way to make semantic sticky func show full path?

Semantic sticky func is very handy when reading code. However, Python for example, it only shows the most current scope (only show function name in a class). Is there any way to make it display full ...

1 2 3 4 5 13