All Questions

3,682 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
17
votes
0answers
1k views

Number of Emacs users in the world?

I saw someone on Twitter posing the question: It struck me as a very interesting question and got me thinking about how large the community actually is! I came up with two data points: Based on the ...
17
votes
0answers
1k views

How can I debug random Emacs server crashes?

I generally have a long-running instance of emacs --daemon, which I connect to with various emacsclients. Recently I have started experiencing random crashes. I say "random" because I haven't been ...
16
votes
2answers
1k views

How do I set up font fallback in a robust way?

TL;DR: What's a simple way to reliably say: use Consolas as the default font, FreeMono for the characters unsupported by Consolas, and Symbola for characters unsupported by both? Since my main ...
14
votes
0answers
428 views

Resolving duplicate ID's in org-mode

For a variety of reasons it's possible to end up with duplicate heading Id's (manually-set ID conflicts, copy pasta, duplicate files, etc.). When refiling you may get a message WARNING: 17 duplicate ...
13
votes
1answer
332 views

Is there a plugin that does color HTML matching tags like rainbow delimiters?

I would like some plugin which colors html tags with a corresponding color based on which tag they match. For example <div> <p></p></div> <div> and </div> would ...
12
votes
2answers
193 views

Saving Calc trail for later use

Is there a possibility to save the Emacs Calculator Trail (as a file) and to restore it later? If not, should it be feature? For example, when I have an incomplete calculation but have to shutdown ...
11
votes
1answer
439 views

including archives in org-mode clock-table

I clock my time in org-mode. Because projects in my line of work can last for several years, I'd like clock reports that extend over a long period of time. The problem is that it's annoying to keep ...
10
votes
0answers
565 views

How to get automatic backlinks when linking files in in org-mode?

Is it possible to automatically create backlinks to org-mode links? When a link to file B is added to file A, then also a link to file A is added to file B (i.e. the links are symmetrical - going both ...
10
votes
1answer
278 views

Highlighting upcoming dates in org mode agenda

I have entries in my org file similar to: * Birthdays :PROPERTIES: :CATEGORY: birthday :END: %%(org-anniversary 1981 1 2) Harry (%d) What I would like is for these to appear in the agenda (say) 2 ...
10
votes
0answers
2k views

Inline SVG's in org-mode?

I can see many image formats in orgmode, but not SVG. I get the error Invalid image type 'svg' when I run org-display-inline-images. It should be possible given this question exists: https://www....
9
votes
0answers
131 views

Create a “rabbit hole” task stack that can be pushed/popped?

I frequently fall into a sort of working anti-pattern involving “rabbit holes.”¹ Here’s the form it takes (with a concrete e.g. in parentheses): Start working on something (the “real task”) ...
9
votes
0answers
327 views

How can I force display-buffer to use one specific frame?

My daily workflow uses multiple frames, and I have a frame that I want to dedicate to ERC buffers. I've used set-frame-parameter to give the frame the name *ERC*. I want display-buffer to always ...
9
votes
0answers
3k views

How to improve emacs font rendering

On the left: emacs in console mode. On the right: emacs with GUI. Running 24.5.1 on Arch linux. Both my console and emacs have the font set to Inconsolata 12. What can I do to make the emacs with GUI ...
9
votes
0answers
115 views

Significance arithmetic in calc

I would like to perform significance arithmetic in calc-mode. For example, I want 5000 to have one significant figure, and 5.0e3 to have two significant figures. Calculations should preserve ...
9
votes
1answer
1k views

Coding System utf-8 on Mac - Which one and why as default?

I want to change my default encoding system from non defined to UTF-8 (I think that would be useful). Now I have seen many different UTF-8 coding systems: mule-utf-8 mule-utf-8-dos mule-utf-8-...
9
votes
0answers
457 views

Edebug orgmode source code blocks with input variables

What is the standard method to debug emacs-lisp orgmode source code blocks with input variables as header arguments? I found the hacky solution to insert the following snipped in front of a source ...
9
votes
0answers
605 views

How to immediately resize the minibuffer window?

Suppose that I have this function, that inserts some stuff into the minibuffer: (defun foobar () (interactive) (minibuffer-with-setup-hook (lambda () (let ((resize-mini-windows t)) ...
8
votes
0answers
302 views

How to expand external files inline on orgmode?

I know I can use something like #+INCLUDE: "./filepath" but this has effect only when I export the file. I can also use link like [[./filepath]] but I have to type C-c C-o to go to the content. How ...
8
votes
1answer
409 views

Read and edit Thunderbird's maildir with GNUS

As forums tell it should be possible to use GNUS for reading maildir created by Thunderbird. I did not find, however, any working implementations posted. And in my own experiments I could not make ...
8
votes
0answers
260 views

How would one configure emacs to interpret holding the space bar plus a rapid CPU temperature rise as holding down the Control key?

I'm surprised this question hasn't been asked here already. Is such configuration possible in emacs?
8
votes
0answers
170 views

Cycle through multiple cursors to enter different text at each point?

When multiple cursors has marked multiple points in a buffer you can use C-v (mc/cycle-forward) to cycle through and look through all cursors while typing for all cursors. I'm wondering how to enter ...
8
votes
0answers
2k views

Use helm-company as default for company autocompletion?

I want helm-company as the default selection method for company. Helm-company is meant to be invoked manually after company completion started. But I would really like to invoke helm automatically on ...
8
votes
0answers
1k views

error in process filter: could not create connection to marmalade-repo.org:433

When I run package-install in windows with Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570 I got error error in process filter: could not create connection to marmalade-repo.org:433 According ...
8
votes
1answer
167 views

Custom indentation for specific lines?

I currently try to figure out, how I can handle some lines specifically without messing up the indentation of the rest of the buffer. Consider the following function MyFunc as an example: void MyFunc(...
8
votes
1answer
602 views

Issue with nnmaildir in gnus

I've been trying to get nnmaildir to work along with mbsync (which syncs IMAP and Maildir mailboxes) and I just cannot get it to work with gnus. With the following select method: (nnmaildir "calgary"...
8
votes
0answers
692 views

How do I parse a simple grammar and obtain a syntax tree in Emacs lisp?

How can I construct a parse tree from a string and a simple grammar? Semantic seems very tricky, and SMIE does not seem to produce a parse tree. Here's an example, assuming a language that looks like ...
8
votes
0answers
120 views

Make browse-url follow URLs with line breaks?

How can I make browse-url follow URLs with line breaks? Example from RFC 1738: Yes, Jim, I found it under <URL:ftp://info.cern.ch/pub/www/doc; type=d> but you can probably pick it up from <...
8
votes
1answer
331 views

Is it possible to have word-wrap as standard but truncate some lines in a buffer at the same time?

I'm working with large LaTeX tables in AucTEX and it would be helpful to display them in truncated lines, like here: The red marks are the "&" characters which separate the columns of the table. ...
7
votes
0answers
452 views

How to syntax highlight Python f-strings so {…} uses regular code colors?

Python 3.6 supports F strings, eg: So: print(f'Test {} me!'.format(2 + 2)) Can be written as: print(f'Test {2 + 2} me!') Which print's Test 4 me, Is there a way to adjust emacs syntax ...
7
votes
2answers
349 views

Org mode quote block indentation (highlighting)

Can indentation of the Org mode quote block be configured? I would like to highlight quote blocks with indented margins, both left and right if possible: The example above demonstrates org-quote ...
7
votes
1answer
224 views

Increment days / months / dates, etc. within buffer

In a text document, while editing, I often need to increment/ decrement calendar data. So, Friday will need to become Monday, December will need to become March, etc. Or 28 Apr after adding 5 will ...
7
votes
0answers
115 views

Saving a .tar.gpg file

Saving a .tar file in Emacs works as expected. Saving a .gpg file also works as expected. However, when I save a .tar.gpg file, instead of saving an encrypted form of the actual tar file, it instead ...
7
votes
0answers
80 views

What was syntax-begin-function obsoleted in favour of?

Since Emacs 25.1, syntax-begin-function is obsolete: syntax-begin-function is a variable defined in ‘syntax.el’. Its value is nil This variable is obsolete since 25.1. This variable may be risky ...
7
votes
0answers
316 views

How to get Emacs to use the Mac system-level spell correction capabilities?

Mac OSX has autocorrect for spelling that: Doesn't require pressing any buttons to make a retroactive change. Doesn't require manually inputting these corrections/abbrevs. I want to get this same ...
7
votes
0answers
339 views

org-mode ODT export template

I would like to export org file to ODT. Is there any nice ready to use ODT template that can be used for exported documents? Default template is not good looking. I had the same problem with html ...
7
votes
0answers
334 views

Symbol menu in auctex math mode

in AucTex math mode several symbold are already defined. Fom latex.el: (defconst LaTeX-math-default '((?a "alpha" "Greek Lowercase" 945) ;; #X03B1 (?b "beta" "Greek Lowercase" 946) ;; #X03B2 (?g "...
7
votes
0answers
81 views

Ediff location pane

Is there a way to create something similar to the location pane from win merge in ediff? Not having this is about the only reason I use win merged instead of ediff.
7
votes
1answer
449 views

How to get org-mode fully support Arabic language for export?

My intention is to write Arabic document using org-mode. Please consider the following MWE, given that my configuration in init.el has below code to enable writing of Arabic script from right to left (...
7
votes
0answers
389 views

How to indicate the currently clocked-in task?

I'm using org-mode's clocking functions to track the hours I spend on projects. Since my main org file is rather large and I scroll through it a lot, it would be great to have a visual cue of the task ...
7
votes
2answers
156 views

Syntax highlighting fails on clone-indirect-buffer-other-window

I normally use indirect buffers while I edit python code in python-mode, I create them by running clone-indirect-buffer-other-window. While the syntax highlighting of the main buffer looks just fine, ...
7
votes
0answers
812 views

“Creating pipe: too many open files” error when running org-publish on large project

I have an org project that has many .org files (more than 300). When I invoke org-publish in Emacs, after a while it aborts and shows: ... ... Publishing file e:/git/blog.site.src/src/org/life/day-...
7
votes
0answers
605 views

Is it possible to preview TeX formulas automatically on auctex-mode?

In auctex mode, whenever I write a new formula I have to type C-c C-p C-p to render it as an inline image. I'm wondering if it's possible to automatically render the formula or equations as I write ...
7
votes
0answers
1k views

How to better align tags in Org Mode using variable-width font

I prefer using variable-width fonts in Emacs whenever I can. That said, Org Mode tags are horribly aligned when headings use variable-width fonts, even if the tags themselves use fixed-width fonts. Is ...
6
votes
0answers
64 views

Evaluate some arguments to macro immediately

I am trying to call a macro (defined somewhere else; I can't change it), but I want to evaluate some of the arguments before the macro is expanded. Is this possible? For example: (defmacro foo (&...
6
votes
0answers
254 views

When to use quote for lists? Modifying quoted lists in Elisp

The Common Lisp Hyper Spec says: The consequences are undefined if literal objects (including quoted objects) are destructively modified. This is further motivated at the Constant Modification ...
6
votes
1answer
144 views

Clone a buffer to see the same contents in an other mode

Suppose I'm working on a file in org-mode or enriched-mode or html-mode ..., and I wanted to see the same contents in an other window with an other mode, say text-mode, how to do that? I tried to ...
6
votes
0answers
31 views

Prefer matches that have multiple hits?

It seems that helm prefers shorter paths when ordering the current set of matches. Is there a way to keep this general behavior but also take the number of matches into account? In the screenshot I ...
6
votes
1answer
71 views

How to group digits in minibuffer when sending input to calc?

Is it possible to send something like 200*100,000 as an input to calc? Documentation says Long numbers can be hard to read if they have too many digits. Press d g (calc-group-digits) to enable ...
6
votes
0answers
223 views

How to archive an org-mode subtree along with its parent headlines

Let me start out by saying I've seen various attempts to address questions similar to mine, but none of them handle the things I'm looking for. Here is an example of what I'm looking for: Say I ...
6
votes
0answers
300 views

How to make Geiser send the output to REPL buffer instead of echo area?

I am running Emacs25 with Geiser (latest version from MELPA, 20180128.1821) and Guile (version 2.2, Debian package). So far it works fine, but when I evaluate a sexp, it will print the result to Emacs'...

15 30 50 per page