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

3
votes
1answer
33 views

El Capitan get current desktop name from bash

I am trying to write a bash script that needs some identifier of the current active desktop (I want my emacs-clients to connect to different servers depending on the active desktop). I have searched ...
1
vote
1answer
292 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 ...
0
votes
3answers
234 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 ...
3
votes
4answers
2k 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
5answers
3k 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
215 views

Update emacs that comes with OS X

Is there a way to update the emacs terminal editor that comes with OS X? I could remove the binaries and install Emacs using a dmg package, but the idea was to upgrade to a newer version with some ...
1
vote
1answer
71 views

How do I change the icon of Emacs installed via Homebrew?

I am aware of the "Get Info" process of changing icons, but when I change the icon of Emacs, nothing happens I installed Emacs with this command: brew install emacs --HEAD --with-cocoa When I run ...
0
votes
0answers
121 views

Text selection in terminal without mouse - moving cursor using arrow keys

I recently moved from a well-configured Ubuntu to Mac. I used Emacs for many years but I am too lazy to re-install it (and re-configure it). One of the useful features in Emacs shell is that you can ...
0
votes
1answer
24 views

F11 not presenting code of Macaulay 2 to the Emacs buffer in OSX

I am setting up Emac Version 24.4 (9.0) for Macaulay 2. This results to the following error: pressing F11 should present the input of the buffer above, instead it prints "-- end of buffer ...
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
84 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
110 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
17 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" . ...
14
votes
1answer
3k 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
171 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
25 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
44 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
69 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
75 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
12 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, ...
3
votes
1answer
84 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
103 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
10k 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
23 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
169 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
251 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
45 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
66 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
65 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
377 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 ...
14
votes
6answers
7k 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)?
2
votes
2answers
3k 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 ...
1
vote
1answer
133 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
186 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
905 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
89 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
554 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
307 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
97 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 ...
4
votes
1answer
2k 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
196 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 ...
3
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
59 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
48 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
212 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
117 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 ...