All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
15 views

Use template in the middle of a sentence

tempo-define-template allows defining a custom template, and one can use it with <key + TAB; however, this works only in the beginning of the line, it there a way to do that in middle of a sentence?...
1
vote
0answers
37 views

How Shall I Understand org-mode Habits Graph Colors?

The org-mode documentation has following to say about the colors in the habits graph: Blue: If the task was not to be done yet on that day. Green: If the task could have been done on that day. Yellow:...
0
votes
1answer
25 views

Prevent dired-find-alternate-file from killing emacsclient

When visiting a folder with emacsclient, for example through emacsclient ., using dired, opening a folder using a will cause emacsclient to terminate. I believe this is because a, bound to dired-find-...
0
votes
0answers
15 views

virtualenv selection menu shows only the first few virtualenvs

I have a number of virtualenvs, currently 40, but when I try to select one via the drop-down menu in emacs, it shows only the first 30 or so. Is there a way to get a scrollbar attached to that menu, ...
1
vote
1answer
38 views

Adding a new code formatter

How can I add a custom formatter that will be picked up by doom-emacs' format ((format +onsave)) module? I want to run the erlfmt program on save when editing Erlang files, but I'm not sure how I ...
0
votes
1answer
31 views

Org-plot with gnuplot (searching for program: No such file or direcotry, aspell)

I am trying to plot simple examples in org-mode by using gnuplot. But it keeps telling me "Searching for program: No such file or directory, aspell". I installed gnuplot both to on emacs and ...
1
vote
1answer
68 views

How to use a classical development setup (file explorer + code + terminal) in Emacs

I like using the following setup for development: +--------+---------------------------------+ | . | | | | Python or JS | | Dired+ | ...
0
votes
1answer
26 views

Color words based on gramatical categories?

Does there exist any package to color words based on grammatical class? (Noun, verb, adjective... etc). Something like rainbow-mode for grammar instead of colors.
1
vote
1answer
34 views

Stringify a list to a string without truncation

I am working on improving the org babel racket mode and am running into issues with inserting longer vars Whether I do (format "%S" '((2 0 0 4 2 0 0 3 0 0 4 0 0 7))) or (with-...
1
vote
1answer
35 views

prettify-symbols-mode enabled for major mode, but ligatures don't show until toggling prettify on and off

I'm pretty new to emacs and giving it a shot because it seems to be much better integrated with the OCaml tool chain than any other editor. Since OCaml uses a lot of symbols, I want to enable ligature ...
0
votes
1answer
13 views

Silence <location> <wheel-direction> is undefined

How to silence GNU Emacs on MacOS with magic mouse? Forever getting the bell and messages telling me certain mouse wheel features are undefined when hovering in certain places. For example <...
3
votes
2answers
265 views

mu4e adds sender with reply-all

I use mu4e. When I reply-all to an email, my own email appears in CC. I have these lines in my configuration: (setq mu4e-compose-dont-reply-to-self t) (setq message-send-mail-function 'smtpmail-...
1
vote
1answer
137 views

Display word count in modeline without lag

Problem Stopped using wc-mode as it is not snappy anymore (as text writing usually is) with text document of 10k words. It appears that it counts the whole buffer after every change which seems to ...
5
votes
1answer
155 views

Add original location of refiled entries to LOGBOOK after org-refile

With this setup (setq org-log-refile 'time) I have the following notes added to my TODO entry that I refiled (already twice and it is ended up in long someday-maybe): * TASK Note on where the entry ...
0
votes
0answers
23 views

Making mouse pointer invisible (x-pointer-invisible)

I am trying to hide the mouse pointer via: (setq x-pointer-shape x-pointer-invisible) (setq x-sensitive-text-pointer-shape x-pointer-invisible) (setq void-text-area-pointer 'text) (set-mouse-color (...
0
votes
0answers
9 views

Emacs package manager shows all melpa packages as “new” each time after restart

Since some time Emacs started to show each package that comes from "MELPA" repository as "new". It happens after each restart of Emacs. When I refresh package list in the same ...
1
vote
1answer
114 views

org-agenda-write doesn't respect org-agenda-dim-blocked-tasks

Running a fresh Emacs session with emacs -Q, I evaluated the following: (setq org-agenda-files '("~/index.org")) (setq org-enforce-todo-dependencies t) (setq org-agenda-dim-blocked-tasks 'invisible) ...
0
votes
0answers
15 views

emacs debugging -interpreter-exec being displayed when should see string returned from function

This is a problem I am seeing running emacs v26.1 on Windows 7, but the problem does not appear to be present when running on ubuntu. Code below: #include <iostream> #include <string> ...
-1
votes
2answers
410 views

Removing buffers from buffer list

This is my first day on Emacs, and I am really liking it so far, but I cannot seem to be able to work correctly with buffers. I am trying to kill specific buffers with C-x k, however upon checking the ...
0
votes
1answer
47 views

mu4e: Refiling email while making an org-todo

Background: I read my email through mu4e in (Doom) emacs. I set up an org-capture template that stores a TODO with a link to the current email I'm viewing, all working great. Typically I do this from ...
1
vote
1answer
25 views

difference between properties and tags in the upper right corner

I dont get the difference between the actual property, enabling the respective funtionality and the tag on the right upper side? *** Number 5 :B_example: :...
0
votes
1answer
37 views

Is it possible to configure a org file for paper as well as presentation using beamer?

I am documenting my work using org mode and babel. I am exporting it to a LaTeX based pdf document by using the header: #+TITLE: Document Title #+AUTHOR: Author #+EMAIL: author@somewhere.com #+...
0
votes
1answer
34 views

How to invoke another function only if there is some error with a given function?

Assume that I have two functions, say function1 and function2. I would like to execute function2 only if there is some error during the execution of function1. So far, I have tried the below code (...
12
votes
6answers
2k views

Recently opened files in ido-mode

I use ido-mode, but one thing I hate about it is that after C-x C-f I cannot use up/down keys to cycle through recently opened files, as it used to be for example with iswitchb. How can I set ido to ...
0
votes
2answers
87 views

Attaching files in mu4e from the clipboard

I use mu4e for email. I can attach a file to a new message with drag-and-drop or with dired (as in these directions from the manual). I would like to code the same behavior as Mail: in the Finder, I ...
0
votes
3answers
79 views

How to wrap / intercept commands bound to a given key?

I am trying to have a global override for a binding, where I am checking for some specific conditions to hold. If they don't, I would like that binding to do whatever it was going to without my ...
0
votes
0answers
19 views

ox-odt and ox-ipynb conflict?

It seems that there is a conflict between the ox-odt (from Emacs 26.3, Ubuntu 20.04) with the ox-ipynb when exporting an org file. I am not sure if I configured it right. But after I install ox-ipynb (...
0
votes
0answers
22 views

export to Beamer gets slower and slower

My presentation has like 30 slides, nothing fancy, mostly a couple of bullet points on each frame and in total like 10 small images. Still the export to beamer, i.e. a pdf takes like 10 seconds and ...
2
votes
1answer
40 views

Is there a way to mark certain file types as binary for magit, so that they are not diffed?

Magit sometimes becomes very slow, when it thinks that certain large files should be diffed. Examples for this are SVG graphics or SQL dumps (technically seen as text files). The files are small ...
1
vote
2answers
978 views

How to build Emacs for an embedded ARM Linux system

I am trying to build Emacs for an embedded ARM Linux system. Unfortunately, it is proving to be more difficult than I anticipated. I have the device mounted at /mnt/my_device. Now I am not sure ...
0
votes
0answers
17 views

Uncheck checkboxes on completing recurring task

I would like any checked checkboxes under a TODO heading to be unchecked when I mark it as DONE, if the heading is a habit and/or reoccurring. The usecase is to have a list of checkboxes under a ...
0
votes
0answers
22 views

spacemacs search and replace - rebind keys to emulate classic emacs

I started using Spacemacs on a Mac recently and to my horror discovered the M-% doesn't bind to query replace, but takes a screenshot instead. How can I reconfigure Spacemacs to behave like classical ...
0
votes
1answer
13 views

How to show C/C++ doxygen section titles in the mode-line?

For C/C++ code that use doxygen sections, it would be useful to show these in the mode-line, without slowing down the mode-line display significantly. Is there a good way to add context information to ...
0
votes
0answers
47 views

How can I provide the first-error and next-error initial positions as region selection in order to save to the kill-ring?

I am running a make command. I'd like to capture the first error and output it to a file. How can I select as a region from the beginning of first-error position to the position right before the next-...
0
votes
3answers
49 views

How to list a key binding in any modes?

For a given command, lets say C-c C-k, how to list the bindings of this key for all modes ? C-h k KEY show bindings only for the current mode. It's the same for invert commands like C-h f and C-h b. ...
0
votes
1answer
32 views

critical markup in org-mode or emacs?

Is there support for Critical Markdown in org-mode or in Emacs text editing in general? I am interested in MSWord style track-changes in plain text, and learned that Critical Markdown fits the bill. ...
1
vote
1answer
17 views

How to see brief location in the code in C/C++ mode

While editing a long C++ file, I use rtags to jump around. It would be very handy for me to know where I am in terms of where the cursor is relative to the classes-functions. For example, it would be ...
0
votes
2answers
122 views

How do I run an external command on an org mode source block?

I'm writing a screenplay using Fountain mode. My org file is set up so there are multiple screenplays in a given file, for example * Number one! #+begin_src fountain INT A PARK IN SAN FRANCISCO ...
0
votes
1answer
37 views

sectioning in org-mode to beamer does not work

I am trying to subdivide my presentation further into section and according to the org docs, setting #+BEAMER_FRAME_LEVEL: 2 should allow for top-level headlines to be interpreted as sections, whereas ...
0
votes
0answers
14 views

Auctex freezes when editing an equation containing '' at the end of a long document

Whenever I edit a particularly long document (thousands of lines) with auctex, I start getting freezes when I edit a math equation that contains a double prime '' far down in the document. My guess (...
1
vote
1answer
15 views

How to override Q in term-mode with passthrough if the shell process is still live?

I wrote the following emacs lisp procedure to kill a dead ansi-term buffer. It works well if called with M-x. Also, it appears to run correctly when the called in a living term buffer. However, dead ...
0
votes
0answers
19 views

How to wrap visual program with term? [duplicate]

I have installed visidata and am trying to integrate into my Emacs workflow through term-mode. As a proof of concept, I'm trying to successfully explore the mtcars data set as it would work when ...
0
votes
2answers
59 views

how to tell org mode to make subsequent lines children of the hierarchy

I have a list like this: remember to undo: product 0 discrimination limit(100) ENV['MANUAL_...'] When point is at the beginning of line 1, how can I tell org mode to make subsequent lines children ...
2
votes
1answer
31 views

Add last review date for a heading

I want to add a last-reviewed date for some headings. And in org agenda view, I want to filter outer the headings that have not been reviewed for some days. What's the org tools/functions/setup that ...
2
votes
2answers
6k views

File error: Cannot open load file

I have the following ~/.emacs: ;; Added by Package.el. This must come before configurations of ;; installed packages. Don't delete this line. If you don't want it, ;; just comment it out by adding ...
0
votes
1answer
70 views

Find file in a project in a mono-repo like `projectile-find-file`

My code base consists of a "mono-repo". A single large repository containing a flat structure of projects. Top Project1 Project2 Project3 Library Library I've been using ...
1
vote
1answer
58 views

How can I automatically swap frame buffers if the buffer is already open?

I've seen the https://www.emacswiki.org/emacs/buffer-move.el script, but I'm trying to something a bit different. Suppose I have a frame with a buffer from file A.h in it and A.cpp in another frame ...
10
votes
1answer
317 views

Org-Mode repeating task until

Simple question here, pretty new to org mode. I have an assignemnt I want to do once a day until a specific date. How can I have it scheduled for every day, but end on a ceratin day? This is what I ...
6
votes
1answer
492 views

how to get seconds on org-clock measurements?

With C-c C-x C-i and C-c C-x C-o we can get measurements on how much time we spend on tasks: :LOGBOOK: CLOCK: [2016-11-21 Mon 22:50]--[2016-11-21 Mon 22:57] => 0:07 CLOCK: [2016-11-21 Mon 22:30]-...
0
votes
0answers
31 views

org-mode: copy link to different part of the document

I have created a new org document and invoke org-insert-link to insert a link. Now it's rendered like this: Link description Now if I copy the link via the usual method of emacs, I just get the text &...

15 30 50 per page