Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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
0 answers
26 views

macOS 11.6.3: Emacs acts like control, meta keys are sticking; how to diagnose?

I'm a longtime GNU Emacs and macOS (and GNU Emacs on macOS) user, on a US Gov't owned MacBook Pro (16-inch, 2019) running macOS 11.6.3. For the last few weeks, GUI versions of Emacs are acting as if ...
user avatar
  • 101
0 votes
2 answers
38 views

macOS Desktop access: "Reading directory: Operation not permitted"

I use macOS Monterey, and my problem appears to be similar to Getting operation not permitted when trying to open projects or use integrated terminal in emacs-doom but the solution there (giving ruby ...
user avatar
  • 115
1 vote
2 answers
51 views

Activating Hunspell or Aspell on MacOS

Sorry, newbie question: I am trying to get spell checking to work in emacs on MacOSX 12.3.1 I installed emacs-plus as well as Aspell via Homebrew. I then added the following lines to my .emacs (add-...
user avatar
  • 33
1 vote
0 answers
26 views

What is the preferred method of submitting a bug report on macOS?

On a Mac, when an application dies, a GUI window comes up with a place to type in some stuff if you want to and then hit "Report". Something goes off somewhere to someone but I'm 99% sure ...
user avatar
  • 273
1 vote
0 answers
29 views

Emacs occasionally opens file with blank screen

I have the following issue with emacs (version 27.2 and I am on a Mac running os 12 Monterey). Occasionally when I open a file which already exists the emacs buffer shows me a blank screen. This has ...
user avatar
1 vote
0 answers
19 views

cursor jumps, words jumbled (emacs in terminal via iTerm2 on macos)

I use GNU Emacs 27.2 on macos (Monterey) in an iTerm2 terminal window. iTerm2 settings are largely default (I have remapped esc to option as my metakey). When I open a file and start editing, things ...
user avatar
1 vote
1 answer
20 views

Gnus cannot start external w3m: no such file or directory

while I am using Emacs as an editor for years on my Macbook (OSX 10.13), I only recently started again to launch external commands by using Gnus. While this answer helped me to fix calls to uncompface,...
user avatar
  • 155
1 vote
0 answers
22 views

use of "system font" on recent MacOS failing

With emacs-version = 27.2, and on MacOS 12.2.1, attempts to do something like (set-fontset-font t '(#x2070 . #x209C) "System Font" nil 'prepend) are causing error logs to the terminal where ...
user avatar
0 votes
1 answer
48 views

How to just use macOS's command key?

Can one use macOS's Command Key (⌘) as a separate modifier key from ctrl and meta? My specific question is, is it possible to use ⌘+Q to quit emacs without altering the existing keybindings? I have ...
user avatar
  • 115
0 votes
1 answer
52 views

"Opening directory permission denied `/Users/myname/Documents/'" in Spacemacs on MacBook Air M1

I am using Spacemacs and I am getting this error in HELM when I am trying to go in the Documents folder via HELM on my MacBook Air M1 computer: @@@@file-error: Opening directory permission denied `/...
user avatar
  • 1
0 votes
1 answer
28 views

Emacs' titlebar and dialogs theme is not matching Mac OS general settings

Before starting, I'm on Mac OS Monterey (12.2.1) with M1 chip. My Emacs' version is 27.2. I made a change to let Emacs accessing my entire disk because it can't by default. I followed this article ...
user avatar
1 vote
1 answer
62 views

PDF appears very dark when viewed in DocView on MacOS

When I view PDFs in Emacs using DocView, they appear much darker than they should: I am not sure why this happens -- I haven't changed any settings related to DocView or enabled any minor modes that ...
user avatar
0 votes
1 answer
33 views

Executable image-dired-cmd-create-thumbnail-program not found on Darwin, macOS

total Emacs newbie here. When I try: M-x image-dired RET FOLDER RET The minibuffer shows this error: Executable image-dired-cmd-create-thumbnail-program not found When I check the *Messages* buffer ...
user avatar
0 votes
0 answers
38 views

Mac terminal nw user: how do I start emacs in gui mode? My /Application folder of Mac doesn't have an emacs icon

how do I start emacs in gui mode? My /Application folder of Mac doesn't have an emacs icon I only need gui mode maybe a week, say when editing a html document with inline images. my-silica $ which ...
user avatar
0 votes
1 answer
25 views

M-h not working on Mac (minimizes window instead of org-mark-element)

Using Mac OS Big Sur, org-mode 9.2.6 with GNU Emacs 27.2. I am trying to mark the whole item under the point. But when I use the M-h keystroke, the Emacs windows disappears and I need to click its ...
user avatar
  • 103
2 votes
1 answer
75 views

Deleting a file to ~/.Trash produces "File already exists..." if a file of that name is there [duplicate]

I have (setq trash-directory "~/.Trash") and (setq delete-by-moving-to-trash t) in .emacs to be able to have files moved to ~/.Trash via d and then x in dired-mode. (This is in macOS.) But ...
user avatar
0 votes
0 answers
178 views

Emacs doesn't open at macOS Big Sur 11.3.1

I tried to install Emacs from https://emacsformacosx.com/ and also with brew. In both cases I get the following error if I wanna open the GUI: “Emacs” can’t be opened because Apple cannot check it ...
user avatar
0 votes
1 answer
191 views

Error enabling flyspell in emacs - aspell MacOS

I am having some difficulty getting flyspell/aspell to run on emacs 27.2, MacOS 12.01. I think I need to install or enable a dictionary, but no ideas on how to do this. If I type 'M-x flyspell-mode' I ...
user avatar
0 votes
2 answers
23 views

Unable to remap mouse under dired in macos emacs

I'm not sure whether this should be considered an appropriate post for emacs.stackexchange, or whether this should go to some sort of macos forum. Please let me know if I need to ask the following ...
user avatar
  • 522
0 votes
0 answers
141 views

How could I go about syncing my org files with Apple Notes?

I'd been using Apple Notes to keep track of pretty much everything by linking notes together with iCloud links until recently when frustration with the extremely limiting functionality of Notes led me ...
user avatar
  • 101
0 votes
1 answer
128 views

Julia mode in MacOS

I updated my macOS from Big Sur to Monterey and found that my julia command does not work. Specifically, I use the following init.el. So far, I could send line using C-return but, now I got a message &...
user avatar
  • 101
1 vote
0 answers
853 views

Building emacs with native compilation on Apple M1

I am using the homebrew-emacs-head recipe to 'brew' a bleeding edge Emacs once a week. I just moved to Emacs 29 on my Intel mac, and decided to try native compilation. After a little bit of fiddling ...
user avatar
0 votes
1 answer
245 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 ...
user avatar
0 votes
0 answers
12 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 ...
user avatar
8 votes
1 answer
769 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" :...
user avatar
  • 183
0 votes
1 answer
51 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 + ...
user avatar
  • 105
0 votes
0 answers
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 ...
user avatar
  • 471
0 votes
1 answer
173 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 ...
user avatar
  • 25
0 votes
0 answers
27 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 ...
user avatar
0 votes
1 answer
34 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 ...
user avatar
2 votes
1 answer
395 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 ...
user avatar
  • 61
3 votes
1 answer
1k 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 ...
user avatar
0 votes
1 answer
51 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 ...
user avatar
1 vote
1 answer
70 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, ...
user avatar
  • 113
0 votes
1 answer
61 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 ...
user avatar
  • 63
2 votes
0 answers
1k 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 ...
user avatar
0 votes
1 answer
91 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 ...
user avatar
  • 123
1 vote
1 answer
224 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 ...
user avatar
  • 13
1 vote
0 answers
482 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 - ...
user avatar
  • 13
0 votes
0 answers
50 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 ...
user avatar
  • 13
0 votes
1 answer
117 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....
user avatar
  • 602
1 vote
1 answer
76 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....
user avatar
1 vote
1 answer
187 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 ...
user avatar
  • 301
3 votes
1 answer
678 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 ...
user avatar
  • 143
1 vote
1 answer
168 views

Configure x-export-frames to take svg screenshots (Mac/OSX)

Using this reddit post as inspiration, I am trying to create a screenshot-svg command using the following config: (defun screenshot-svg () "Save a screenshot of the current frame as an SVG ...
user avatar
  • 141
0 votes
0 answers
36 views

Set the dock hover name in mac os x?

I normally have many Emacs instances open (emacs 27.1 in Mac OS X Catalina), each opened from iterm2, based on different environment variable setups (they refer to different source control snapshots ...
user avatar
0 votes
1 answer
129 views

ctrl-backspace behaves differently across emacs environments, though .init file is same

I recently needed to start using another mac for work and I wanted to duplicate my spacemacs settings onto my new computer. I simply copied all files located in .emacs onto my new computer, and it ...
user avatar
  • 153
0 votes
1 answer
74 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 ...
user avatar
  • 463
1 vote
0 answers
84 views

Use conda environment in ansi-term

I would like to be able to use conda activate to switch between environments in ansi-term. I am running bash in ansi-term from Emacs 27.1 on MacOS Catalina. Currently, executing conda activate <...
user avatar
  • 11
0 votes
0 answers
34 views

Weird UI of term in Doom

My terminal in Doom looks like shown in picture but I can't seem to find a way to solve this. I have term activated in my init.el
user avatar

1
2 3 4 5
9