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

2
votes
2answers
100 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.
10
votes
3answers
7k 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 ...
0
votes
1answer
16 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 ...
0
votes
0answers
17 views

Open Emacs with separate instance in mac os x yosemite

I am on Yosemite 10.10.5. I would like to open emacs from spotlight or from the Terminal as separate instances so that when I close one emacs window the others don't close either. Similar questions ...
0
votes
0answers
28 views

Alt-keys (option-keys) in emacs emulation (jetBrains PyCharm)

I suspect this is a general issue with the Mac as opposed to anything specific to the app I'm struggling with now, which happens to be PyCharm from jetBrains. The reason I suspect this is a general ...
0
votes
0answers
48 views

Alt[Option] key not working as meta when ssh a linux server from Mac

I use emacs on my Mac locally, I'm also using iTerm2 as the terminal tool. By setting the 'Preferences--> Profiles-->Keys--> Left option key acts as +Esc'. I can use the left alt key as meta if I ...
1
vote
1answer
32 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 ...
6
votes
3answers
893 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
35 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
28 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, ...
4
votes
0answers
263 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 ...
12
votes
6answers
5k 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)?
1
vote
2answers
2k 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
24 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
85 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
43 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
94 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
182 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
660 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 ...
1
vote
2answers
47 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
516 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
98 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
49 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
216 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
135 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
9 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
44 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
34 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
154 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
103 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
437 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
177 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
410 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
547 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
4k 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
35 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
170 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
194 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
22 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
49 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
76 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
242 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 ...
2
votes
0answers
84 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
526 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
56 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
67 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 ...