Questions tagged [osx]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
200 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 ...
0
votes
1answer
28 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
47 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
7 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 ...
0
votes
0answers
89 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 - ...
0
votes
0answers
36 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 ...
0
votes
1answer
44 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
1answer
18 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....
1
vote
1answer
68 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 ...
1
vote
1answer
59 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 ...
0
votes
0answers
67 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 ...
0
votes
0answers
11 views

OS X: collapse all emacs process icons into one dock entry?

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 ...
0
votes
0answers
24 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 ...
0
votes
1answer
58 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 ...
0
votes
1answer
43 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
0answers
35 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 <...
0
votes
0answers
29 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
0
votes
1answer
24 views

Is it possible to make 'tput bel' behave like it does in iTerm with a macOS Dock badge?

Running sleep 1s && tput bel inside iTerm and quickly tabbing out into another application displays this very nice notification badge in the Dock: I tried running (shell-command "sleep ...
0
votes
0answers
52 views

I need help for the Emacs in GUI in Macos catalina since it is opening only in terminal

I have macOS Catalina. I just installed emacs 27. version but it's only in the terminal not in a different display of its own (i think that is called GUI). Please suggest for GUI.
1
vote
0answers
18 views

Is the Hyper modifier key usable on non-X11 platforms?

I have a hyper modifier setup, however I was wondering if it's possible to use this on any windowing systems besides X11, for example: macOS Wayland Win32 The terminal.
0
votes
2answers
85 views

macos environment variables?

I'd like to set things up so that I can use emacs on multiple computers, with the .emacs.d directory shared amongst them (via DropBox). My solution so far has been to use environment variables which ...
2
votes
1answer
64 views

Umlauts in Emacs on Mac

Sorry for the newbie question. I have been using Aquamacs more many years. As it is not as actively developed as it used to and became increasingly buggy in the past two years I want to make the ...
0
votes
2answers
40 views

How to delete mu4e attachment on macOS

I want to delete a large attachment from a mu4e message. This thread is similar, except that the required altermime tool does not seem available on macOS (not on Homebrew and no results from an online ...
3
votes
0answers
553 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 ...
1
vote
0answers
58 views

SLIME not starting properly on MacOS Emacs

Pretty new to Emacs && Lisp, trying to get started.... I'm trying to get SBCL working via SLIME in Emacs 27.1 (9.0). After following the instructions to add the MELPA repo to my .emacs and ...
0
votes
0answers
77 views

How do I construct a Platypus script to open a file in emacs from the finder?

I am trying to use Platypus to wrap a bash script to open a file in emacs using emacsclient. The script that I am using looks like: /Applications/Emacs.app/Contents/MacOS/bin/emacsclient -n -c "$@...
0
votes
0answers
75 views

Emacs 26.3 on macOS quits unexpectedly when using arrow keys

I have just installed emacs on my system and am having a problem where it quits when I am opening a new file. Here's how it happens: After I open emacs I click the "blank page" icon. Next, ...
0
votes
1answer
87 views

Building Emacs from source doesn't generate a native application on macOS Catalina

I've been trying to build Emacs 28 from source on my MacBook Pro running macOS 10.15.5. I managed to get the feature/native-comp branch working, but I found it to be too unstable, so I deleted Emacs ...
1
vote
0answers
37 views

Ignore meta key when inputting unicode on OSX

I'm a newbie running emacs 26.3 (9.0) on OSX in the graphical mode (i.e. not in the terminal) and am writing a document with Devanagari (sanskrit text). Some of the letters in the inbuilt devanagari ...
0
votes
1answer
40 views

Emacs fails to open gnuplot files with extension .gp

May I get some help understanding what it is that Emacs does not like about the extension .gp Using emacs 24.5.2 on Mac OS X 10.13.6 I get the following error message when I try to open a file with ...
1
vote
1answer
34 views

How can I access Mac menu bar help via keyboard?

I'd like to be able to search Emacs's Mac menu bar entries using the keyboard, as you normally do in most other Mac applications using s-? (this answer suggest that it should be possible?). I've ...
0
votes
2answers
81 views

flycheck cannot use gfortran, executable not found

Previously I had been able to use flycheck for fortran files, but something seems to have broken perhaps during an update. Mac OSX catalina (latest) gfortran 9.3.0 from homebrew emacs 26.3 from ...
0
votes
1answer
54 views

How can I save files in Emacs on OSX and preserve the file creation date?

Let's say I create a file called foo.txt in emacs. The time is 12:00. It's currently empty. At 12:10, I use emacs to add text to the file. I save it. The new timestamp given with getfileinfo is ...
0
votes
1answer
29 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 <...
0
votes
0answers
54 views

Menu item selection issue on Mac OS

I've noticed an annoying behavior in my installation of emacs on my Mac. If the emacs window has the focus and I want to select something from the menu bar at the top of the screen (which says 'Emacs'...
0
votes
0answers
24 views

Making input easy to read (Macaulay2)

I am using Emacs to run Macaulay2 (I'm a newbie at both). I have a long input written in an m2 file, which I then press f11 to input to Macaulay2. I would like to make my input more aesthetically ...
0
votes
1answer
74 views

Emacs completion through symlink (OSX)

I have a symlink on my Desktop that points to my Dropbox folder. Clicking on this link takes me through to Dropbox, which is located elsewhere. But if I try navigating to ~/Desktop/Dropbox using Emacs,...
0
votes
1answer
88 views

Default shell path with Tramp from MacOS to Linux

I have a local environment which is MacOS Catalina and a remote environment which is standard Linux. I use tramp to connect to the remote linux machine to work on it. Unfortunately, Catalina now ...
0
votes
0answers
19 views

auto complete isn't loaded || elpa OSX

emacs version 26.3 OSX 10.14.1 Following is my .init file. It is present at ~/.emacs.d (require 'package) (add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t) (...
0
votes
1answer
298 views

Working Around the OS X Catalina Conflict with Emacs 26.3

I'm struggling to workaround the problem discussed in this post. I'm working through the accepted solution (which also references this post, and getting what I think is close, but not quite there. The ...
0
votes
1answer
708 views

Getting Latex preview to work with org mode (.dvi not found)

In my .org file I embedded a simple Latex segment: $f(x) = x^2$ Then I use the following command to generate a preview for that segment: org-toggle-latex-fragment But I get an error: org-...
1
vote
1answer
369 views

Mac `option` key works as `meta` key in terminal Emacs but does not work in GUI Emacs

I checked the option key as meta in terminal preference. Now the option key works as meta in terminal. Once I open Emacs through terminal option key doesn't work as meta anymore. If i type Option-v ...
0
votes
0answers
135 views

emacs ispell looks for wrong language

Hi I am a little bit confused, because I think that I have already managed to make ispell work on my macOS 10.15.4 and emacs 26.3, but when I tried it I got an error that emacs cannot find ispell. ...
1
vote
0answers
81 views

pandoc: getCurrentDirectory:getWorkingDirectory: permission denied (Operation not permitted)

I'm trying to render the output of a markdown file using C-c C-c p. On doing so, a webpage opens on my browser displaying pandoc: getCurrentDirectory:getWorkingDirectory: permission denied (Operation ...
0
votes
0answers
20 views

Meta+Shift-Return in iTerm2 on Mac not working [duplicate]

Have you met the case that Emacs in iterm2 on Mac does not recognize M-S-RET (Meta(Option)+Shift+ Return key)? I guess it's related to the modifier key conversions in terminals. M-S-RET is used in ...
2
votes
2answers
193 views

Is there a way to use CTRL and SUPER key modifiers together in a keybinding?

I would like to be able to use CTRL and SUPER key modifiers together in a keybinding. Since I'm on Mac OSX I use Command key for SUPER modifier. I tried this: (global-set-key (kbd "C-s-i") 'move-...
1
vote
1answer
51 views

kill rectangle not working on Mac (missing file/library)

I just upgraded to emacs 26.2 using homebrew on my MAC (update: I had actually done a global "brew update" and assumed it had also updated emacs) and now kill-rectangle with C-x r k no longer works, ...
1
vote
2answers
646 views

TRAMP on Emacs 26 doesn't work (macOS)

I've just installed Emacs 26.3 on my macOS 10.10 (Yosemite) using the binary at Emacs for OSX Everything so far works fine icluding new package installations and different themes. However, when I ...
3
votes
0answers
255 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 ...
1
vote
1answer
370 views

emacs - Font ‘Menlo’ is not defined

I have installed emacs26.3 for macosx, but when I run emacs, below error happen: Font ‘Menlo’ is not defined Then I try to install Menlo font with below command but not helpful brew cask install ...

1
2 3 4 5
8