GNU Emacs is an extensible, customizable, self-documenting real-time display editor. At the core of Emacs lies an Emacs Lisp interpreter, the language in which the majority of Emacs' built-in functionality and extensions are implemented.

learn more… | top users | synonyms

14
votes
13answers
3k views

What to use for a plain text editor?

I'm writing instructions for a project and at some point, for a certain condition one needs to modify a simple plain ascii text file. For windows I can tell them to fire up notepad. I thought on the ...
9
votes
3answers
5k views

How do I make Terminal.app's scrollbars disappear in Lion?

Once I upgraded to Lion, I found out that the vertical scrollbar is always plastered to the right side of the application window. Because I run GNU Screen within Terminal.app, the right side of the ...
9
votes
4answers
5k views

Emacs on Mac OS X - To Alt or Command?

It's official. I love to hate Emacs on Mac OS X. No matter what I do, I get a thorn in side. When I try to write \ using Alt + Shift + 7 I get errors because Alt == Meta in Emacs. If I bind the ...
9
votes
4answers
3k views

Configure emacs to cut and copy text to Mac OS X clipboard

Can I configure emacs, so that I could copy/cut text from emacs (default Terminal version) and paste it somewhere else (into X Window program)?
8
votes
4answers
1k views

What are the advantages of Emacs for Mac OS X users?

Over the past year or so I've seen a movement towards switching to Emacs on Mac OS X, often away from TextMate. While I understand the motivation for switching away from TextMate (TM2 is more or less ...
8
votes
1answer
3k views

How do I send C-/ (that is, control-slash) to the terminal?

I'm trying to run Emacs in a terminal. I've turned on the "use option as meta" in terminal preferences and so it's about 95% working right. The key sequence ctrl-/ (or in Emacs notation C-/) is ...
7
votes
2answers
2k views

Running GNU Screen with 256 colors on OS X Lion

Terminal.app in Mac OS X Lion has a feature that took a long time to get implemented: 256 color support. The colors work fine. The issue I'm having is that when I run GNU Screen I do not have access ...
7
votes
1answer
303 views

How to get external Apple keyboard to accept modifier key input from Macbook's internal keyboard (and vice-versa)?

I just bought an older Apple keyboard, with the idea that I could use it in conjunction with my internal Macbook Pro keyboard as a substitute for buying a keyboard that's capable of splitting into two ...
5
votes
5answers
1k views

Why can't I use .app bundles symlinked into /Applications as default in the 'open with' dialog?

I have installed emacs with homebrew, with the --cocoa flag, which makes homebrew create an .app bundle in /usr/local/Cellar/emacs/<version>/Emacs.app. I have symlinked the .app bundle into ...
5
votes
1answer
631 views

Vim mappings / plugin for Xcode

I'm a developer who mostly does web stuff in Ruby and C#, and I'd like to start tinkering with iOS and Mac development. Over the last few month I've been trying to get fluent in one set of key ...
5
votes
2answers
6k views

How to ssh from iPad with external keyboard and Emacs?

I am thinking about retiring my portable for an iPad + keyboard. (With Amazon/Linode/etc as server.) I tried the iSSH app and ran Emacs in a terminal (not X Windows), using the Apple external ...
5
votes
1answer
460 views

Emacs 24 and TextExpander snippets not working

I am using Emacs (Version 24.0.50 (9.0) -- Cocoa) on OSX Lion. Whenever I type a TextExpander abbreviation, the snippet does not successfully expand. I hear the audio notification from TextExpander ...
4
votes
2answers
1k views

How to get a “modern” emacs that runs in a terminal on os x lion?

I just installed Prompt on my iPad so I could possiby do some real work on my iMac via ssh. so far Mutt and Vim and emacs seemto work responsively enough for me. I've made a few tries at emacs ...
4
votes
1answer
729 views

Emacs 24 with fullscreen?

Is there a way to use Emacs 24 in fullscreen mode? The Emacs wiki seems to imply that it has been disabled, but that there are some workarounds / patches. It doesn't have to be "true" full screen, ...
4
votes
2answers
377 views

Compiling (NS/Cocoa) Emacs on OSX with SVG support

Can anyone explain how to build Emacs --with-ns and SVG support on OS X? Notes: --with-rsvg isn't working (when librsvg is installed, ie. via Homebrew) FYI, The Emacs Mac port uses webkit to ...
4
votes
2answers
2k views

changing the meta key in emacs

I am running emacs 24.3 through the terminal on OS X 10.8.4. I would like to modify the meta-key which is currently set to be the ESC key. I have successfully changed the meta-key from ESC to ...
4
votes
2answers
836 views

Making MacBook command-key the Emacs meta-key under VMware/Windows

I can configure emacs under OS X so that the key nearest the space bar (the key labeled Command ⌘) is my Meta key by running (setq mac-command-key-is-meta t) How can I configure the same key to be ...
3
votes
2answers
4k views

Emacs Ctrl-x ctrl-s command not working in Terminal.app

I am having issue when connecting to my school's unix remotely via Terminal (SSH) and attempting to edit code in emacs on my Mac. I have a Macbook Pro running Mac OS 10.6. I use the emacs that is ...
3
votes
2answers
411 views

How can I change Terminal so that I don't have to press ESC every time I want to type a meta-modified key?

Currently in emacs/terminal, I have to press ESC every time I want to send an escaped keystroke, eg: to go forwards two words, I have to press: ESC+f; ESC+f How do I change the system so that I ...
3
votes
1answer
313 views

how to get ls to list files in case-insensitive order?

How do I get the ls shell command to list my files in: case-insensitive order with the directories at the top? The reason I ask is: I want Aquamacs Emacs dired to list my files and directories ...
3
votes
2answers
207 views

Can I get Command-H to hide an Emacs window?

I'm using GNU Emacs 23.4.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of 2012-01-29 on bob.porkrind.org on a MacBook Air. Can I set Command-H to hide Emacs? I currently use M-x customize-group ns ...
3
votes
1answer
176 views

Mac Terminal support for multiple fonts

I was trying to get emacs minimap to work on the terminal - http://www.emacswiki.org/emacs/MiniMap However, the font is the same size as the rest of the screen, which makes it pretty useless. It ...
3
votes
2answers
457 views

Vim/Emacs keybinding for `Preview.app`

Does anybody have ideas about using emacs/ vim key binding for Preview.app to browser pdf files and how?
2
votes
2answers
261 views

Who installed this Emacs?

I have: $ /Applications/Emacs.app/Contents/MacOS/Emacs --version GNU Emacs 24.3.1 $ /usr/bin/emacs --version GNU Emacs 22.1.1 How do I get rid of the second installation of Emacs?
2
votes
2answers
187 views

What are the control keys available when working in a text field?

I know that ctrl-e will move to me to the end of a line, and ctrl-a to the start. I also know that ctrl-n will move down a line. What other ctrl-key combinations are there? Is it possible to move ...
2
votes
1answer
103 views

How to show my .emacs file in finder?

I am new to Mac. I installed emacs, but I can't see my .emacs file in the finder. I can open the file from inside emacs, and I saved another copy on my desktop, but it's not showing.
2
votes
3answers
233 views

Open Mail Attachment with Unix-standard programs

I use emacs as my standard text editor. When someone sends me a mail attachment that contains text (for example a LaTeX file *.tex), Mail does not know how to open it and asks me to select an ...
2
votes
2answers
716 views

generate Keynote presentation from text or Markdown?

Is there a way to automatically generate a Keynote presentation from a source file written in text format, Markdown format, or org-mode? I know that Pandoc and other tools can generate HTML-based ...
2
votes
3answers
325 views

How can I set up a shell script as a wrapper to the main executable of an app?

I have an application that I want to launch via a shell script that does some setup and then launches the app itself with some specific options. Ideally, this script would be run whenever the ...
2
votes
2answers
962 views

On OS X Lion 10.7.4 in Terminal.app I cannot type `C-M-@` or `C-M-%`, why?

On my MacBook Pro running OS X Lion 10.7.4, there seems to be a keyboard issue. I first noticed this problem when I tried to use the default keybinding to execute mark-sexp and query-replace-regexp in ...
2
votes
2answers
457 views

How can I match the text color and background color in Terminal?

I use emacs/org-mode which uses color for hiding some of the headlines as is shown here. This works well with Aquamcas, but when I run emacs in text mode, I still see the stars in the headline as I ...
2
votes
1answer
118 views

How to open Emacs like in Linux Terminal

I just got a Macbook (my first one!) and want to know how to configure Emacs to run in the same way it runs in Linux. That is, if I type "emacs foo.c &" in the Terminal, I want to either open ...
2
votes
5answers
2k views

App for editing files in my Dropbox?

My current setup is Dropbox with a directory called /Docs, in which I have my emacs .org outline files. If you don't know about Emacs and org-mode, these files are plain text, just formatted with ** ...
2
votes
2answers
97 views

Opening emacs from TextMate

I want to launch emacs from TextMate, I tried the method with OTC in here, but it would be great if I can learn other methods that I can launch emacs from TextMate.
2
votes
2answers
140 views

All text boxes : The opposite of ctrl+v (like in emacs)

I like using ctrl + v on mac for jumping with the cursor to the next screen - something like page down but the cursor moves too. Do you know any way to do the opposite - jumping to the previous ...
2
votes
1answer
401 views

What is the easiest way to install emacs-ess on OSX?

I am interested in installing Emacs ESS mode. I can follow the instructions here but I would like to know if there is an easier way (without installing a completely new instance of Emacs like the one ...
2
votes
2answers
171 views

How to have ctrl-left/ctrl-right move over words in Lion

Had a quick question about having emacs-like word skipping in my terminal. I had set this up pre-upgrade to Lion and had ctrl-left & ctrl-right set to \033b & \033f respectively. ...
2
votes
2answers
40 views

Is /usr/bin/etags severely out of date in Yosemite?

Is /usr/bin/etags severely out of date in Yosemite? If so, what is the easiest way to get an up-to-date version of etags, to use with Emacs from http://emacsformacosx.com/? I am using: GNU ...
2
votes
0answers
14 views

Emacs does not auto restart after reboot?

I install Emacs via Homebrew and create a symbolic link: /Applications/Emacs.app -> /usr/local/Cellar/emacs/24.3/Emacs.app What does not seem to work properly is that after restarting, other ...
2
votes
0answers
61 views

KeyRemap4MacBook Meta + KEY Repeat Question

I come from a Linux/PC world as a heavy Emacs user and for the last year, I've "dealt" with the standard OS X key remapping. It's OK, but the things that bother me are: Option + Key doesn't operate ...
1
vote
2answers
1k views

Weird keybindings in Mac OS X Terminal.app

I am trying to use the key "shift-tab" in emacs running purely under Terminal.app, but got an error saying there is no keybinding for "M-[ z" (where M is the meta key, set to be the option key under ...
1
vote
2answers
312 views

Hiding emacs backup files in Finder

I would like to find a way to hide all the *~ files in Finder, which are used as backup files by Emacs. Is there a general approach to make Finder hide all the files with their names matching certain ...
1
vote
1answer
44 views

Emacs macos keyboard handling problem

I'm looking for "unity-win7" like solution, where I can run cmd+num for activating browser, console, editor etc... I found Activator and Services in osx, however, I can't use cmd+num because many app ...
1
vote
1answer
136 views

Using The Terminal Command and Emacs To Play The Video Game “Tetris”?

OS X via the Terminal command and Emacs apparently allows you to access and play a version of the video game Tetris. How do you accomplish this (and can you play via keyboard controls) ?
1
vote
1answer
838 views

How to get Ctrl+return key binding for emacs in iTerm2 working?

I have Control+Return key bound to a function that I use very often. This works when i run emacs in x-windows. But when I run emacs in iTerm2 control+return just has the effect of line-feed (i.e as if ...
1
vote
1answer
920 views

“Too many open files” - how can I set the ulimit -n value for emacs on Lion?

I've seen other questions covering the topic of how to set the file limit on Leopard/Lion. For example: How to properly increase ulimit -n on Lion? Too Many Open Files But after reading ...
1
vote
3answers
385 views

Is there an xkeymacs equivalent in Mac?

In PC, the utility of xkeymacs.exe enables one to use emacs key in every case. Does Mac have the similar utility? For example, is there a utility that I can use key 'C-x C-s' to send the key ...
1
vote
1answer
125 views

Emacs key bindings on other programs

I am a heavy Emacs user and would love to have some of my Emacs keyboard bindings when editing text on other apps. I understand I could program these macros with Keyboard Maestro manually, but I was ...
1
vote
1answer
450 views

Emacs copy a paste line with comment adds extra space / line

I work in emacs in a termal tab, and instead of using the built in copy and paste shortcut commands I generally just highlight (with the mouse) to copy and paste. This works fine for normal ...
1
vote
1answer
218 views

Why can I use Emacs shortcuts in many OS X programs?

By mistake, when using Notes, I started killing and yanking instead of cutting and pasting and it worked. Same seems to be true for Pages. What gives? I don't think I have ever tinkered with the ...