Most Popular
1500 questions
11
votes
2 answers
Change org-mode table style just for LaTeX export
I am trying to customize the style of my org-mode tables when exported to Latex. I need to change their font face, their font size, the background color of the header and the background color of every other rows.
I see lots of discussions on how to…

xav
- 225
- 2
- 8
11
votes
2 answers
Programmatically insert files into Dired buffer
I have a list of file names (with full path) and I want to create a Dired buffer listing this set of files. How would I go about doing that?
How do I create a Dired buffer from a list of file names?
Without using external dependencies.

Tu Do
- 6,772
- 20
- 39
11
votes
1 answer
How to use .dir-locals.el with Projectile?
I'm trying to ignore some file patterns while performing helm-projectile-grep and some with helm-projectile-find-file. I've found that it could be achieved using .dir-locals.el here.
Following this chunk of documentation I've made my .dir-locals.el…

foki
- 886
- 8
- 22
11
votes
3 answers
For MacOS: how to bind left and right option keys separately?
Using Gnu Emacs in MacOS "El Capitan".
Question:
How do I bind the right option key to control but keep the left option key bound to option?
Background:
I found that even with caps_lock as control my left hand would start to ache, so I decided to…

Ruby
- 335
- 3
- 8
11
votes
1 answer
Emacs as a CAT (Computer-Assisted Translation) tool
Getting tired of the poor editing capabilities of software like OmegaT, I would like to know if there is a way to turn Emacs into a CAT (Computer-Assisted Translation) tool. I was thinking about writing a major-mode, but feel free to share your…

Boccaperta-IT
- 1,556
- 11
- 24
11
votes
1 answer
Unadvise a function (remove all advice from it)
I cannot find a predefined command in nadvice to easily unadvise a function in Emacs 24.5.1.
Something like:
(defun advice-unadvice (sym)
"Remove all advices from symbol SYM."
(interactive "aFunction symbol:")
(advice-mapc `(lambda (fun props)…

Tobias
- 32,569
- 1
- 34
- 75
11
votes
1 answer
More than one line in mode-line?
I would like to make modeline display all information not in one line but in two - for example first for cursor info, buffer, file, git and flycheck, and on second line - modes info (major and minor modes). Is it doable somehow? I googled…

sandric
- 1,221
- 9
- 19
11
votes
3 answers
Org Mode Default to Alt-Enter for Bullets
I want org-mode to default to alt-enter when under bullets, so that for bullets I can just press enter to make a new bullet.
So for instance:
Banana
Apple
Kiwi [MOUSE CURSOR HERE]
When I press enter, I want the following behavior (which happens…

Josh Cho
- 111
- 3
11
votes
5 answers
Simple method for creating multiple eww buffers
M-x eww prompts for url or keywords and opens a new *eww* buffer. In eww-mode, G is bound to eww, which replaces the content of the single eww buffer.
To make multiple buffers for different webpages, I've resorted to creating a new buffer, setting…

R. P. Dillon
- 415
- 3
- 11
11
votes
5 answers
Calc: copy only a value, not stack number
This seems so obvious that I feel sure that I've just missed something in the manual. I frequently do a calculation and then want to use that calculation elsewhere. But let's say my stack is currently:
--- Emacs Calculator Mode ---
1: 42
.
Any…

Trey
- 865
- 5
- 20
11
votes
1 answer
Org Mode: Using table formula outside of a table?
I'm wondering whether it's possible to display the result of calculations performed on table data, outside of a table.
For example, suppose I have a table of with a list of names. Is it possible to have plain text that says something like "This…

Chris
- 699
- 3
- 13
11
votes
3 answers
How can I display the parent directory of the current file in the modeline?
I would like to be able to see the location of the current file's parent directory, independent of the current buffer name.

secondplanet
- 113
- 1
- 5
11
votes
3 answers
Making an image (ie. image-mode) auto reload changes from disk
I have an image generated by plantuml which I open in an Image mode buffer. I want to use Auto-Revert mode so it auto-refreshes, but it doesn't seem to work on Image mode buffers for some reason. Is there something I'm missing?

Mark
- 1,409
- 1
- 15
- 20
11
votes
1 answer
Attach to running remote shell with eshell/TRAMP/dtach
I often use GNU Screen to keep remote sessions alive. Since I live in Emacs, I'd really like to be able to resume a running remote shell session from within Emacs.
GNU Screen implements all sorts of fancy things like terminal multiplexing and…
user2005
11
votes
2 answers
Equivalent to --no-wait for emacs
The emacsclient program allows a flag --no-wait (abbreviated as -n) which will cause the emacs server to visit the specified file, and return immediately.
emacsclient -n ~/.bashrc
If I provide an alternate editor, then this will still work in cases…

nispio
- 8,175
- 2
- 35
- 73