All Questions

6,144 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
26 votes
1 answer
3k 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 ...
Clément's user avatar
  • 3,973
16 votes
1 answer
658 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 ...
Octopuscabbage's user avatar
14 votes
2 answers
1k views

orgmode line wrap except table

In orgmode, how can I get below line wrap behavior: for text (other than table), I wish line wrapped. for table, I do not wish it's wrapped. I can add below line in init.el (global-visual-line-mode ...
lucky1928's user avatar
  • 1,644
12 votes
0 answers
1k 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 ...
Tobias's user avatar
  • 32.8k
11 votes
0 answers
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 ...
clemera's user avatar
  • 3,441
11 votes
0 answers
878 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)) ...
abo-abo's user avatar
  • 14k
10 votes
1 answer
1k 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'...
Jay's user avatar
  • 243
10 votes
0 answers
315 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 ...
ebpa's user avatar
  • 7,389
10 votes
0 answers
242 views

How to investigate "color bleeding"?

I frequently have color-bleed issues in emacs, most often with AUCTeX: all of a sudden and for no apparent reason, the line I'm writing will be fontified as math. First things first: no, I do not ...
T. Verron's user avatar
  • 4,263
10 votes
1 answer
267 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(...
Rosepeter's user avatar
  • 101
10 votes
0 answers
187 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 ...
Matthew Piziak's user avatar
10 votes
2 answers
2k 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 ...
kgo's user avatar
  • 532
9 votes
1 answer
371 views

indent cl-loop to respect `if else` statements

I have a hard time writing and reading cl-loops with they way they're indented by default as I can't easily tell what the control flow is: (cl-loop for x below 10 if (cl-oddp x) ...
Aquaactress's user avatar
  • 1,443
9 votes
0 answers
2k views

Display all local variables within a edebug session

When using edebug one can get a local variable by command describe-variable (C-h v), but are there any ways to display all local variables? For example in Python you can call locals() in a pdb ...
atevm's user avatar
  • 938
9 votes
1 answer
1k 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"...
CRB's user avatar
  • 101
9 votes
0 answers
949 views

gud: highlight breakpoints with custom debugger

I use go-dlv to debug Go programs. This package is very simple and relies on standard gud functionality (https://github.com/benma/go-dlv.el/blob/master/go-dlv.el) One thing that I found missing is ...
kostya's user avatar
  • 503
9 votes
1 answer
3k 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-...
Rainer's user avatar
  • 907
9 votes
1 answer
885 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. ...
MostlyHarmless's user avatar
8 votes
1 answer
543 views

Emacs Mode For Editing Guitar/Bass Tablature?

I have been looking for a while, and have not been able to find an Emacs major mode for editing Guitar/Bass tablature.
EmacsAttack's user avatar
8 votes
0 answers
1k 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 ...
Mark's user avatar
  • 828
8 votes
0 answers
1k views

show output from python-shell-send-region

Using python.el and ipython.exe (from Miniconda3), I'd like to highlight a portion of code and execute it in the associated inferior python buffer. Example: #!/usr/bin/python3 myvar = 100+200 ...
r2evans's user avatar
  • 245
8 votes
0 answers
313 views

Can body-only exports be performed by default?

I have an org file: #+TITLE: Hello! Hello world! I can perform a "body-only" export of this file to html by issuing C-c C-e C-b h h. Here, the C-b keystroke toggles the "body-only" variable from ...
Brian Fitzpatrick's user avatar
8 votes
0 answers
611 views

how to expand org-mode macros in HTML blocks in export to HTML?

I'd like to use org-mode macro replacement to expand macros inside HTML blocks in org-mode export to HTML. I'd like this... #+MACRO: event-url bar #+HTML_HEAD: <meta property="og:url" content="...
incandescentman's user avatar
8 votes
0 answers
494 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 ...
Aubrie's user avatar
  • 181
8 votes
0 answers
562 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 ...
Hubidubi's user avatar
  • 213
8 votes
0 answers
567 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 ...
purple_arrows's user avatar
8 votes
0 answers
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 ...
ironsand's user avatar
  • 413
8 votes
0 answers
535 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 ...
ph0t0nix's user avatar
  • 1,119
8 votes
2 answers
259 views

Is it possible to make calc autocomplete units?

Is there some extension that can make calc autocomplete units while value entered as algebraic input? e.g. ' 1 kn<tab> should be completed to "1 knot".
gordon-quad's user avatar
8 votes
0 answers
3k 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 ...
Dan's user avatar
  • 32.7k
8 votes
0 answers
9k views

Restart emacs daemon from within emacs

Very much like Restart emacs from within emacs, except I'd like to do this for an emacs daemon and client. Specifically, I'm interested in the terminal client, but of course being able to restart ...
PythonNut's user avatar
  • 10.3k
8 votes
0 answers
166 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 <...
feklee's user avatar
  • 1,049
8 votes
1 answer
956 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 (...
doctorate's user avatar
  • 1,799
7 votes
0 answers
1k views

Warning: quoted with ' rather than with #'

After switching from Emacs 25 to Emacs 28 I started to get this warning message during the loading of my custom settings .emacs.d/init.el: Warning: (lambda nil \.\.\.) quoted with ' rather than with #'...
PinkCollins's user avatar
7 votes
0 answers
858 views

Behavior of indentation in Org

I use Emacs 27.2 and Org 9.4.6. Since a very recent update of Org, I noticed a strange change in the behavior of indentation. In my init file, I have set the variable org-adapt-indentation to '...
Philopolis's user avatar
  • 1,124
7 votes
0 answers
477 views

xref unsuccessful in python buffers: "no definition found"

The command xref-find-definitions is no longer working for me in Python buffers (with elpy-mode enabled. Its companions, such as xref-find-references, are also not working in Python buffers. ...
bashfuloctopus's user avatar
7 votes
1 answer
4k views

How to debug C++ (dap-mode + LLDB or GDB)

I want to use dap-mode to debug a C++ code. Until now I followed instructions dap-mode (LLDB) and lldb-vscode. I further enabled the mode and UI via (dap-mode 1) (dap-ui-mode 1) When I execute dap-...
DrDirk's user avatar
  • 223
7 votes
0 answers
191 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 ...
Alex Popescu's user avatar
7 votes
0 answers
765 views

latex inside table using table.el in org mode

I am trying to achieve multicolumn cells in org-mode tables like in Multicolumn cells in org-mode tables, but with Latex inside the cells. * Minimal Example +------------+-----------+-------------...
user19456's user avatar
7 votes
0 answers
2k views

Tramp freezes Emacs with OpenSSH on Windows

I just installed Emacs on my Windows machine for remote file editing using Tramp. However, I noticed than whenever I try to connect to a remote server (C-x C-f /ssh:home:), Tramp just displays Opening ...
Nick Clifford's user avatar
7 votes
0 answers
1k views

Hierarchical org refile support with ivy

When I enable ivy-mode in an org buffer and C-c C-w for refile, all headlines are presented as refile targets. So far so good. I relied on the org default setting (org-outline-path-complete-in-steps '...
JohnDoe's user avatar
  • 203
7 votes
0 answers
185 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 ...
Nolan Akash's user avatar
7 votes
0 answers
109 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 ...
Tim Landscheidt's user avatar
7 votes
0 answers
816 views

Narrow to a sparse tree?

There are times I prefer to work in a sparse tree instead of an agenda, namely ease of quick edits. However the sparse tree, even with all folds level set to on (e.g. org-show-siblings and others), ...
traycerb's user avatar
7 votes
0 answers
475 views

How to properly indent application in scheme-mode?

The scheme-mode indents application in this way: (define (x) (x 1 2)) But when the function to apply is the result of another application scheme-mode indents the code this way: (define (f) ...
ceving's user avatar
  • 1,338
7 votes
0 answers
264 views

How to let `recentf` not to remember real path when there's a symbolic link?

Since my .emacs.d is a symbolic link of ~/dotfile/dot/.emacs.d, recentf keeps duplicated thing like /Users/user/.emacs.d/init/init-editor.el /Users/user/dotfile/dot/.emacs.d/init/init-editor.el ...
Saddle Point's user avatar
7 votes
0 answers
664 views

Org-mode inline .eps images display error. (.eps created by AI ok, .eps created by matplotlib no)

As I basically use Org to take note and export LaTeX files, I find displaying eps files as inline image to be important for me.I have my emacs compiled with ImageMagick support, and added the ...
L.Zoeta's user avatar
  • 131
7 votes
0 answers
501 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 "...
Honigmelone's user avatar
7 votes
0 answers
1k views

Scaling of inline SVG previews in org-mode

If I insert a jpg in my org-mode document, I can preview it and scale its width, like so: Add the following code to my init.el file: (setq org-image-actual-width nil) Then insert this code in my ...
Adam's user avatar
  • 1,887
7 votes
0 answers
101 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.
Samuel's user avatar
  • 171

15 30 50 per page
1
2 3 4 5
123