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
0
votes
1answer
30 views

Why don't my frame titles update?

I run Emacs 27.1 on my MacOS MBP and use desktop-mode. After starting emacs (with frames re-created by the desktop restore), the frame titles are wrong and seem to remain wrong until I do something ...
0
votes
1answer
123 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
1answer
165 views

C-x C-f, Cannot complete file name for desktop folders

I am new to Emacs. I am trying to access a file in the "Emacs" folder on my desktop. I run the C-x C-f command, then type ~/Desktop/Em. I then hit TAB, but there's no completion. Emacs says [...
1
vote
0answers
1k views

Debugging with dap-mode for python and taking user input

I am trying to make dap-mode for python working on spacemacs. For the most part I was able to get it working, but I am having issues taking in input on the CLI def main(): a = input(">") The ...
0
votes
1answer
30 views

isearch buffer greyed out/blurred after update to macOS 11.3

I'm running Mac Port version of emacs 27.2 on macOS big sur. I recently updated to macos 11.3, and I'm having some strange behavior when I do a C-s search. In around 75% of instances, the entire ...
1
vote
1answer
31 views

Mac stopped binding CMD-Up, which I use in Emacs and Racket

CMD/up, used in both Dr Racket and Portacle (Emacs) to retrieve the last command in the buffer, has stopped working for both programs. Other combinations with CMD do work, such as CMD/P, and CMD/X, ...
0
votes
1answer
50 views

error running emacs on macOS big sur, "because Apple cannot check it for malicious software"

I recently got an MacBook Pro running MacOS Big Sur and of course the first thing I went to install was emacs. I tried both using Homebrew and MacPorts to do so. Both of them produce the same pop up ...
0
votes
1answer
193 views

Error retrieving: https://elpa.gnu.org/packages/archive-contents

This is with the latest Emacs Version 27.2 (9.0) for Mac OS X: error in process sentinel: Error retrieving: https://elpa.gnu.org/packages/archive-contents (error connection-failed "connect" :...
0
votes
0answers
10 views

Unable to open files for editing with GPG + EasyPG

I have been using GPG + EasyPG for encrypting/decrypting files on my Macbook. Recently, I moved to a new Macbook and tried setting things up similar to my previous setup. However, while the files are ...
5
votes
1answer
3k 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 ...
3
votes
1answer
440 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 ...
0
votes
1answer
33 views

How to avoid paste to system clipboard when use Emacs For Mac OS X?

When use Emacs For Mac OS X, copy a string from browser(E.g. B) then paste into it, it works. But if use ciw(vim mode) on a string(it's the same as copy a string inside the tool, E.g. A), then Ctrl + ...
3
votes
2answers
1k views

Why does Emacs.app (on Mac OS X) find the ctags executable inside Xcode.app?

When I try to generate a TAGS file, emacs executes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ctags, which causes problems because it is not compatible with ...
0
votes
1answer
64 views

Can I read a macOS Extended Journaled Encrypted USB flash using Emacs 27 Dired?

Is there a way to browse a flash USB drive formatted in Mac OS Extended (Journaled, Encrypted) using Emacs 27 Dired? After I Enter a password to unlock the disk “XYZ”. I can browse the folders and the ...
1
vote
1answer
510 views

Clipboard sharing broken in OS X Sierra

Just upgraded to Sierra, and if I try to copy or paste text, nothing goes through. Has anyone else experienced this problem? Any way to debug the prolem? Apparently Sierra also broke copy/paste in ...
1
vote
1answer
307 views

Trouble with ocp-indent in spacemacs on mac

I'm having trouble setting up spacemacs for ocaml on my mac. Specifically, spacemacs can't seem to find ocp-indent. Whenever I enter a new line, I get the following message: "Searching for program: No ...
0
votes
1answer
71 views

How to open a link to a folder/file in Finder, not Dired

I used to be able to create links with open-insert-link pointing to folders or files. When I clicked on them, I would be redirected to Finder. Lately, they are shown within Dired. How to control this ...
17
votes
3answers
22k views

emacs on terminal does not recognise option as alt-key on mac

I am on a mac 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 key. I ...
0
votes
0answers
18 views

How do I set the command key as Super on osX? [duplicate]

I am running the graphical version of Emacs 26.1 on osX, and I have (when (eq system-type 'darwin) (setq ns-command-modifier 'super)) in my init.el. However, when I do e.g. s-t, it brings up the ...
9
votes
4answers
1k views

Delete files to Trash on OS X

Is there a best, most future-proof method of setting emacs on OS X to delete files to the trash? I tried the instructions here: (setq delete-by-moving-to-trash t) (defun system-move-file-to-trash (...
0
votes
3answers
381 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. ...
1
vote
1answer
112 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?
4
votes
1answer
856 views

Unable to launch in macOS Catalina

I recently upgraded my Mac to Catalina 10.15.6. I also upgraded emacs to 27.1. When I try to start it, I get an error: I tried downloading the dmg directly from emacsformacosx.com and installing via ...
0
votes
1answer
44 views

Silence <location> <wheel-direction> is undefined

How to silence GNU Emacs on MacOS with magic mouse? Forever getting the bell and messages telling me certain mouse wheel features are undefined when hovering in certain places. For example <...
5
votes
2answers
365 views

Change theme when OS dark mode changes?

VS Code recently added the ability to switch themes when macOS's dark mode changes. Presumably they use the Electron API, which internally uses the Objective-C API of subscribing to the ...
0
votes
0answers
19 views

OSX Paredit Keybindings iTerm

I am trying to get paredit to work on iTerm on mac. I am trying to paredit-forward-slurp-sexp which is bound to <C-right> and C-). But <C-right> does nothing, and C-) prints out 9. It ...
1
vote
1answer
39 views

Buffer-name on separate "row" from toolbar icons?

Using macOS (11.3, M1 Mac mini) and an older Intel build of Emacs 27.1, when I load a file/buffer into Emacs, the path to the file/buffer shows up at the top of the window, above the toolbar: But, ...
1
vote
1answer
203 views

How can I stop my scrollbar "bouncing" into and out of existence

I just installed Spacemacs on a new Mac and am getting some weird behavior—the scroll bar appears when I scroll (making the window wider), then disappears when I stop scrolling. This doesn't happen on ...
1
vote
0answers
338 views

EmacsForMacOSX build 27.2-2 cannot be opened on mac M1

This question is about Emacs 27.2-2 from https://emacsformacosx.com/ on Mac M1. From the release notes1 M1 support should be added since 27.2-1. However, on latest stable version I was getting an ...
0
votes
1answer
36 views

Restore privileged folder access for previously working Emacs.app on Catalina (NOT system upgrade)

This is similar to How to Restore File System Access in macOS Catalina but the problem is different. I did not upgrade my operating system, only the app, and none of the solutions there are valid ...
28
votes
2answers
6k views

Why can't I list the contents of Desktop on macos using dired?

When I do C-x C-f on ~/Desktop/ in macos Catalina, I get the following error. Listing directory failed but 'access-file' worked I can list the directory for just ~. I'm new to Emacs and know little ...
106
votes
4answers
46k views

What is the difference between Aquamacs and other Mac versions of Emacs?

Macintosh users have several choices of pre-built Emacs. I am aware of the following versions: YAMAMOTO Mitsuharu's Emacs Mac Port David Caldwell's Emacs for Mac OS X Vincent Goulet's Emacs Modified ...
1
vote
1answer
142 views

Slow markdown-mode as Emacs spends lots of time fontifying

Emacs on my Mac got upgraded when I upgraded some other package in Homebrew and now working with Markdown files is very slow. I'm now running the railwaycat/emacsmacport/emacs-mac package version with ...
25
votes
2answers
13k views

Using conda environments in emacs

What is the best way to use conda environmets using emacs as a Python IDE? I have got different conda environments while programming in Python: $ conda info -e # conda environments: # django ...
2
votes
0answers
962 views

Emacs won’t access Documents directory on MacOS Big Sur

I am running Emacs 26.3 on MacOS 11.2.1 “Big Sur”. When I try to open the directory ~/Documents, it fails with the message “Listing directory failed but ‘access-file’ worked.” Emacs.app is given ...
6
votes
2answers
1k views

macOS tab feature breaks Emacs new frame behavior; a simple fix?

Prior to macOS Sierra I would use C-x 5 2 to create a separate frame which was created in an OS X window so that there were now two windows. This is using the latest EmacsForOSX version straight out ...
1
vote
1answer
39 views

How to produce UTF8 info file with makeinfo on osx?

In the texi file I have the directive @documentencoding UTF-8 but makeinfo gives me a warning: unrecognized encoding name `UTF-8' raoul@MacBook-Pro-de-Raoul oef-mode % makeinfo oef-mode.texi oef-mode....
0
votes
1answer
54 views

Binding option + arrow keys/backspace on Mac OS while still being able to enter special characters

I want to be able to bind ⌥← to move the cursor to the previous word, ⌥→ to the next word, ⌥↓ to scroll down a page etc. in Emacs on Mac OS, as in native text editing controls, but also still be able ...
1
vote
1answer
122 views

How to set env values for eshell in emacs on macOS?

If use iTerm on macOS, we can set env values in its terminal. It also set path such as /usr/local/bin/ in ~/.bashrc. But in emacs' terminal as eshell, run kubectl shown kubectl: No such file or ...
0
votes
0answers
8 views

dired and some keyboard shortcuts don't work on Emacs on MacTerm's vt220 emulator

I use MacTerm 4.0 on OS X 10.7.5 and I use the vt220 option base emulator. When I open emacs -nw on it, when I press C-x C-c (to quit Emacs) it says C-x C-g is undefined When I type C-x C-s (to save ...
1
vote
0answers
343 views

Compiling gccemacs (Emacs 28) from source. To bootstrap or not to bootstrap?

With the following build script on Big Sur + homebrew, I get horribly long compile times when using make bootstrap as opposed to simply make on gccemacs. I've read the Makefile in the src directory - ...
2
votes
3answers
490 views

esc-right and M-right function differently in org-mode headers

I'm on macOS 10.12.5 and Emacs 25.2.1. For some reason M-right is interpreted as M-f. ESC-right is correctly interpreted as ESC-right. I can't see anything in the macOS keyboard shortcuts list that ...
0
votes
1answer
76 views

Problems with FTP connection via Tramp

I try to create FTP connection via Tramp, but the output I get on AngeFTP is: ftp> open android.local ftp: Can't connect to `192.168.0.21:21': Connection refused ftp: Can't connect to `android....
0
votes
0answers
45 views

Emacs-26 Big Sur (Intel) 11.2 - make fails error 137 macroexp.elc

Xcode: 12.4.0.0.1.1610135815 CommandLineTools: 12.4.0.0.1.1610135815 I've exported CC=clang, but I can't get the emacs-26 branch to compile on my Big Sur Intel machine. See gist here .autogen.sh and ...
1
vote
1answer
281 views

Dictation in Mac OS doesn’t leave spaces between words in Emacs

I have tried to use the dictation feature of Mac OS in Emacs and it works quite well, except that it doesn’t seem to recognise spaces between words if I pause shortly and also omits spaces between ...
4
votes
4answers
2k views

Access menu-bar using keyboard on Mac OS X

When I hit C-f2 in any Mac OS X app (e.g., terminal, firefox), I get keyboard access to the menu bar (file/edit/options &c) In emacs I get a message <C-f2> is undefined in the Echo Area. ...
8
votes
8answers
9k views

Install Pdf-Tools on Emacs MacOSX

Aim I would like to get PDF Tools installed on my GUI Emacs on MacOSX (version 25.0.50 installed via Homebrew on MacOSX 10.10.2) because the README says it's possible. Setup I installed poppler and ...
11
votes
4answers
6k 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 ...
10
votes
2answers
26k 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 ...
1
vote
1answer
275 views

Enable OS X keys in Emacs

I installed Emacs via homebrew using this Emacs bundle, https://github.com/railwaycat/homebrew-emacsmacport This bundle has some nice OS X features but it doesn't have the OS X keyboard shortcuts ...

1
2 3 4 5
8