All Questions

Filter by
Sorted by
Tagged with
2
votes
1answer
23 views

org-table to calc matrix and back again?

Is it possible to feed data from an org table into calc as a matrix, and then get it out again as a vector to fill in a column? For example, if I have: | | Fund A | Fund B | Fund C | ...
0
votes
1answer
61 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 ...
0
votes
0answers
12 views

org-mode keybinding to insert heading followed by org-do-promote

I can write a short keybinding to do this but does org mode have a good way to the following: org-insert-heading-respect-content or org-insert-todo-heading-respect-content followed by: org-do-...
0
votes
2answers
44 views

Move cursor to Start of document/End of document on OSX

On Linux, I am able to move the cursor to start of buffer/end of buffer using using C-Home/C-End respectively: C-End Move cursor to the end of the buffer. Note the key is 'End' key on the ...
2
votes
1answer
54 views

org-capture: prompt for a target file

Starting from the existing customization associated with key j, is there a way to view and modify the target file? In other words, by default, captured notes would go to */journal/inbox.org, ...
0
votes
0answers
18 views

ESLint rule not applying

Below is my .eslintrc.json and I see the same option when I do eslint --print-config app.js But emacs adding semicolon on save even though I have "semi": 0 { "parserOptions": { "ecmaVersion": ...
0
votes
0answers
22 views

Install package issue - says disabled, doesn't auto-install dependencies

am relatively new user of emacs - and having a recurring problem that I'm sure has an easy solution, but I can't figure it out at all. Issue is: I use M-x package-install to install say org-ref. ...
2
votes
1answer
30 views

Getting information about src block in ```org-src-mode```

I need to configure the behavior of elpy when editing a python src block in org-src-mode. Usually such configuration code should be added to org-src-mode-hook. In my code I need to check some header ...
0
votes
0answers
30 views

How to create edge labels in org-mind-map?

The examples do not show use of this feature. And it is not clear from the documentation how to create edge labels. The following is a simple graph drawn using Graphviz, where labelling edges is ...
0
votes
2answers
52 views

How to prevent stuff from being exported

I want some stuff to be visible in the editor, but not in the export (C-c C-e). Some stuff includes headlines. I tried this: #+EXPORT_FILE_NAME: ~/Documents/Outbox/hide #+OPTIONS: ^:nil #+STARTUP: ...
1
vote
0answers
16 views

LaTeX fragment preview includes font name in Org-mode

Since I have to export some CJK characters in LaTeX, I have the following two lines in an .org file : #+LATEX_HEADER: \usepackage[BoldFont,SlantFont]{xeCJK} #+LATEX_HEADER: \setCJKmainfont{HanaMinA} ...
0
votes
0answers
18 views

Error during installation of Magit: "el-get: make el-get could not build transient [make EMACSBIN=c:/Users/…/emacs-26.1-x86_64/bin/emacs info]

In this folder ~/.emacs.d/el-get/transient (master) there are following files for transient ./ ../ .git/ .github/ .gitignore default.mk docs/ LICENSE lisp/ Makefile README.md then run runemacs --...
0
votes
1answer
38 views

Is there a way to write and kill a buffer in a single command in Spacemacs / Evil?

I am new to (Spac)Emacs with Evil, and I did quite some searching to find an answer to this question, so I hope this is a 'legitimate' question here. Is there a default single command to write a ...
2
votes
1answer
63 views

What happened to org-habits from 8.2 to 9.1?

Orgmode's org-habits appear broken following the upgrade of emacs from version 25 to 26 and orgmode from 8.2 to 9.1 along the way. Specifically, all of my habits don't show as habits in the org-...
0
votes
0answers
20 views

No filename completion with Eglot and R

Using ESS with emacs I have automatic filename completion. So, when I am withing "./" and hit TAB, it shows me a list of files and directories within that directory. However, after installing eglot ...
0
votes
1answer
15 views

How to generate and display tags in treemacs (for JavaScript)?

I'd like to generate a set of tags and then view them in Treemacs, ideally whenever I open a file that I can generate tags for. The docs for Treemacs' tag view say: Treemacs is able to display ...
2
votes
0answers
26 views

Browse line range of file in GitHub with Magit

Is it possible to select a range of code and open it in GitHub using Magit? I use the browse-at-remote package for this, but I wonder if this could be done from Magit. I'd like to navigate both from ...
1
vote
1answer
34 views

fetching elisp library from url

I am using use-package in my .emacs and it is great. However occasionally I want to use a 3-rd party code which is not in [M]ELPA. Of course, I can download it but then I will need to maintain a copy ...
0
votes
0answers
5 views

IDO find file stay in TRAMP

When going to M-x ido-find-file then going to sudo /sudo::/ I can browse files as root but if I enter // or ~ it escapes TRAMP. How do I prevent it?
2
votes
2answers
19 views

Slurp standard-input into a buffer

How do I read the entire contents of stdin into an Emacs buffer in #! /usr/bin/env emacs --script mode? Stdin may not be a regular file.
0
votes
1answer
64 views

Unexpected behavior when updating alist

Question: The code is below, the contents of the list myList were copied in the debugger. (let* ((myList '(("Concept Index" ("Файл" "/home/alamd/example/funEl/expirement/...
3
votes
2answers
79 views

How to transpose words, keeping the cursor at the same relative location to the word it moves?

When transposing words, the cursor moves to the end of the word, how can the cursor be kept at the same location relative to the word?
0
votes
0answers
8 views

Customize indent of line-continuation in f90-mode?

In f90-mode, is it possible to make continuation lines indent to the opening parenthesis instead of by a fixed amount of columns, without having to rewrite f90-indent-line? For conformance with a ...
0
votes
1answer
35 views

Setting the time for messages in the minibuffer

Messages that appear in the minibuffer disappear too quickly for me to read them. I would like them to last a few more seconds before disappearing. (I know I can press C-h e to see them again.) I ...
1
vote
1answer
38 views

Unstaged changes not appearing in magit, plus other oddities

I'm a Magit rookie and finding it is not behaving as expected. I have multiple unstaged changes in a repository (see "Git Status" below). However, Magit is not showing them (see "Magit" below) when I ...
1
vote
1answer
33 views

Getting Emacs lsp-mode to work with this matlab-langserver

I am trying to get this Matlab language server to work with lsp-mode. Following the instructions in lsp-mode's github page, I inserted the following in my init.el: (use-package lsp-mode :ensure t ...
1
vote
1answer
46 views

How to drill back up a folder in Dired?

In Dired, I'm able to drill down folders with the key i, but how can I unfold a folder that was once opened, that is, go to its parent folder?
0
votes
1answer
20 views

Filter org mode weekly schedule by tag

I have multiple scheduled tasks/events in different files properly labeled and I can't find a way to have the weekly schedule agenda view to filter by these labels. It just shows all the labels per ...
0
votes
1answer
28 views

How to transpose words backwards?

Transpose words (M-t) always swaps the word with the next. How can this be performed with the previous word?
2
votes
1answer
90 views

org column view with date calculations

* TODO fix this bug asap :PROPERTIES: :UPDATE: writing test cases almost there! :LASTUPDATED: 2019-11-25 :DEADLINE: 2019-11-30 :END: * TODO update that documentation :PROPERTIES: :UPDATE: updating my ...
4
votes
2answers
98 views

How to report that an interactive command couldn't run?

When writing my own interactive function, whats the best way to report that nothing happened. (if line-is-empty (message "Found empty line, nothing to do!") (do-stuff)) Or is it better to use ...
3
votes
2answers
39 views

A custom type specification like “repeat,” but when there’s only one item, it’s inline

So, I’m trying to add Customize support to packages that use a lot of plists, and where the value of pretty much any option can be either a single item or a list. I could have every single plist ...
1
vote
1answer
25 views

cannot have a different default for font's height with emacs daemon

Following an article called Emacs, fonts and fontsets I was revising my font setup. I ended with the following code: (defun font-exists-p (font) "Comprueba si una tipografía existe. Sacado de https:...
0
votes
0answers
64 views

interactively load Cabal packages within haskell-mode

I really like how I can interactively load packages and experiment at will in Common Lisp, and would like to get a similar workflow in Haskell. I've settled on Cabal (v3.0.0.0 - new command set by ...
0
votes
0answers
19 views

Org Mode Key Bindings In Terminal Not Working [duplicate]

I'm new to using Emacs in Ubuntu server terminal as opposed to GUI and noticed some of the standard org mode key binding (like M-DOWN or M-UP to move list items or subtrees up or down) don't work. Is ...
1
vote
1answer
32 views

Why is `key-chord-mode` not listed among enabled minor modes?

After starting Emacs with the following init.el file, key-chord-mode is turned on. ;; Speed up startup (setq gc-cons-threshold 402653184 gc-cons-percentage 0.6) (add-hook 'after-init-hook ...
0
votes
0answers
29 views

Files not being ignored

Apologies if this has been asked elsewhere; I'm very new to emacs so I'm unaware of many of the basics. I've been trying to use helm-projectile to switch between projects and go to files. I'd like ...
0
votes
0answers
54 views

syntax highlighting in ranger

I've been playing around with ranger in emacs and I'm really liking it for browsing new codebases. I would like to get syntax highlighting working, as it does when using ranger in a terminal. I'm not ...
0
votes
0answers
30 views

How to create a file when it doens't exist in the project?

I've remapped C-x C-f to projectile-find-file since I mostly open files corresponding to the project I'm in. However when I need to create a new file, I fill in the name and projectile doens't find ...
1
vote
1answer
59 views

How does emacs write files?

When Emacs saves a file (save-buffer, write-file etc.), does it overwrite files directly or does it create a temporary file first? More specifically, if I edit /path-to/file.txt, will Emacs directly ...
0
votes
1answer
48 views

Problem with `org-startup-indented`

When I set org-startup-indented to be t, I see the following error on opening any .org file and the error refused to go away i.e. it reappears instantly after pressing q. Debugger entered--Lisp error:...
0
votes
0answers
16 views

Additions to org-agenda files not persisting across launches

My init file contains the following (custom-set-variables '(org-directory "~/Dropbox/org") '(org-agenda-files (list (concat org-directory "/mylife.org") (concat org-directory "/inbox.org")))) ...
0
votes
2answers
25 views

How to “escape” a plain list / cannot outdent region

This is start from: * Up ** Foo - x Notice that the plain list under Foo is indented. This is what I want next: * Up ** Foo - x ** Bar But from - x, I don't know how to "escape" the plain ...
0
votes
2answers
41 views

What's the right order of the settings on init file?

I've had an annoying moment with emacs (GUI). I'm a newbie and now I'm trying to use emacs for writing, so I need spell checking. Well, the consensus is flyspell. In order to load flyspell when ...
2
votes
1answer
36 views

Debugger entered--Lisp error: (invalid-read-syntax “)”) read(#<buffer *load*>)

Launch Emacs using runemacs --debug-init and the following error occurred. any idea on how to locate the file/script of the error or how to fix it? Thanks in advance. Debugger entered--Lisp error: (...
6
votes
1answer
45 views

leakage of define-key in let-bound keymap

I am trying to make a keymap to apply to a buffer region where the map is a composed keymap of several modes. Then, in that map, I want to define C-c C-c to run the command org-ctrl-c-ctrl-c. This is ...
0
votes
1answer
18 views

Can I open emacs in nw mode with the scratch buffer? (when emacs is aliased to emacsclient session)

closed that, re-incarnated here: When starting emacs from the shell command line, if you pass the "dot", it opened emacs with a 'dired' of the current directory. But can I do this? emacs '*scratch*'...
1
vote
0answers
34 views

Searching org-mode files with spotlight

On my mac (OSX) I have many org-mode files with filenames ending in “.org”. Whenever I do a search with Spotlight that should show one of these org files as best result I experience the following ...
0
votes
1answer
22 views

el-get Basic Setup (https://github.com/dimitri/el-get) : error: Unable to find 'git'

Start Emacs from gitbash (MINGW64) Snippet below is loaded automatically: ; add el-get to the load path, and install it if it doesn't exist (add-to-list 'load-path "~/.emacs.d/el-get/el-get") (...
1
vote
1answer
44 views

How to set up emacsclient as default editor on Debian?

What am I trying to achieve I want to use emacsclient (not emacs) as my default text editor on Debian Buster. What have I tried so far Alternatives: > sudo update-alternatives --config editor` ...

15 30 50 per page