All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
5 views

M-x compile hangs with WARNING: terminal is not fully functional

I have been using M-x compile for ages. Lately (our sysadmin has updated many things) it hangs after giving this message: WARNING: terminal is not fully functional - (press RETURN). Pressing return ...
0
votes
0answers
4 views

Heading of higher level in agenda view?

I often collect several meetings under one heading in my org files, e.g.: * Interdisciplinary studies ** Paracelsus reading group *** Meeting <2020-01-07> ... *** Meeting <2020-01-14> ...
0
votes
1answer
15 views

Compile emacs from feature/native-comp (gccemacs) branch on Ubuntu

I want to compile the gccemacs branch of Emacs. When I run ./configure, the configure script errors with: cd emacs git checkout feature/native-comp ./autogen.sh ./configure --with-nativecomp ...
0
votes
1answer
16 views

Is there a way to generally search package or language documentation within emacs?

In this case, I'm most interested in Rust's documentation, which lives at doc.rust-lang.org/std. eww is incompatible with JS, so the documentation doesn't play nice, thus my general current soln is to ...
0
votes
1answer
11 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?...
0
votes
0answers
25 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
0answers
9 views

Exported org file to pdf with content out of page

I'm writing a document with some long strings on it, then I export the org file to pdf with the classic C-c C-e l p . Then when I check the document, the long string are out of the page. How can I fix ...
0
votes
0answers
6 views

Getting rid of plain text timestamp entry in agenda export

I am trying to create a weekly agenda that I can print out and use without having to be at the computer To best explain my problem I will use some screenshots This is the normal org file that I will ...
0
votes
1answer
18 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, ...
0
votes
1answer
26 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
27 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
66 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
18 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.
0
votes
1answer
31 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
29 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
25 views

How do I make emacs indent relative to the beginning of the previous line?

Here's how emacs indents e.g. Python code: a = myfun(b, c) I'd like it to be this way: a = myfun(b, c) Reasoning? If I later replace myfun with myfunction, in the first case it becomes:...
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
262 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
133 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
153 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
19 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
8 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
112 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
14 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> ...
-2
votes
2answers
402 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
33 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 ...
2
votes
1answer
89 views

Pre-populate property entry menu with items from setup file

I have a collection of Org files that all link to a central properties file in which I specify _ALL properties so that I can get uniform entry of information across many files: #+SETUPFILE: ../../...
1
vote
1answer
22 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
30 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
28 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
86 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
72 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
14 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
21 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
37 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
970 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
14 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
16 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
11 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
36 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
46 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
29 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
16 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
117 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
63 views

Add horizontal line to every line

I recently saw this image on r/unixporn. How can I recreate the 'notebook' effect: the broad line-height and underline of each line, but in Emacs (iiuc this is achieved using rxvt + pixmaps in Linux).
0
votes
1answer
28 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
14 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 ...

15 30 50 per page
1
2 3 4 5
388