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

1
vote
2answers
115 views

Set PATH variable so that it is detected in all applications, even outside terminal. (El Captain)

My ~/etc/path looks as follows: /usr/local/bin /usr/bin /bin /usr/sbin /sbin The Problem: When I type echo $PATH into terminal, I get back: /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin And ...
3
votes
1answer
44 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 ...
2
votes
2answers
263 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
93 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
165 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
25 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 *M2-demo-...
0
votes
0answers
89 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 ...
1
vote
1answer
20 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" . "http://melpa.org/...
0
votes
0answers
17 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
0answers
28 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). However,...
0
votes
1answer
180 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 ...
2
votes
1answer
112 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 ...
0
votes
1answer
45 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
77 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
13 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
88 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 version="1....
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
106 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 ...
0
votes
0answers
182 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
3answers
243 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
271 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 ...
0
votes
0answers
67 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, http://vgoulet.act.ulaval.ca/en/emacs/...
1
vote
1answer
47 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 ...
1
vote
1answer
312 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
1answer
25 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
94 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: e.g....
0
votes
2answers
327 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
103 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 emacs-24....
1
vote
1answer
45 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 ...
4
votes
1answer
3k 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 ...
1
vote
1answer
137 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
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
0answers
119 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 ...
0
votes
1answer
215 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 ...
2
votes
3answers
206 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 ...
0
votes
1answer
336 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 ...
1
vote
0answers
48 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
0answers
27 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
2k 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 ...
4
votes
0answers
391 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 ...
1
vote
1answer
256 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
1answer
212 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
0answers
137 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
586 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
105 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
747 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
65 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
85 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 ...