Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [osx]

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

0
votes
2answers
19 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) ?
0
votes
0answers
20 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
29 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 ...
3
votes
1answer
158 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
150 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
26 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
43 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
45 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
28 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
22 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
60 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
43 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
30 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....
0
votes
2answers
297 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
42 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
26 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
36 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
29 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
61 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
56 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
602 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
17 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
204 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
88 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
764 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
338 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
27 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 ...
1
vote
1answer
2k views

emacs not working on Mojave

I just updated to Mojave. I used to use emacs-mac from https://bitbucket.org/mituharu/emacs-mac/ but with Mojave I just get blank window for emacs. I also tried emacs-plus and building on my own both ...
0
votes
2answers
86 views

How to deal with particular key-binding conflict (F3 key on Mac)

I would like to make a very basic macro on my Mac, to have a command that writes a list of slashes in the current file : //////////////////// The "Basic emacs macros" section of the manual says : ‘&...
2
votes
1answer
248 views

emacs prompting for github password

I've recently switched from spacemacs to radian and have suddenly run into magit prompting for my github password whenever I view the status of a repository (the repository is configured to use SSH). ...
0
votes
1answer
221 views

Emacs on mac recognizing C-x as M-x

System Config: macOS Sierra, Emacs v26.1 installed from emacsformacosx.com issue: On a fresh install, the C-x key is mapped to M-x by default. Is this the default behaviour? If so, how can I ...
1
vote
1answer
132 views

How to make everything except the text transparent?

How to make everything except the text transparent?
2
votes
1answer
174 views

Can emacs run inside chrome?

Can emacs be run in chrome? Like vim does at https://rhysd.github.io/vim.wasm/
1
vote
1answer
106 views

In macOS, how to fix `command+option+key` changing `key` to a special character?

In macOS 10.13.5 running Emacs 26.1, key presses involving command+option are not producing the key sequences I expect. How can macOS and/or Emacs be configured to fix this? Examples: command+option+...
0
votes
1answer
379 views

Emacs is using the wrong SHELL

I'm using emacs 26.1 and spacemacs (emacs-plus from homebrew and spacemacs is from the develop branch). I've configured my local shell to use ZSH from homebrew as well (installed to /usr/local/bin/zsh)...
1
vote
2answers
30 views

C-v does not move to the next screen appears: — VISUAL BLOCK --

I'm using Emacs on mac, and I just started the tutorial. When I type C-v I see -- VISUAL BLOCK --, but the tutorial says that it should move to the next screen. I'm just starting to use Emacs. What ...
0
votes
1answer
40 views

Heading underlined in info files on macOS (railwaycat)

I recently installed railwaycat's Emacs Mac Port, and found that, unlike Emacs for Mac OS X, the headings in info files are now underlined. How can I get rid of these superfluous underlines? The ...
1
vote
1answer
44 views

Why is emacs creating multiple nested bak/ folders?

I recently tried to back up and move my .emacs.d to another folder and got the error down below. Does anyone know why my system is generating all of these bak/ folders? Also, is it safe to delete ...
1
vote
0answers
170 views

Can't display images in org-mode

I am on MacOS High Sierra, iterm2; I cannot find how to display images in org-mode. My term supports image display as imgcat works well within my shell. When I try to open the image link in emacs it ...
0
votes
0answers
38 views

No tty in shell buffers in Carbon Emacs on High Sierra

I've been using the Carbon Emacs port of Emacs, which is based on Emacs 22, for many years. I know it's way out of date and unmaintained, but I have a huge collection of home-grown extensions that I ...
3
votes
2answers
376 views

Copy/paste between SSH terminal Emacs and macOS

Suppose you are working in macOS, and you decide to SSH into a Linux box and fire up terminal Emacs. How do you copy and paste between macOS and your SSH terminal-Emacs? Copying and pasting between ...
4
votes
1answer
55 views

emacs remove macOS Tags when resave the file

I found emacs cannot save the macOS tag when the file changed and save from buffer I create a empty file with macOS tag and use emacs to open it and write something use C-x C-s to save and the tags ...
0
votes
1answer
736 views

Python in org babel will not work

I've recently moved to a new computer and cannot get org babel to work with Python (it worked fine on my old machine). I'm using OS X 10.12.6 with Emacs for Mac OS X based on Emacs 25.3 with org-mode-...
1
vote
0answers
35 views

Emacs doesn't use macOS's /etc/launchd.conf env variables

Emacs doesn't use macOS's /etc/launchd.conf env variables. I have the following there: function addToPATH { case ":$PATH:" in *":$1:"*) :;; # already there *) PATH="$1:$PATH";; # ...
3
votes
2answers
162 views

How can I yank images from Emacs?

I want to copy images from Emacs to macOS clipboard. I have tried selecting them and yanking, which hasn't worked. Google also didn't have a solution.
-1
votes
1answer
184 views

Offlineimap, updates email, is not working with Emacs

I recently started to move my workflow over to emacs and was able to configure my email with mu4e with emacs, but offlineimap, which controls updating my email, function is not working when I invoke ...
0
votes
1answer
167 views

OSX - turn off command key in terminal emacs

I'm trying to disable the command key when running emacs from the terminal. Whenever I mistakenly press CMD-V instead of ALT-V, the text from my Mac clipboard gets copied into the buffer. From related ...
1
vote
0answers
82 views

Cannot enable sound when building from source

I can't seem to enable sound support when building Emacs from source: Does Emacs support sound? no It does not seem to be doing anything even if I do: ./configure ...
6
votes
1answer
253 views

Process input seems buggy in Emacs on OS X

I have a process that I'm trying to send input to on OS X. I'm using Emacs' builtin functions for doing this: process-send-string and process-send-region. However, it seems that there are issues when ...
1
vote
1answer
131 views

How do I focus Emacs from elisp in macOS?

I want to focus emacs by running some elisp. I have tried using do-applescript and the following snippet to focus Emacs: if application "Emacs" is running then tell application "System Events" to ...