All Questions

Filter by
Sorted by
Tagged with
8
votes
2answers
4k views

Is there a transparent theme?

I've been looking for themes which are transparent, but I didn't find any. Is there someone who uses a transparent theme?
1
vote
1answer
783 views

How to set magit remember git passphrase on Windows?

I run magit on Linux and it works very well. On Windows, it works almost the same except the push process: Git Bash would ask me to enter passphrase to continue, while magit just hangs. I set ssh-...
4
votes
2answers
444 views

Backup saved buffers to Dropbox (or other specific directory)

Is it possible to customize Emacs so that whenever I save a file, Emacs also copies it to a specific folder? This directory could be, for instance, D:\my_backups or C:\Users\username\Dropbox\...
39
votes
2answers
21k views

How to disable auto-indentation of new lines?

I've recently upgraded emacs to version 24.4.1 and something has changed in the indentation of new lines. When I hit enter I expect just "bare" new line character at point where cursor was present, in ...
11
votes
3answers
7k views

How to make auto-complete work in AucTeX mode?

I want auto-complete (ac) to work when I am inside AucTeX mode. I get all packages from MELPA by package installation. This is my relevant code in init.el file: (require 'package) (package-...
5
votes
2answers
1k views

Partial function application

apply-partially lets you create a new function by fixing the first n arguments of an existing function. Is there any way to achieve unrestricted partial function application, i.e., the ability to fix ...
4
votes
1answer
1k views

multiple files in LaTeX?

I currently use emacs to write and compile LaTeX files using the key combo: C-c C-f. Now this is all well and good, but now I'm working on a much bigger project that is divided into many chapters. ...
10
votes
1answer
1k views

How to sort file list in helm-find-files

When I use helm-find-files to search for a directory. I would like it to display exact matches and directories first in the list of candidates, followed by files. For example, searching for "src" ...
12
votes
2answers
280 views

Is it possible to make the echo area next to cursor?

The problem: I found it's tiredsome to move my eyeballs up and down from where my cursor is to the bottom echo area. The question: is it possible to make the echo area dynamically allocated close to ...
3
votes
2answers
3k views

org-capture : how to choose the target file at the end of the process?

I use org-capture a lot, it's a terrific feature. However, sometimes i'd like to choose the target of the note during or at the end of the process, not at the beginning from the template. The ...
7
votes
1answer
164 views

Is it possible to open .iso file in emacs dired?

When I open .iso file in dired, I have to mount it a temp folder mount -t iso9660 foo.iso temp then navigate to that folder, read the files. Is it possible to open .iso file in dired directly? (...
3
votes
0answers
1k views

Template for latex export in org-mode?

I would like to create a template called "my-article", with specified packages and settings to be exported to latex from org-mode. How can I do this? PS: the instructions for org-mode<8.0 does not ...
2
votes
1answer
84 views

Why aren't these two otherwise identical forms `equal`?

This requires the let-alist package available on the GNU ELPA (built-in in 25.1). I have the following macro: (defmacro sx-assoc-let (alist &rest body) (declare (indent 1) (debug t)) (...
31
votes
3answers
6k views

Is there an Emacs mode which highlights differences from the committed version?

One feature that Xcode has which I think is pretty neat is a "Comparison" mode, which continually shows differences between the current buffer and the most recent commit. Is there anything like this ...
0
votes
1answer
559 views

post-command-hook and prefix argument

I have a non-interactive function F to do post processing after each command. F is buffer locally hooked to post-command-hook. Whenever F is hooked the prefix argument is eaten and the next command ...
8
votes
1answer
336 views

Underlining in org-mode links with multiline descriptions?

Q: How can I stop underlining through the left "margin" in links that extend over more than one line? The face org-link inherits from the face link, which has the underline attribute set to t (or at ...
6
votes
1answer
435 views

Is it possible to rgrep *.el.gz files?

I often find myself debugging some stuff in the installed Emacs sources, which are in *.el.gz form. And the ability to rgrep would be quite handy. Is this readily possible?
4
votes
1answer
97 views

Force twittering-mode links to always open in a specific frame?

My (simplified) setup: one frame for twittering-mode and another for w3m, among others, all inside tmux. While in the twittering-mode frame, C-m on a link does one of two things. Sometimes, the link ...
12
votes
2answers
2k views

How can I view the hierarchy of TODO keywords in org agenda mode?

I have a variety of (facile) tasks in some kind of hierarchy. * TODO Make a pizza ** TODO Get cheese *** TODO Buy a cow ** TODO Get tomatoes *** TODO Grow tomatoes **** TODO Buy tomatoes ** TODO Buy ...
0
votes
2answers
149 views

move-beginning-of-line broken in comint mode

After a while running emacs (typically days) all comint buffers start to behave strangely (shell, python, SQL). The ones I have already opened and the new ones that I open. When I am after prompt, C-...
1
vote
0answers
369 views

Why does the alt+enter combination only work sometimes in org mode?

I used to be able to use alt+enter to create new entries in org mode. EMACS suddenly stopped responding to the combination and started to return "M-kp-enter is undefined". How can I get it to work ...
5
votes
3answers
720 views

Load all org files into buffers?

I've got a couple dozen org files that I'd like to have loaded at once. They're in a directory structure something like this: org/dev org/dev/python.org org/dev/emacs.org ... org/dev/ios org/dev/ios/...
1
vote
1answer
220 views

Line break/word wrap setup for writing a book/journal

I've just started learning Org-Mode and have comes across the issue of unending lines while journalling. All the different minor modes for line breaking and word wrapping have me confused. I want ...
24
votes
1answer
8k views

How to highlight text permanently in org-mode

I know I can use *bold*, /italic/, _underlined_, =verbatim= and ~code~, and, if you must, ‘+strike-through+’ to do some markup to text according to org-mode documentation, but they are not enough for ...
1
vote
1answer
54 views

Setting minimum time between consecutive reparses by semantic

According to the Semantic docs, semantic-edit.el is the file which handles all incremental parsing. I see frequent incremental parse errors(not information messages, since I have semantic-edits-...
4
votes
3answers
571 views

Global Unset Key: Backspace

I want to unset the backspace key and I tried this: (global-unset-key (kbd "<backspace>")) Evaluating this in the buffer gives me nil but still the backspace key works as expected. How to ...
4
votes
2answers
663 views

How can I only show different lines in ediff?

This seems like such a basic feature to have in a diff mode, but I can't find anything in the documentation. If I have two 1000 line files, and only one line is different, I want to be able to hide ...
8
votes
1answer
6k views

How can I prevent GNU Emacs from splitting windows on startup?

Whenever I try to open an existing file with GNU Emacs, the window always split horizontally so as to show two buffers: one buffer containing the file and the GNU Emacs buffer. How can I set up Emacs ...
3
votes
3answers
1k views

Find in Project with Ack

Trying to find in Project with Projectile.. In the Projectile menu i have Find in project (grep) Find in project (ack) Grep works but if i try ack i get.. -*- mode: ack-and-a-half; default-...
3
votes
3answers
924 views

Adding an action to helm-for-files

How can I add a custom action to helm-for-files? The helm wiki mentions that executing eshell commands is an available action for helm-find-files. So, if you are using helm-find-files, one way of ...
2
votes
2answers
241 views

Keeping track of a pdf viewer spawned via AUCTeX?

When using AUCTeX with pdflatex, one can run C-c C-c (TeX-command-master) or C-c C-v (TeX-view) to spawn a PDF viewer. I use Evince on Debian Wheezy, in case it's relevant. This might sound a ...
8
votes
3answers
313 views

Is there a way to know which keys or functions I used most?

If I can find out which keys I used most, I may create a macro for it; if I can find out which function I used most yet not binded, I can bind it to a key. This may improve efficiency. Is there a way ...
6
votes
1answer
480 views

Easy way to insert Org options?

I really cannot bear to memorize so many options' name for Org-mode just like learning English vocabulary. For example: #+ATTR_LATEX:, #+tblname:, #+CAPTION for tables, #+ATTR_HTML: for HTML exporting....
7
votes
1answer
1k views

What Emacs feature is nearest to Vim's quickfix?

The common use of Vim's quickfix is to hand off compilation of code to a command specified by the suggestively named makeprg variable and then interpret the errors printed by that command so you can ...
7
votes
1answer
731 views

How to set up Emacs to never split windows?

I want to try a new workflow where split windows only happen if I request them, otherwise Emacs simply changes windows. I tried putting this command in my init.el: (setq pop-up-windows nil) And it ...
4
votes
1answer
406 views

Openwith doesn't work in dired

Here is my openwith settings: (require 'openwith) (setq openwith-associations '(("\\.mov\\'" "smplayer" (file)))) (openwith-mode t) When I press enter in dired mode on a .mov file, it still open it ...
1
vote
1answer
282 views

How to set default program to open a file in helm?

In helm, when finding a file, C-c C-x would prompt for open with external program option. Is there a way to set a default program, say, smplayer for .mov file. Then I can just press Enter to open it.
10
votes
3answers
2k views

How to auto-format the source code block in org-mode

When I'm using org-mode to take notes about a book, sometimes I'll copy/paste some code snippets into the note file. After pasting it, I'll 1. `C-c '` to call `org-edit-special` 2. `C-x h` to mark ...
2
votes
3answers
3k views

Regular expression to match text within quotes

I have a text like this: ''Lorem ipsum'' dolor ''sit amet, '' consectetur adipiscing elit. What I want is to get the sit amet correctly wrapped around with '', like this: ''Lorem ipsum'' dolor ''...
4
votes
1answer
621 views

Using with-editor

I learned about with-editor in this thread. This is something that I have been looking for a long time. I tried to use it to modify EDITOR and VISUALfollows: I installed it from MELPA, then I open ...
3
votes
1answer
495 views

Org headlines are never exported to \paragraph in LaTeX

I want to export an Org file into PDF, with any depth titles showed in TOC; however, cannot works. Even though adding \setcounter{tocdepth}{5}, TOC still only contains the title of 3rd depth (\...
1
vote
1answer
2k views

Matching any printable character but whitespace

I would like to match a word (that can contain any printable characters except space) separated on the left side by whitespace and on the right side by a newline or whitespace. What is the ...
4
votes
2answers
172 views

What's the differences of binding key?

(global-set-key [?\S- ] 'set-mark-command) (define-key global-map (kbd "C-c SPC") 'ace-jump-mode) What's the differences and when to use what?
21
votes
1answer
3k views

Curiosity: What does progn stands for?

According to Emacs documentation: progn is a special form in `C source code'. (progn BODY...) Eval BODY forms sequentially and return value of last one. What does progn stands for (or its origin)? ...
17
votes
3answers
7k views

Why do I have to add each package to load-path? (or Problem with require 'package in my init file)

Each time I install a package from the Package Menu, if I try to require it in my init file I get an error unless I manually add it to the load-path: (add-to-list 'load-path "/home/nick/.emacs.d/elpa/...
1
vote
1answer
199 views

How to deal with packages when manage .emacs.d file with version control system? [duplicate]

I'm trying to use git to manage my .emacs.d directory. I occur this problem: Some package files are already managed by package-tools such as el-get,package.el via git. If I add them into my git ...
4
votes
4answers
509 views

Show the *Completions* buffer automatically when starting completing-read

I want to do a completing read with the *Completions* buffer already shown (because I'm providing initial input that I already know is an ambiguous prefix). How can I do it? I don't see an option for ...
9
votes
2answers
2k views

How to save a copy of a buffer to a file?

I would like to be able to save a copy (or a snapshot) of a buffer into a file. The behavior would be similar to write-file, except that it would not set the buffer to visit this file. For a usecase, ...
6
votes
2answers
3k views

PHP intellisense in emacs

Is it possible to obtain a package which supports Intellisense PHP in emacs? As I've set up cedet now and I would like to add autocomplete for PHP code in emacs. I know you can do it in vim.
0
votes
1answer
41 views

Debugging a custom find-function

Emacs is freezing when running the following custom find-function and I'm looking for some assistance, please, to debug it. I'd like the prefix argument C-u to make the difference between switch-to-...

15 30 50 per page