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

0
votes
1answer
23 views

Make Emacs-style shortcuts behave differently than arrow keys.

This is a bit of a weird question, I'll admit, but this is something that really annoys me. I have come to rely on the Emacs shortcuts (mainly ctrl ^+A, ctrl ^+E, ctrl ^+B, and ctrl ^+F) and the ...
0
votes
1answer
19 views

Run Emacs within Bash

I am looking for a way in Bash to run something within Emacs. For example, if you run emacs, press esc+X then type "life," you get a little simulation of Conway's Game of Life. How could this be done ...
0
votes
0answers
21 views

Aquamacs: recover unsaved document after crash?

Aquamacs just crashed, while I was saving a new document for the first time (with about a screen and a half of text entered). I had chosen the location and name, and hit “OK” in the Save dialog; at ...
1
vote
1answer
34 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 ...
0
votes
1answer
138 views

How do I enable “native” scrolling for Emacs?

I have two MacBooks running Emacs (both 24.3). On one of them, I get same smooth, native scrolling like I do in Chrome, Finder, or whatever, but not on the other one. To make it work a bit better, I ...
0
votes
2answers
103 views

Emacs crashes on Mac OS X with “Dispatch Thread Hard Limit Reached”

Emacs crashes on me once a day or so with the same error message in the dump: Dispatch Thread Hard Limit Reached: 512 (too many dispatch threads blocked in synchronous operations) Google shows ...
1
vote
0answers
18 views

XCode Keybindings not working with Dvorak

I type Programmer's Dvorak. I just started using XCode, and I decided to try to change the keybindings to be more Emacs-like. So, I set the keybinding to "Move Left" to ^B, pressed ^B, and...nothing ...
1
vote
1answer
28 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 ...
2
votes
2answers
199 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?
1
vote
1answer
73 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) ?
2
votes
1answer
75 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.
0
votes
0answers
25 views

to run latest emacs in terminal by typing “emacs” [duplicate]

Question: Because I use emacs-live, I used homebrew to install emacs-24.3. Now everytime I want to launch emacs of version 24.3 in terminal, I have to type "emacs-24.3" --- if I just type "emacs", it ...
2
votes
2answers
111 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 ...
0
votes
0answers
33 views

How to get EasyPG to work in Aquamacs?

I am trying to use EasyPG in Aquamacs to encrypt files "on the fly". When I go to save, I have the option of choosing no installed key to be able to apply symmetric encryption. When I do so, however, ...
0
votes
1answer
31 views

Is there a shortcut for opening a second buffer with a vertical split in Aquamacs?

I'd like to have two buffers open side by side in Aquamacs. Is there a shortcut for doing this? I know that C-x 2 opens them in a vertical stack, I'd like to have them arranged horizontally though.
0
votes
1answer
139 views

Change name and Application icon when starting via Automator

I have a script called gnus: #!/bin/bash open -n -a Emacs --args --name Mail --title Mail --no-desktop --no-splash --funcall gnus which I call via Automator Run Shell Script - ~/bin/gnus Now I ...
4
votes
2answers
877 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 ...
2
votes
3answers
220 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 ...
1
vote
1answer
36 views

How Do I associate all files with Emacs? [duplicate]

I'd like to be able to open any file with emacs as a choice when I right click it, regardless of environment.
14
votes
12answers
2k 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 ...
0
votes
2answers
449 views

How to use Aquamacs on a non US keyboard?

I occasionaly use Aquamacs on my Macbook Pro. I have also bought an Apple keyboard with a US english layout, because it is not practical to program on a Mac with a french (or more generally probably ...
1
vote
1answer
222 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
371 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 ...
4
votes
1answer
347 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, ...
0
votes
1answer
87 views

“this Emacs binary lacks sound support”

I'm trying to get Aquamacs Emacs to play a sound. I have this: (add-hook 'org-after-todo-state-change-hook 'my-org-after-todo) (defun my-org-after-todo () (play-sound-file ...
6
votes
4answers
1k 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)?
0
votes
1answer
111 views

How can I fix a missing color in emacs?

I used homebrew to install emacs, replacing an older version of unknown provenance. At startup emacs complains Unable to load color "dark cyan" and some text in my elisp files is invisible: I see ...
2
votes
1answer
201 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
1answer
143 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 ...
2
votes
1answer
234 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 ...
1
vote
1answer
312 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
55 views

Make meta + arrows count underscore as words?

I find myself using the meta + arrow keys constantly. When I am editing code, it would be nice if I could count underscores as words so that when I decide to rename a variable it goes to the ...
1
vote
1answer
162 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 ...
3
votes
2answers
171 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?
0
votes
1answer
127 views

Individual terminal tabs running emacs become buggy/corrupted over time

I generally work with a terminal window with a half-dozen tabs open, and that window lives for a week or so. Every once in a while, tabs (running emacs) become corrupted or something [every other ...
1
vote
1answer
64 views

Cocoa emacs — open in current space?

I usually use several different spaces (desktops?) for various different tasks. Unfortunately, cocoa emacs 24.1 (9.0), even when using emacsclient (I do a server start in my init.el file) always ...
2
votes
2answers
147 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. ...
0
votes
1answer
163 views

How to use Cocoa Emacs as editor for Mutt

I'm taking yet another run at Emacs. I've installed Cocoa Emacs, and so far so good. Now I'd like to use Cocoa Emacs as my editor for Mutt. With MacVim, it's trivial to use Macvim, i just put: ...
4
votes
2answers
617 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 ...
0
votes
1answer
548 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
814 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
votes
5answers
518 views

Any text editors that are emacs-like in extensibility but Apple-like in visual aesthetic and design? [closed]

Basically I want a text editor that is: Simple in visual design and uncluttered (like Byword) Powerful and extensible like emacs (with hooks, etc, so I can customize it to my needs). When I say ...
3
votes
2answers
789 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 ...
3
votes
2answers
317 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
2answers
158 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 ...
1
vote
2answers
250 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 ...
2
votes
2answers
821 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 ...
5
votes
2answers
5k 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 ...
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 ...
5
votes
1answer
400 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 ...