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

5
votes
3answers
775 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
0answers
19 views

Map capslock to control for Emacs in Yosemite

I am using Yosemite 10.10.3 and Emacs 20.0.50.1. I want to map the Caps Lock key to Control in such a way that it is recognized by Emacs. I have already gone to Keyboard > Modifier Keys and and ...
0
votes
0answers
20 views

Cannot kill Emacs

Sometimes, updates are the nemesis of productivity. I made the mistake to update my system to Yosemite resulting in an ESS-distribution (Emacs speaks statistics, ...
1
vote
0answers
22 views

Homebrew Formula for emacs' VM (View Mail)

Can anyone help with a homebrew formula to install emacs' VM ("View Mail"), located: http://www.nongnu.org/viewmail/ https://code.launchpad.net/vm I can get as far as a script, that should look ...
4
votes
0answers
231 views

Is it possible to compose Mac OS Mail in an external editor?

For Thunderbird there is the External Editor extension a very very classical piece of software that, when called via a shortcut, pops up your external editor (emacs in my case) and let's you edit your ...
11
votes
6answers
4k 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
2answers
1k 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
0answers
18 views

EmacsClient waits when alternate editor is used

I created the following script to invoke emacs (if already an emacs instance is running, the arguments should be opened in this instance, otherwise, a new instance should be started; the -n causes ...
1
vote
1answer
69 views

Why don't I see a path to etags in PATH when running Emacs from http://emacsformacosx.com/ from the OS X dock?

This is a follow-up question to the one at "Is /usr/bin/etags severely out of date in Yosemite?" The Emacs in question is from http://emacsformacosx.com/ (GNU Emacs 24.4.1 (x86_64-apple-darwin13.4.0, ...
1
vote
1answer
42 views

How to programmatically construct the name of application used to open directories?

This Emacs LISP script reveal-in-finder.el allows one to quickly open a directory in Finder from an Emacs buffer which has the directory opened in it in dired mode. But on my computer, I uses Path ...
0
votes
1answer
63 views

Symbolic link to Emacs 24 not working

I like to create a bin directory in my home directory and make it the first item in my $PATH. I then create symbolic links to override the default MacOS installed version of certain apps. I have done ...
1
vote
1answer
181 views

What makes TextMate a good editor? [closed]

I'm always reading about developers praising TextMate as the editor. What's so awesome about it? Please note that I'm a long-term Emacs user.
2
votes
2answers
570 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 ...
0
votes
0answers
9 views

Can I make iconify-window binding work when minimize using window manager

I can bind a function to run when Emacs iconifies a frame (defun my-handle-iconify-frame() // I actually do something more useful than this... (message "my-handle-iconify-frame") ) (define-key ...
1
vote
2answers
37 views

Use keyboard for accessing Emacs Menu

I am using the brew install emacs version of gui-based emacs. After using the mac shortcut to access the Menu bar, I am able to use the mnemonic to access the individual top level menu items: ...
2
votes
2answers
500 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 ...
0
votes
2answers
67 views

GUI based emacs

I picked up emacs for first time in decades last night on ubuntu. It was sweet: opened up in a GUI and I was able to set up CUA mode - but still able to access the CTL-C and CTL-X actions via META-X. ...
0
votes
1answer
41 views

How to open different emacs version from the shell?

I have two versions of emacs on my machine. One came preinstalled and I have just installed a newer version with homebrew. If I type emacs in the terminal, the old version runs. If I type ...
0
votes
0answers
22 views

Menu bar in emacs (mostly) stops working

I'm not sure how to reproduce it, but sometimes after running fine for a while, the menu bar in emacs stops working except for the Apple and Emacs menus. The others (e.g., File, Edit, Options) all ...
1
vote
1answer
150 views

running emacs on a terminal: problem with meta-key

I am on Mavericks and I am running emacs 24.4.1, but I have the same problem also with 22.1.1. When I open mac on a terminal on the remote host, it does not recognise option key (alt) like the meta ...
2
votes
3answers
112 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
3answers
1k 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
2answers
1k 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 ...
0
votes
0answers
8 views

How to enable dictionary shortcut in Emacs

According to describe-key, there is no key binding in Emacs, even though I can't use dictionary shortcut in Emacs. Is there way enable dictionary shortcut Command + control + D? Of course I can use ...
1
vote
0answers
33 views

Why does copy-file change date/time when copying between volumes

I am using: GNU Emacs 24.4.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21) of 2014-10-20 on builder10-9.porkrind.org, on a MacBook Air 13 running OS X Yosemite (10.10.1). If I use the command ...
0
votes
1answer
33 views

Global keyboard shortcut to switch to an application (to use with Emacs/Aquamacs)

Like in iTerm, I'd like to be able to set a keyboard shortcut to switch to an application, which in this case would be Aquamacs. This would be really useful to know in general. Would an Applescript or ...
0
votes
1answer
135 views

Copy-Paste from Mac to Emacs of ubuntu

I use version 10.9.2 of OS X and a virtual machine 6.0.5 VMware Fusion. Ubuntu 14.04 LTS has been installed on the virtual machine. In ubuntu I use Emacs 24.3.1 as editor. Once emacs of ubuntu is ...
0
votes
0answers
95 views

Newly installed Emacs won't open on Mavericks

The console shows the following messages: 12/29/14 12:39:55.179 PM com.apple.launchd.peruser.763512085[296]: (org.gnu.Emacs.118304[53982]) Job failed to exec(3). Setting up event to tell us when to ...
2
votes
3answers
410 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 ...
0
votes
1answer
141 views

How to install both Cocoa and X11 of Emacs (preferably with Homebrew)?

I want to try out and compare both the Cocoa- and X11-based versions of Emacs. In general, I try to install all such packages through Homebrew, but in this case it looks like I Homebrew requires me ...
3
votes
1answer
384 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 ...
4
votes
2answers
516 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 ...
16
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 ...
1
vote
0answers
33 views

XQuartz opens automatically: How can I track this?

From time to time Xquartz opens without any application being called. Is this some virus that tries to exploit bugs in x11? Is it gnu emacs that was not fully ported and calls X stuff?
2
votes
1answer
160 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 ...
1
vote
1answer
183 views

Emacs Meta key in VMware Player on Windows 7 on Macbook Pro

I run Windows 7 almost exclusively at this point. I use a logitech windows bluetooth keyboard while at home. Running Freebsd through VMware Player, I installed emacs and have had to resort to using ...
2
votes
0answers
21 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 ...
1
vote
1answer
1k views

Error while trying to open new Emacs.app after upgrade to Yosemite

After upgrade to Yosemite I get this when trying to launch new Emacs app from command-line. I've spent yesterday trying to figure out what's the problem, so today I decided to ask here. ➜ ~ open -n ...
0
votes
0answers
43 views

LaTeX PDF Preview in Vim

Is there plugin similar to Emacs LaTeX Preview Pane but for Vim on OSX? I need it to preview the PDF inside Vim, in its own pane/buffer. I don't need to be able to edit the PDF so no pdftotext is ...
1
vote
0answers
63 views

How to display unicode chars in emacs when running in terminal

This is not strictly a OSX question but someone in here probably has a solution. I'm running emacs from the command line and I simply can't get emacs to correctly show Unicode characters. Everything ...
0
votes
1answer
174 views

How to edit /etc/profile using emacs?

I am using Emacs 24.3 on Mac OS X 10.9.4 and I am trying to edit /etc/profile with that. It obviously does not work when starting the GUI version, but for some reason, it also does not work when ...
0
votes
0answers
83 views

Advanced emacs keybindings everywhere on a mac

In particular want to close down a window on chrome using the same keystrokes as killing a buffer on emacs, i.e. C-x k. In general I was wondering if anyone had made a plugin / app / xml file that ...
0
votes
0answers
79 views

Emacs on OSX maverick not recognising config files

I have tried these two methods to install emacs on osx mavericks: http://emacsformacosx.com/ brew install --cocoa emacs both failed to recognise ~/.emacs file and ~/.emacs.d directory. Any ideas? ...
2
votes
0answers
80 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 ...
7
votes
1answer
461 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 ...
0
votes
1answer
54 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
60 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 ...
2
votes
1answer
130 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.
1
vote
1answer
233 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
2answers
436 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 ...