All Questions

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 ...
15
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 ...
12
votes
0answers
341 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 ...
10
votes
0answers
463 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
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
110 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
0answers
418 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
564 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
305 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
566 views

org-mode captions not supported for EXAMPLE blocks?

Please consider the following, self-contained .org file MVE, which I hope is self-explanatory: #+OPTIONS: toc:nil Figure [[captions-work-for-src-blocks]] shows that captions are correctly exported ...
8
votes
0answers
164 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
285 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 ...
8
votes
0answers
979 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
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 ...
8
votes
0answers
625 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
117 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 <...
7
votes
0answers
76 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
284 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
283 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
205 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?
7
votes
0answers
317 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
77 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
0answers
1k 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 ...
7
votes
0answers
357 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
0answers
568 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
927 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
182 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 ...
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
0answers
181 views

How do i run zone (zone-when-idle) for all windows?

Zone Mode is awesome But when I run it using M-x zone, or by setting zone-when-idle variable it starts animating only one(selected) window. Is there any way to run it for all windows?
6
votes
0answers
96 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 ...
6
votes
0answers
82 views

How to build Emacs without byte-compiling Lisp files

Q:  Is there an option to build Emacs without byte-compiling the Lisp files? BACKGROUND:  The length of time needed to build Emacs makes debugging / developing an extremely slow process. For example,...
6
votes
0answers
380 views

Display tab characters as arrows of varying length

I would like to make tab characters ("\t") display as arrows of varying length, just like in editors such as Notepad++, gedit, Geany, etc. Here is an example with tab width set to 4 and space ...
6
votes
0answers
389 views

Line number (linum, nlinum) grow margin with increase in font size

When I turn on linum-mode or nlinum-modeand increase the font size via C-x C-+ it does not increase the size of the "margin" where the line number is displayed, so only part of the line number is ...
6
votes
0answers
100 views

Code blocks in font-lock comments

I'm developing a major mode for a language that has doc comments. They look like this: (** Foos three bars. Better call this as [foo 1 b c]. Though of course [foo a b 1] works as well. **) ...
6
votes
0answers
43 views

Multiple process categories for Gnus

When I process emails, 90% of my messages are either deleted or archived. When I get a big backlog, I work through the list marking a batch, then archiving or deleting them (B del or B m), and then ...
6
votes
0answers
221 views

Emacs org-mode, agenda view, discover overlapping tasks

If I have following scheduled items in my org file: ** meeting a SCHEDULED: <2015-11-12 Thu 21:00-23:00> ** meeting b SCHEDULED: <2015-11-12 Thu 22:00-23:00> which generates ...
6
votes
0answers
1k views

Move item from org archive back into org agenda file?

Q: how does one move a project out of the org archive and back into its original spot in the agenda file? org-mode has facilities to archive projects. Every once in a while, however, I need to ...
6
votes
0answers
117 views

How to control appearance of extra cursors?

I've just switched to “I-beam” cursor shape, it's set this way: (setq-default cursor-type '(bar . 1) cursor-in-non-selected-windows nil) But when I create additional cursors they are displayed as ...
6
votes
0answers
717 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-...
6
votes
0answers
698 views

How to find what causes ESS to run very slow?

When working with an iESS session of R and an R file open side-by-side, I noticed extremely slow performance when typing indetifiers. Typing braces and operators is fine, however, when an identifier ...
6
votes
0answers
975 views

Projectile only sees project related to current buffer, if the buffer belongs to a project

I have two projects opened in my Emacs. Both are git repos and have .projectile files in their directories. Relevant lines in my init.el (projectile-global-mode 1) (helm-mode) (setq projectile-...
6
votes
0answers
457 views

Cannot edit a file as root if ~/.authinfo.gpg file exists

I got ~/.authinfo.gpg to store my multiple email accounts for gnus, but if ~/.authinfo.gpg exists, the tramp won't work. It will always say: Decrypting /home/chz/.authinfo.gpg...done Emacs won't ...
5
votes
0answers
56 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 (&...
5
votes
0answers
75 views

Why is cloning of file buffers prohibited?

Why does clone-buffer not work on file buffers. I can make it work by the following advice: (advice-add 'clone-buffer :around (lambda (oldfun &rest args) "Allow cloning file buffers." ...
5
votes
0answers
39 views

org-fill-paragraph in a list with checkboxes doesn't take into account the checkboxes

I'm trying to figure out a way to change the behavior of org-fill-paragraph for a list with checkboxes. I would like the indentation to take into account the checkbox, but here is what I see: - This ...
5
votes
0answers
65 views

How to schedule repeatable sequences of tasks

I've been trying to find the right approach of scheduling a repeatable sequence of tasks: first approach was to mark the parent as repeatable and children as normal tasks. * TODO This is the ...
5
votes
0answers
262 views

recording cross-buffer cut-and-paste

I'm interested in trying to track where my ideas come from. Suppose I open files f1,f2,f3 and cut-and-paste lines from these files into f4. I'd like to record this information in a log file (say f4....
5
votes
0answers
200 views

After change to org-mode 9.1.13, TAB not work when put after `<s`

Usually, TAB after <s expand to #+BEGIN_SRC in org-mode, but today I updated my org to version 9.1.13, and TAB not work this way any more. I don't know where to start to figure this out, but I C-h ...
5
votes
0answers
106 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 ...
5
votes
0answers
75 views

Any advice? - Struggling with text reuse in emacs buffer

I'm basically a level 0 emacs/orgmode user, trying to get the hang of Emacs/Orgmode. Doing this like for the 5th time already, as most Emacs beginners obviously. I have this feeling I'll like and be ...

15 30 50 per page