The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [osx]

for questions about graphical and terminal versions of Emacs on macOS operating system.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

Finder of MacOS Catalina cannot open a file with Emacs

After upgrading to macOS Catalina, Emacs (v26.3 from GNU Emacs for Mac OS X) works very strange. Without Emacs already running, Finder can open a file with Emacs as usual. But once Emacs.app is ...
0
votes
0answers
21 views

I want to type special Spanish characters in Emacs on a MacBook Pro keyboard … but I have no clue where to start

I am using Emacs 26.3 with macos Catalina and I would like to type the inverted exclamation point and question mark characters. Can someone point me to a link that will get me started towards ...
0
votes
1answer
16 views

Tramp x11 on Mac os (local) , centos (remote)

I understand that I should be able to use X11 to show graphs from a remote R when I use a local emacs to connect to the remote machine with tramp. I have tried a few different things but can not get ...
0
votes
0answers
23 views

doom-emacs freezes when trying to open a any file that uses c-mode or c++-mode

Exactly as title says, I attempt to open c/c++ files in any way, or event just enter c-mode/c++-mode in any buffer and my emacs freezes. I have basically no configuration that should affect it, my ...
0
votes
1answer
23 views

How to make `pulse-momentary-highlight-region` stop highlighting after 1 second?

When I do pulse-momentary-highlight-region, the highlight stays till I press any key. (I'm on macOS emacs -nw.) How can I make the pulse to go away after a short while?
0
votes
1answer
25 views

Aquamacs for macOS Mojave and Catalina - error in process filter: ‘recenter’ing a window that does not display current-buffer. How can I fix this bug?

I'm a very new Mac user and not really an Emacs user. I just use emacs to run PVS Specification and Verification System, by typing the pvs command in the terminal to start the software. Aquamacs was ...
0
votes
0answers
37 views

Getting operation not permitted when trying to open projects or use integrated terminal in emacs-doom

While using MacOS Catalina (which is suspect is the problem) I recently decided to try emacs, as a recommendation from a friend. I finally get it working and generally figure it out and now when ...
0
votes
0answers
19 views

Emacs mac-right-option-modifier variable doesn't work with Sticky Keys on in macOS

I've set right option modifier as super key using `(setq mac-right-option-modifier 'super) but if I have Sticky Keys on on macOS, it doesn't work.
0
votes
0answers
33 views

recover org file

I use emacs org mode + EVIL on MacOS. I had a small part of my file visually selected last night when I wrote :wq and hit y to the prompt. To my shock and horror this morning only the visually ...
0
votes
1answer
14 views

Org export on mac os # option

When I press C-c C-e in org mode I get the export options. However I can not choose "Insert template" as when I try and type the # in mac os I need to press the option key and the 3 key. But Option is ...
11
votes
1answer
3k views

How to Restore File System Access in macOS Catalina

I updated to macOS Catalina which requires the user through pop-ups to allow any app trying to access the file system for the first time. No such pop-up is appearing for Emacs. Running the script ...
1
vote
0answers
39 views

Problem Committing with Magit

I'm a relatively new convert to emacs and a very new convert to Mac. After installing Emacs using the ESS installer (Version 18.10.2). When I attempt to state a file for commit I receive the ...
0
votes
1answer
35 views

magit commit does not permit adding a gpg signature

I am failing to run gpg to sign commits, after doing so successfully before an upgrade to Mojave and an upgrade to Emacs. (I am not sure when I lost the ability to sign files in the past year.) When ...
0
votes
0answers
10 views

Attaching files in mu4e from the clipboard

I use mu4e for email. I can attach a file to a new message with drag-and-drop or with dired (as in these directions from the manual). I would like to code the same behavior as Mail: in the Finder, I ...
1
vote
1answer
39 views

Why can't Emacs find gfortran on my Mac?

I have tried to compile a simple helloworld.f95 on my Mac, using emacs. The root of emacs was set in the directory containing helloworld.f95. I used the following commands M-x compile gfortran -o ...
1
vote
1answer
28 views

Using C-x C-<left|right> for windmove

On a Mac, using Emacs 26.1, I'd like to bind my windmove functions using: (global-set-key (kbd "C-x C-<left>") 'windmove-left) (global-set-key (kbd "C-x C-<right>") 'windmove-right) (...
1
vote
0answers
55 views

Emacs slow when launching GUI

I have a weird problem. When I launch emacs GUI by double clicking the icon, or using open -a emacs in the terminal, or calling the application from alfred/spotlight it takes 4-8 seconds to launch. ...
4
votes
1answer
1k views

Failed to download 'gnu' archive

I tried to install emacs and in an attempt to install MELPA, tried: (this is my init.el file) (package-initialize) (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")) (add-to-...
2
votes
1answer
66 views

Getting permissions errors related to /var/folders directory after doing mac migration

I am running spacemacs emacs and recently had to migrate my macbook to a new macbook. After doing that, I am having trouble using magit. When I try to commmit using magit from the magit status ...
0
votes
0answers
31 views

Can emacs on Mac using native window system connect to an emacs server on a Linux system

At this point I believe I am using the emacs version on my Mac that is built by Homebrew and the "stock" emacs on Ubuntu 18.04. I set up emacs server on the Ubuntu host as it is described in Starting ...
2
votes
1answer
55 views

How can I generate a link back to a specific point in an org mode file that I can paste into an external application?

I am working on a Mac. I want to capture a link to a specific note within an org document that I can paste into another external application. In this case, I am using 'Things' (an external Mac OS X ...
1
vote
0answers
31 views

How can I drag-and-drop an `org-mode` header onto the Mac desktop?

John Kitchin has a terrific video on modifying the default drag-n-drop behavior, going from the Mac Finder onto an Emacs buffer. I would like to implement the opposite behavior: dragging an org-mode ...
0
votes
1answer
65 views

`C-x C-c` closes all windows on OSX

In OSX, pressing C-x C-c closes all Emacs windows instead of only the selected one. This isn't the bahavior I've come to esxpect from using Emacs on Windows, Ubuntu,or CentOS. What's up?
0
votes
2answers
31 views

macos: binding command-plus and command-minus to text-scale-increase and text-scale-decrease

Emacs 26.1: C-h v tells me that command-"+" is "s-+". how do I then define a properly working (global-set-key "s-+" 'text-scale-increase) ?
1
vote
0answers
53 views

Copy or paste between terminal emacs 26 and Mac apps

I am using terminal emacs a lot, and the method from Copy text from Emacs to OS X clipboard works for a long time. But after upgrading to Emacs 26, if I kill a string like "你好" from emacs, and paste ...
0
votes
1answer
209 views

Open Emacs GUI from terminal (keep process running in terminal)

Sorry, but I will probably be not using the correct terminology in this post. I used to be able to open Emacs from my terminal and the terminal process would stay open (I would not be able to ...
4
votes
1answer
529 views

Emacs Mac OSX after upgrade to 26.2 launches only in `-nw` mode

I upgraded to Emacs 26.2 on my Mac OSX Sierra instance via "brew". After the upgrade, the emacs command will not open a new "GUI window", i.e. it runs as if I passed the -nw args or ran it from an ...
6
votes
1answer
170 views

How do I keep Mac Emacs from trapping M-`?

I want to use the command key on my Mac as the meta key, so I customize ns-command-modifier. But I also want to still use ⌘-` to cycle through all the windows in Emacs - just like in all other Mac ...
1
vote
1answer
28 views

How to enable Ctrl-Option combinations with OS X

I can't get simultaneous presses of Ctrl + Option and other keys to register in Emacs. For example, if I press Ctrl-h c (describe-key-briefly) and then Ctrl-Opt-f, it doesn't recognize that I've ...
1
vote
0answers
50 views

Align columns in Org Mode with Korean letters

When I try to make a table that has Korean character (한글) mixed with English words, the table becomes unaligned, and according to an answer about Japanese found here the the same problem with Japanese ...
2
votes
1answer
46 views

Emacs think there is an accented character in the keystroke

Version GNU Emacs 26.1 (build 1, x86_64-apple-darwin14.5.0, NS appkit-1348.17 Version 10.10.5 (Build 14F2511)) of 2018-05-31 Use emacs -Q with following config: (setq mac-command-modifier 'super) (...
1
vote
1answer
53 views

How to change font size only for the buffer *Org Export Dispatcher*?

I'm using emacs with a large font, however I do not need the font to be too large on certain buffers and/or modes. For example, when I use neotree I use a different font and a smaller size, I do that ...
2
votes
1answer
24 views

Binding a key to 'open -a Terminal .' on macOS

I'd like to do something like this (global-set-key (kbd "C-c t") (kbd "M-! /usr/bin/open -a Terminal . RET")) ... in order to open a (real, the) terminal from the current working directory in macOS ...
0
votes
2answers
102 views

pdb within eshell up/down keys dont work

I am running python3 in eshell. When I use import pdb; pdb.set_trace() in my code, pdb opens within eshell. Everything works in pdb but the up/down keys don't work for running the previous command. ...
0
votes
0answers
66 views

GPG Encryption & EasyPG

Does anyone here regularly use Emacs to interact with GPG encrypted files and, if so, what has your experience been? The Problem: I've been using Emacs (on OS X) to regularly edit a couple of GPG ...
1
vote
1answer
44 views

Building on macOS with a prefix

When I pull 25.1 down from FTP and configure using the following (extrapolated from this run): curl -o "/tmp/emacs-25.1.tar.xz" "https://ftp.gnu.org/gnu/emacs/emacs-25.1.tar.xz" tar xf "/tmp/emacs-25....
1
vote
2answers
837 views

Another way to install emacs on OS X using homebrew

It seems homebrew has removed all the options (incl. --with-cocoa) for brew install emacs. Now it recommends to use brew cask install emacs to get a built binary from https://emacsformacosx.com/. ...
1
vote
0answers
53 views

Why spacemacs would like to control this computer using accessibility feature on OSX?

When I start up spacemacs it prompts for the privileged to be granted? Why spacemacs needs to request this?
0
votes
1answer
50 views

helm-mu on macOS throws Invalid read syntax: (")

Hej guys, I get an error when searching through my mails with helm-mu. Messages gives Invalid face reference: helm-grep-finish [96 times] error in process filter: helm-mu-candidate-parser: End of ...
1
vote
2answers
47 views

Mac OS X: How to permanently change the prompt (value of PS1) in the shell of emacs client?

I have start emacs as daemon through (emacs --daemon). I then launch the client (emacsclient -c) and use its shell mode through (M-x shell RET). However the prompt starts with: bash-3.2$ I have ...
0
votes
0answers
39 views

Look up Contacts in mu4e and macOS

I use mu4e for email inside Emacs. The server syncs some contacts that I can auto-complete and I would like to auto-complete based on the Contacts on the mac, in Contacts.app. Is that possible?
0
votes
0answers
79 views

Emacs on macOS - Flyspell doesn't recongnize non-english words with diacritics/accents

First of all, I think someone was having a similar problem some months ago, but that person was using a different external spellchecker (Aspell). Link. The problem that I'm having is the following: ...
1
vote
1answer
74 views

“ESC” no longer works as meta; how can I restore functionality?

I mistyped some command sequence and ESC stopped working as a meta prefix in Aquamacs (it still functions as usual in the command-line emacs, including both Apple's system version and the command-line ...
1
vote
1answer
1k views

How to install mu and mu4e with GUI Emacs

I've been using this guide to set up email in Emacs on macOS. I managed the offlineimap connection and replication into a Maildir. I installed mu with brew install mu: $ which mu /usr/local/bin/mu ...
0
votes
1answer
18 views

Mac OS X HHKB <C-left> not captured by GNU Emacs

I've been using GNU Emacs and Mac OS X (Early 2015, 10.13.2) and HHKB works well. Several days before I bought a new Macbook Pro(2018, 10.14.1) and plugged the same HHKB. Everything works fine but ...
0
votes
1answer
437 views

Configuring Flycheck to use a local ESLint

I was trying to get emacs to point to a version of eslint that isn't installed globally (but located in the node_modules of the directory one level up), so I followed this: Flycheck with file relative ...
2
votes
2answers
150 views

How to make tooltip background transparent?

I want to make the tooltip background somewhat transparent, say, change it alpha value to 0.5. I find these code in tooltip.el.gz (defface tooltip '((((class color)) :background "lightyellow" ...
1
vote
3answers
1k views

My left alt key (OS X) does not work as Meta key in Emacs (terminal)

I have an Italian keyboard layout. My left Alt/Option key does not behave as the Meta key in Emacs terminal (OS X), but it behaves as the Meta key in GNU Emacs (GUI) downloaded from https://...
1
vote
1answer
708 views

Set 24-bit colors terminal (Truecolor) for Solarized theme on Mac

I am trying to get Solarized theme color correct in terminal by enabling truecolor on my Mac, following the instruction from Spacemaces: https://github.com/syl20bnr/spacemacs/wiki/Terminal. But I ...
1
vote
1answer
34 views

Issues adding super keybindings to term-mode-map on Mac OSX

I'm trying to bind Command-{ and Command-} to multi-term-prev and multi-term-next. I only want them in term-mode, since if I use it in a file buffer it will switch to show a terminal (which is rather ...