Emacs is a powerful text editor with an embedded Lisp environment, which allows for great extensibility. Emacs is a lisp environment with many features that also make it a powerful text editor.

learn more… | top users | synonyms

5
votes
2answers
687 views

Combining two operators in Evil-mode Emacs

In vim I've remapped > and < when in visual mode to >gv and <gv respectively, like so: vnoremap > >gv vnoremap < <gv Since my target for this question are folks experienced ...
5
votes
1answer
690 views

Is it possible to sync Remember The Milk with emacs org-mode?

I have just started using Org-mode in emacs, and I am very impressed. However, I currently have all of my todo's in Remember the Milk The simplest solution would be to export RTM into an org-mode ...
5
votes
2answers
106 views

Incremental search for un/accented characters

Does emacs have an incremental search mode, where searching for a character will search for itself and for any other versions of the character with accent marks, similar to how Google Chrome (at least ...
5
votes
3answers
299 views

Are there any pagers that use emacs keybindings?

Both more and less seem to be heavily influenced by the vi commands. Are there any pagers that are more emacs like out of the box?
5
votes
1answer
2k views

Emacs: ido vs anything. Are they fighting each other?

I have been using ido-mode for months without issue. I just recently decided to try anything. It has many features similar to ido-mode. However, anything now seems to be picking a fight with ...
5
votes
1answer
908 views

How to make emacsclient uses differnt themes in terminal and X window?

Sometimes I use emacsclient -t -a '' in xterm, and sometimes I use emacsclient -c as a GUI application. What annoys me is that the font settings and color-theme are initialized when emacs server ...
5
votes
3answers
417 views

Emacs Dired: copying to the current folder

In Dired, copying is done like "copy the marked files to somewhere else". Is there a way to do this in the opposite direction? That is, in the scenario I imagine I would get a question what to copy ...
5
votes
2answers
685 views

Customizing org-mode export template?

Related to this question: How to define template for org-mode HTML export? I'd like to customize the template inserted by hitting C-c C-e t such that I get a few customizations and even some help ...
5
votes
1answer
560 views

Underline instead of italic in org mode

I just switched from windows to ubuntu. Somehow it has changed the behavior of Org mode so that now test enclosed between / are underlined (similarly as text enclosed between _) while it was ...
5
votes
2answers
274 views

How can I make Emacs scroll horizontally more smoothly?

I already use scroll-conservatively to smooth the vertical scrolling behaviour of Emacs. The horizontal scrolling is still pretty bad. The screen jumps by many columns, and I often lose track of where ...
5
votes
1answer
284 views

Disable Ctrl-A shortcut in OSX / Firefox

OSX has Emacs keybindings on all text fields, that means Ctrl+A takes you to the start of line. In Firefox, sometimes, Ctrl+A activates the "Highlight All" option of the Find bar, instead of taking ...
5
votes
1answer
337 views

Is there a way to reload environment variables in emacs?

When emacs starts it inherits the environment variables that are set at the time, either in the launching application (Linux) or in a central repository (the Windows registry). On Windows, ...
5
votes
1answer
3k views

How can I select text in the Mac OS X Terminal without a mouse (for copy and paste, emacs)

In the Terminal I can mark text with the mouse, copy it with cmd-c and paste it with cmd-v. This is all I need and it works great, even within emacs. Which is important for me, since I'm still not ...
5
votes
1answer
667 views

how to visualize/graphically display org-mode files for brainstorming editing?

I use MindNode Pro OSX for brainstorming. I prefer it to Freemind for its ease of use and its prettiness, factors which help me think and be creative. I'm trying to switch to plain text in all my ...
5
votes
2answers
372 views

Edit any text input shown by a browser (mostly Chrome) with Emacs

Goal: to edit any text input (mostly text areas, but also single line inputs) shown by web browsers with an external editor, in my case, Emacs. Achieve a high level of comfort. Whenever I'm browsing ...
5
votes
1answer
414 views

Customizing how html is generated for source code blogs when using export in org-mode

I have been using org-mode to author blog posts about programming. For this, I have included inline code segments in my .org file like this: #+BEGIN_SRC csharp public class UserBuilder { private ...
5
votes
1answer
625 views

emacs AucTeX:Turn off auto-fill-mode inside a particular LaTeX environment

I like using auto-fill-mode for hard line wrapping. However, when I'm making a big tabular in a .tex file, I like using align-current to have the table look somewhat like it would when printed. The ...
5
votes
1answer
358 views

OSX Emacs FTP Failing

I use Emacs from Bash. I use C-x C-f to FTP into servers, to work on files. From my OSX (10.6.x), I can connect to all of my servers, but one. From Ubuntu, I can connect to all of my servers, period. ...
5
votes
2answers
267 views

Fixing c-fill-paragraph with comments in Emacs 23.2.1

I just upgraded to emacs 23.2.1 when I finally upgraded to ubuntu 10.10, but the first thing I noticed is that c-fill-paragraph (M-q) doesnt work nicely with comments anymore or at least do not work ...
5
votes
2answers
787 views

Emacs Evil search and replace function

Emacs has a Vim emulator mode called Evil. This mode has a search-replace function that does basically the same thing as highlighting a region and running sed on it. The brilliant thing about this ...
5
votes
3answers
861 views

How do I prevent emacs from loading `update_terminal_cwd` with autojump?

On MacOSX 10.7, Apple puts into /etc/bashrc a function: update_terminal_cwd that checks to see if Apple Terminal is running AND if we are not in emacs (snippet pasted below). Unfortunately, by ...
5
votes
1answer
386 views

Why can't I bind Ctrl-Shift-W in Emacs?

I'm trying to bind Ctrl+Shift+W to something in emacs under Ubuntu. Nothing happens when I press that key combination. When I call describe-key on that key combination, nothing happens. Is Ubuntu ...
5
votes
2answers
2k views

How to make emacs accept UTF-8 from the keyboard

My friends have persuaded me to "try again" (about the 5th time in about 12 years) with emacs. I'm currently suffering a little, and need help with emacs + utf-8. I'm running the 23.3.1 emacs gui on ...
5
votes
2answers
559 views

removing title bar of emacs in Windows XP

I'd like to remove the title bar of emacs in Windows XP. E.g., f11 in Internet Explorer or Firefox. I haven't run across any result in apropos that suggests this is possible in emacs itself. I've not ...
4
votes
5answers
5k views

emacs not load (.emacs) configuration file

I am using emacs on ubuntu 9.04. I have my emacs configuration file in ~/.emacs.d directory. My emacs file is called .emacs I have some basic configuration. However, everytime I start emacs it ...
4
votes
3answers
6k views

In emacs how can I keep many files open at once?

At the moment I use C-xC-f to open a new file, but it gets quite tedious.
4
votes
1answer
2k views

How to easily break up a text file into pieces smaller than a threshold?

I have some text files that are 100 to 300 MB in length that I want to view in Emacs, but my Emacs gets into some performance issues opening and traversing such large files. Therefore, I'm looking ...
4
votes
4answers
1k views

Features of Emacs that are complementary to Vim?

I've been using Vim extensively for a while now, and I really enjoy working with it. However, I keep reading praises for Emacs. I've decided to take a look at Emacs to round out my knowledge of the ...
4
votes
3answers
1k views

How to quickly navigate/jump between functions on emacs?

How to quickly navigate/jump between functions on emacs? I'm looking for a way to jump quickly to functions on emacs. I'm using the emacs search to do it,but it's too slow and fail. For example,I need ...
4
votes
4answers
765 views

Is there a Firefox add-on that enables emacs keyboard shortcuts?

For example, I'd love to be able to press ctrl-a to get to the beginning of a line in an input field and ctrl-k to delete that line, etc. P.S. Not sure if it matters, but I use Arch Linux.
4
votes
3answers
140 views

Is there a version of Emacs thats runs exactly the same on OSX, Windows and Linux?

I'm using Emacs on different environments and unsure of which version to use so that they all behave the same as I hear there are differences between XEamcs, Emacs, and some other versions. Which ...
4
votes
3answers
1k views

Is there a good hotkey cheatsheet for using Latex in Emacs?

Is there a good hotkey cheatsheet for using Latex in Emacs? A few minutes of googling didn't turn up anything.
4
votes
4answers
9k views

How to do select column then do editing in GNU Emacs?

I've been using ViM, TextMate, and GNU Emacs for years. For example here is the text I want to edit foo foo foo And here is the text result I want to have bar foo bar foo bar foo When I'm on ...
4
votes
2answers
2k views

emasc temp file cleanup

When I edit files with emacs, emacs creates a file with the same name, but with a tilde on the end: notes.txt~ When I save my changes and exit emacs, it doesn't remove the temp file. Is there a ...
4
votes
3answers
194 views

Emacs: how to re-mark a previously marked region

When using Emacs, I commonly need to perform multiple operations on the same region (often quite large but not a well-defined object such as "entire section", "entire paragraph"). Currently, I have to ...
4
votes
1answer
1k views

Easy way to swap characters in command line with emacs key bindings?

If I'm in vi, and I see that I've transposed two characters, it is easily fixed by putting the cursor over the first and typing x followed by p in command mode. Is there a similar trick that works at ...
4
votes
2answers
412 views

Can I have a “singleton” emacs instance?

In other words, can I start emacs once, and whenever I type emacs whatever in terminal, have it open as a buffer in my existing emacs instance?
4
votes
1answer
1k views

Warnings/Errors with emacs cocoa (23.2) on OSX Terminal

I'm using emacs on OSX Terminal, just installed newer version 23.2, its located on /Applications/Emacs/Content/Emacs, it's an executable, so i linked it to /usr/bin/emacs, and moved the older one to ...
4
votes
3answers
1k views

lightweight web browser with emacs-like keybindings

Uzbl uses hjkl for moving around, much like vim does. I was wondering if there was a browser (text based like links, or needing X like uzbl) which would be easy for someone used to emacs key bindings? ...
4
votes
2answers
1k views

Quickly navigating Emacs buffers on a dual display setup

If I have an Emacs frame on each of my displays, how can I easily navigate buffers between the two displays? I typically use shift + arrows to jump to the direction of the buffer I'm looking for, but ...
4
votes
1answer
40 views

Can I customize Emacs via the command line, during startup?

Is it possible to set a customizable variable when I start Emacs? E.g. I have a project name variable, which I usually set interactively using M-x customize-variable, but I'd like to set it already ...
4
votes
1answer
685 views

Whats the meaning of “set -o emacs” command?

Whats the meaning, or what it does: set -o emacs ? I saw it somewhere, and I a emacs user, so It make me curious.
4
votes
1answer
869 views

Open Emacs with --debug-init on OS X

I am trying to debug why my .emacs does not load. Error message. Invalid read syntax: # ... Start Emacs with the `--debug-init' option to view a complete error backtrace. My question is: How do I ...
4
votes
2answers
653 views

Using Emacs align-regexp to format tables

Vim has the neat Tabular plugin that allows you to quickly align some text. I use it a lot to align blocks of code along a certain character (mostly things like = and =>). But it also does a very ...
4
votes
1answer
1k views

Tell emacs what mode to use in file header

Is there a built in way in emacs to to suggest what mode it should use? I have lots of properties files that doesn't have a file endings to guide emacs. Ideally I'd like to be able to put somthing ...
4
votes
2answers
557 views

How to perform search and replace in lots of files with Emacs at once?

I'm looking for a solution to how to perform a search and replace in all files in a directory using Emacs.
4
votes
2answers
3k views

How to fall back to the default Color Theme in Emacs?

I have applied a Color Theme. How can I get back to the default theme without restarting Emacs (version 23)?
4
votes
1answer
201 views

Can I make Emacs start in text-terminal mode (no window, like `emacs -nw`) by default?

I don't want to get sidetracked too much here, but emacs -nw (in my opinion) ought to open a graphical instance of emacs, with a popup. However, foregoing the -nw switch will bring up the GUI, and an ...
4
votes
3answers
643 views

emacs - automatically split frames on creation

I almost always use Emacs in a one-frame, two-window configuration (that is, one OS window with two Emacs windows inside it). I have the default-frame-alist set so that frames appear at the right ...
4
votes
2answers
6k views

Emacs installer for Windows 8

As of the 1st of April 2013 (and no, this is not an April Fool prank) the Emacs Windows FAQ states that Emacs 23.3 is known to run on all versions of Windows from Windows 95 and Windows NT 4.0 ...