Questions tagged [osx]

for questions about graphical and terminal versions of Emacs on macOS operating system. Please specify which package of Emacs for macOS you are using!

Filter by
Sorted by
Tagged with
2
votes
1answer
2k views

How to better manage the copy/cut/paste shortcuts between emacs and the macOS clipboard?

I'm running spacemacs v.0.200.9 on emacs v.25.1.1, on macOS 10.11 and 10.12. And I'm not happy with how the clipboard works between the OS and emacs. Here's the behaviour I'd expect: [X] Cmd + c in ...
4
votes
4answers
2k views

How to make homebrew emacsclient open files in Emacs.app frame from terminal?

When I run emacsclient -nc filename.txt in my terminal, emacs opens in my terminal. I would prefer it to open in the main Emacs.app frame. Similar to how the terminal shortcuts work for Atom.
2
votes
3answers
163 views

adhoc emacs Elisp command to send emacs clipboard text to osx clipboard

When you press 'y' (elfeed-search-yank) in an elfeed-search buffer, the selected entry's permalink url is copied to the emacs clipboard. I don't have any automatic clipboard sync packages installed, ...
2
votes
3answers
605 views

TRAMP on Windows connects to Linux but not to OSX (macOS)

Using Emacs-25.2.1 on Windows XP (and on 7, too) I can connect to my Raspberry Pi (Rasppian OS) using TRAMP and the plink method and it works flawlessly. But when I try to connect to my Mac mini (OSX ...
1
vote
1answer
86 views

Is There a Way To Set “Lisp-Interaction-Mode” to be Default?

I'm using Emacs in the terminal of Mac. Each time I exist an .el file and reopen another, I have to set lisp-interaction-mode. Is there some sort of command or item I can place in the .emacs file to ...
0
votes
1answer
132 views

How to by pass super key cord to system?

I am using emacs25 on macOS. How to bypass command key cord, e.g., ctrl-command-/ to system? Currently it is captured by emacs.
2
votes
0answers
470 views

The Application Emacs is Not Open Anymore (macOS High Sierra)

I am using Emacs (25.2.1) on macOS High Sierra 10.13.2, and when trying to open a simple .txt file using Emacs as the editor, I get the error "The application Emacs is not open anymore". Details: ...
2
votes
1answer
418 views

Whenever I type a caret in emacs, it waits for me to type another character. Can I disable that behaviour?

I'm a relatively new user to emacs, having just come over from many years of using vim. I'm mostly thrilled with evil mode and emacs in general, but there are a few annoyances still lingering. One of ...
1
vote
1answer
1k views

Emacs evil-escape does not work

I have just installed spacemacs recently. I press fd to switch from insert state to normal state, but it does not work. The combination keys fd shown on the editor then disappear, but when I press ...
4
votes
1answer
1k views

Org external link - can I indicate which browser/tab to be used

Suppose I have several browsers running at any given time. Google Chrome Google Chrome Canary Chromium Opera Safari How can I indicate in my org mode links [[https://www.gnu.org/software/emacs/][...
4
votes
2answers
4k views

Ispell can't find my dictionary

I'm running Emacs on MacOS and I installed aspell and its English dictionaries through nix. When I open a file, flyspell throws the following error. Error enabling Flyspell mode: (Error: No word ...
0
votes
2answers
2k views

How to run anaconda on an emacs shell?

I'm trying to get numpy and matplotlib to run from emacs so I downloaded anaconda. I've got it running on my terminal but I don't know how to run it in an m-x shell. I'm using mac os. I've ...
0
votes
0answers
118 views

shell-mode C-c C-c kill keybinding

With some regularity, I am using bash with M-x shell, and out of muscle memory I hit C-c C-c, with dramatic results: the comint prompt streams a long error message with a large number of escaped ...
0
votes
2answers
2k views

How to run python 3 in M-x shell?

I am very new to emacs so it would be a big help if answers came with a lot of detail. I've tried to get my M-x shell to run python 3 but can't. I've tried: (setq python-shell-interpreter "/...
1
vote
2answers
674 views

emacs gnus and macOS mail.app

I have a very large MAILv5 folder on macOS with 11 IMAP mail accounts over 1 TB of data so I don't want to re-download all but instead I want to use Gnus or other Emacs mail client to read mail ...
1
vote
1answer
383 views

Installed emacs by emacs-bootstrap, got cannot load error and buffer list not work

Using Mac Pro macOS 10.13.1 iTerm2 Has two problems: After installed emacs by emacs-bootstrap, got this error when start it: When try to open buffer list by C-x C-b, it shown this window at bottom ...
3
votes
1answer
542 views

Re-Aligning Issue with org-mode tables in spite of monospaced font (Emacs 25.3 / Mac OS X)

I changed from Aquamacs to Emacs for Mac OS X (25.3). Now I have an issue with org-mode tables. After writing and before re-aligning it looks like this: After re-align the table with C-c C-c or TAB ...
0
votes
0answers
72 views

ispell word M-$ goes into screen capture mode on MacOS

I am on Mac OS X El Capitan. Here is my version info. GNU Emacs 25.3.1 (x86_64-apple-darwin15.6.0, NS appkit-1404.47 Version 10.11.6 (Build 15G31)) of 2017-12-03 Problem: Like most Emacs users on ...
2
votes
1answer
248 views

How to detect Emacs Mac Port in Elisp?

I recently explored the Emacs Mac Port developed by Yamamoto Mitsuharu. It feels great and I would like to try using it instead of vanilla GNU Emacs. However, I have some code in my init files which ...
0
votes
1answer
304 views

Emacs shortcuts in Mac are worse than in Ubuntu?

I just moved from Ubuntu to Mac. Maybe I'm wrong but I found the shortcuts in Mac Emacs is harder to use than in ubuntu. Such as I have to frequently use the "Arrow" in Mac to select texts while in ...
1
vote
1answer
235 views

Basic AUCTeX Setup Issue in macOS and Linux

I'm trying to get AUCTeX up and running in macOS and linux and have followed the steps here. (The site has a separate guide for GNU/Linux.) My problem remains invariant between OSes, so I'm asking ...
0
votes
0answers
117 views

How do you properly bounce emacs installed via home-brew on macOS

I just added a snippet to my ~/prelude/personal/personal.el Time to activate it. In the past I've found that brew services restart emacs doesn't work out. So, While inside the emacsclient, if I do M-...
0
votes
0answers
44 views

Cannot access gnu.org from macOS

I am using a MacBookPro with macOS High Sierra 10.13.2 using Chrome as a browser. I cannot access elpa.gnu.org or www.gnu.org. As a result my emacs installation does not work anymore.
0
votes
0answers
113 views

C-M-% not works in MacOS terminal

I'm fresh to emacs and following manual to practice Query-Replace operation. But I find it not work at all. Type C-h l where it shows ESC 5 seems my OS swallow some key input or emacs parse input ...
0
votes
1answer
470 views

Tutorial Exercise - C-x C-s Save — Write Protected issue in OSX

I'm making my way through the tutorial and have run into an issue when trying to do the exercise on saving a file: Saving file /~TUTORIAL... basic-save-buffer-2: Directory / write-protected Auto-...
1
vote
1answer
51 views

Why do I have to double-press alt/option to get a meta key?

I'm using Aquamacs 3.3 GNU Emacs 25.1.1 under MacOSX 10.12.6 (Sierra). It's a fresh install of the operating system and aquamacs. Instead of just doing option-g to get meta-g like I used to, I now ...
0
votes
1answer
877 views

Open file in existing GUI Emacs from shell

I would like to set the shell EDITOR to use the existing running instance of GUI Emacs. On macOS I can type open -a Emacs file to edit file that way. But how would EDITOR look to work that way? What ...
5
votes
2answers
133 views

local keymap in mode-line doesn't work in terminal

I'm having trouble with getting local keymap:s to work in the mode-line, but only in terminals (with xterm-mouse-mode enabled). This applies to both the standard mode-line entries (like mode-line-...
2
votes
1answer
77 views

ibuffer hide beginning of lines

When I press C-x C-b I get ibuffer (installed as part of prelude I think) I like to press backtick and get the Filename/Process displayed. Another SE answer helped me with that. (ibuffer hide columns)...
1
vote
1answer
424 views

How do i switch to evil-normal-state on save

I am new to spacemacs and currently save fils by s-s (aka: cmd-s). I would like to switch to evil-normal-state each time I save. How do I do this?
20
votes
5answers
25k views

how install emacs 26 (or whatever latest ver) on mac

Someone (in another SE answer) mentioned a feature thats only available in 26, so I guess now I gotta upgrade. How do you install emacs 26 on macOS Sierra? What I tried: Googled how install emacs ...
2
votes
1answer
461 views

How to insert special characters not on a US/UK keyboard?

At work I use a MacMini connected to an italian layout keyboard (please, look at the image) I've discovered that Emacs doesn't insert the characters @ and # when I use AltGr+ò and AltGr+à, ...
3
votes
1answer
777 views

Run only one instance of Emacs on macOS

When I run Emacs on macOS, it runs a new instance of the app. Is there a way that I can only ever run one instance? If I double-click on the Emacs app icon (for example), and it's already running, it ...
1
vote
0answers
286 views

Problem opening spacemacs on mac OS Sierra when clicking spacemacs icon.

trying to install spacemacs using the Alternate installation instructions, but when I load the app using the app icon on the Applications folder I get the following. TL;DR: How to link env HOME=$HOME/...
3
votes
2answers
206 views

corrupted magit

Last week I had to abort a rebase in magit. Soon after my computer became unstable so I rebooted. Today, when I do C-x g for magit-status, I get an error in the status line Setting current ...
1
vote
0answers
324 views

osx - disable left option/command key, enable right option

I'm learning Emacs. On my Macbook, I have in keyboard settings: Capslock and Ctrl key swapped Option and Command key swapped Emacs commands like ctrl-r, ctrl-s work fine for me (obviously I use them ...
4
votes
1answer
1k views

Command C-M-<SPC> not working on mac os high sierra

I have emacs 25.2 installed on my Mac. Yesterday I updated the OS to High Sierra and the command C-M-<SPC> to highlight s-expressions is not working any more. Can you help me? Thanks
1
vote
1answer
2k views

Turn on package-check-signature and install ELPA packages on Mac OS X Emacs

I had my GUI emacs installed by brew cask install emacs. I wanted to strictly check the downloaded package, by its signature, so I put following (as for testing, solely) in ~/.emacs.d/init.el: (...
2
votes
0answers
121 views

C-x 5 0 quits emacs in full-screen mode on Mac High Sierra

I am running MacOS High Sierra. When I create new frames using C-x 5 2 and try to close one of the frames using C-x 5 0 running in full-screen mode, it kills Emacs entirely instead of deleting the ...
3
votes
1answer
410 views

Raise the emacs application window when opening a file triggers a prompt?

In case it's relevant, I'm on a Mac, running OSX 10.12 and Carbon Emacs 24.3.1. If I open a file using /Applications/Emacs.app/Contents/MacOS/bin/emacsclient -n filepath the Emacs window comes to the ...
0
votes
1answer
423 views

Encryption via gpg: “no such file”

When attempting to save some file.gpg, the minibuffer returns Opening output file: Searching for program, no such file or directory, gpg. According to the EmacsWiki, all that should be required is the ...
10
votes
2answers
24k views

How to start Emacs from the Terminal window as a GUI application (macOS)

I've installed Emacs via Homebrew. The version that got installed is 25.3.1. It was installed as the file whose full path is /usr/local/bin/emacs. When I execute emacs at a Terminal window, Emacs ...
2
votes
1answer
376 views

No visual-line-mode in emacs! How to set line wrap?

I am using Emacs on mac osx 10.7*. I have the LongLines mode where long sentences are truncated on screen with $ symbol. M-x visual-line-mode does not exist in my Emacs. That is when I type M-x and ...
5
votes
1answer
1k views

Making Dired work with FTP on OS X 10.13

So apparently Apple has (stupidly) dropped support for "insecure" Unix commands such as telnet, ftp, etc. in 10.13, or "High Sierra" (see these threads for more info). Unfortunately, I use Dired as an ...
1
vote
1answer
483 views

Frequent anaconda-mode buffers pop-up with “No such file or directory”

Running spacemacs on OSX. Using Anaconda. Every few keystrokes in a .py file, a buffer will pop up in anaconda-mode (which I have tried to disable with M-x anaconda-mode) /Applications/Emacs.app/...
1
vote
2answers
290 views

emacs: saving org headline visibility

I have an org file at ~/foo.org it looks like this (see bottom of this question) I reboot my pc every day, and the first thing I do is open this file. Then I do the mundane task of pressing tab to ...
2
votes
1answer
482 views

How to run emacsclient from applescript?

I am using https://github.com/sprig/org-capture-extension which is a cool Chrome extension to capture links while browsing. The setup on OS X requires defining an Applescript application which is ...
3
votes
1answer
653 views

How to set the keybinding for addind the hash symbol (#) in spacemacs with MacOS and an UK keyboard

I'm using spacemacs on a Mac OS X laptop with a UK keyboard and I want to be able to use Alt-3 (M-3) to insert the hash symbol #. I tried to add this function that I found on this SO answer without ...
2
votes
1answer
250 views

How to use NSTRACE when debugging

I would like to use NSTRACE to see its built-in messages, and create new ones, at various locations within nsterm.m. I imagine/guess that enabling NSTRACE needs to be done when configuring Emacs and ...
1
vote
0answers
106 views

How to apply a patch to a package without upgrading?

When I tried to use google-translate.el, I got a Failed to search TKK error. And according to this page the error caused by bug#11788. So I have to upgrade Emacs 26 or apply the patch. But latest ...

1 2 3
4
5
8