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

11
votes
2answers
5k 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 ...
0
votes
0answers
40 views

Is there a way to download old GarageBand loops without downloading the app itself?

I recently purchased an iPad Pro and have had some fun playing around on the GarageBand app (which I believe is GarageBand 2.1 for iOS). I had an old eMac desktop computer about ten years ago (which ...
2
votes
1answer
97 views

moveWordForward: on ⌥-f in El Capitan doesn't repeat

I've used Jacob Rus' cocoa text system bindings for many years to give me more emacs like bindings in cocoa text fields (apple doc here. Since El Capitan I find that option-f which does ...
1
vote
1answer
14 views

emacs on console "can not load file, package

In my .emacs file, I try to install el-get with this code: (unless (require 'el-get nil 'noerror) (require 'package) (add-to-list 'package-archives '("melpa" . ...
13
votes
1answer
2k views

New Terminal behavior after upgrading to OS X 10.11

I've noticed square brackets in the "gutters" of a Terminal window when editing files in emacs. The brackets are on either side of the screen and go away if I force a window update by either resizing ...
0
votes
0answers
15 views

How to enable Ctrl-% command in emacs on OSX

I'm trying to use of paren-matching shortcut ctrl-% in emacs on OSX. It was successful on Win. But on OSX non of commands: ctrl-shift-1/3/4/5/6/... works - only work ctrl-shift-2 (ctrl-@) for some ...
0
votes
1answer
58 views

How to get iTerm to properly send the CTRL-. sequence?

Emacs uses a lot of C-. and similar keyboard sequences. iTerm doesn't send the key sequence C-. itself, but I've found that I can map C-. into an escape sequence or hex code or text in iTerm's ...
0
votes
0answers
15 views

Meta key in Emacs in Terminal on a Norwegian Mac

In the Terminal, there is an option to choose whether to use Alt as Meta. On a Norwegian Mac, you have to disable this, because | comes from pressing Alt+7 (same goes for \ and a few others). ...
0
votes
1answer
168 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
1answer
37 views

Do not let the viewer go to the first page systematically

I edit tex files with Emacs under Mac OS X 10.10.1, compile tex pdf and view it with Preview. The problem is that each time the code is modified and re-compiled, the viewer systematically goes to the ...
1
vote
1answer
40 views

Setting locale via launch daemon - downside to this approach?

I have the same problem as in this post here that R started in ESS / Emacs can not set the locales: R version 3.2.2 (2015-08-14) -- "Fire Safety" Copyright (C) 2015 The R Foundation for Statistical ...
1
vote
2answers
73 views

Shortcut to move point to beginning / end of current line

I use the Apple Wireless Keyboard - French The shortcut Fn+Left arrow (resp. Fn+Right arrow) goes to the beginning (resp. end) of the buffer. The shortcuts cmd+Left arrow or cmd+Right arrow do not ...
1
vote
0answers
11 views

GNU emacs: emacsclient fails with EOPNOTSUPP

Brand new MacBook Pro 15" Retina, running OS X Yosemite v10.10.5. I installed GNU Emacs version 24.5-1 from http://emacsformacosx.com/ I run M-x server-start from my .emacs, but emacsclient fails, ...
2
votes
1answer
52 views

Disable Shift Cmd Q for logout

I would like to disable Shift+Command+Q keyboard shortcut for Log Out. I am using Karabiner at the moment, but I only managed to disable it completely using the following xml: <?xml ...
6
votes
3answers
1k 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
60 views

Using ipad with keyboard – viable as ssh terminal for development?

Currently I'm using a macbook pro as my development machine. My workflow basically consists of logging in to an ec2 instance via ssh and there working on the shell using emacs. I wonder if the same ...
2
votes
2answers
101 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.
11
votes
3answers
9k 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
22 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
150 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
181 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
42 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 ...
0
votes
0answers
57 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
55 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
347 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 ...
13
votes
6answers
6k 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
41 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
121 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
44 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 ...
1
vote
1answer
237 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
185 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
820 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
82 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
540 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
224 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
84 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
28 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 ...
3
votes
1answer
1k 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
178 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 ...
1
vote
0answers
53 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
46 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
187 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
112 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
512 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
282 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
461 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
601 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 ...