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
981 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
508 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
185 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
100 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
22 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
205 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
58 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
810 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 ...
5
votes
2answers
323 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
422 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 ...
0
votes
0answers
53 views

Underline error

When booting emacs, I get this strange error: See https://github.com/emacs-evil/evil-collection/issues/60 for more details. Warning (initialization): An error occurred while loading ‘/Users/...
1
vote
1answer
259 views

Emacs Magit not working after OSX Catalina upgrade

Since upgrading my mac to Catalina yesterday, I managed to get Emacs working again after allowing Ruby access to all files in the settings, and most of it works fine, but I can't get Magit to ...
3
votes
1answer
612 views

Emacs 26.3 crash on network/process interaction on macOS

Here's the story: I'm using macOS 10.15.1 and Emacs ver. 26.3 for macOSX from the eponymous site. Some time ago, maybe after 10.15.2 update, I started to experience frequent Emacs crashes, occurring ...
0
votes
0answers
61 views

mac-mwheel-scroll screws centered-positon-mode when using mouse pad on a macbook laptop

I am able to scroll using navigation buttons and external mouse on a Mac with this code that keeps the cursor at a specific line at all times. I am using this code since it is much faster than ...
1
vote
1answer
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 ...
1
vote
1answer
23 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
0answers
32 views

How could `(package-initialize)` affect the behavior of `org-open-at-point`?

Up until this afternoon, I was able to run org-open-at-point on something like [[file:/Users/apc/Desktop/test%20paper.pdf]] and open the file named "test paper.pdf" in my Desktop. But I'm no longer ...
4
votes
1answer
1k views

Mac OS Catalina random crash

I've been experiencing a weird problem. Ever since updating to catalina my emacs crashes at random intervals. It seems that there is no rule (or I cannot see it) to when it happens. The frequency is ...
0
votes
2answers
293 views

Move cursor to Start of document/End of document on OSX

On Linux, I am able to move the cursor to start of buffer/end of buffer using using C-Home/C-End respectively: C-End Move cursor to the end of the buffer. Note the key is 'End' key on the ...
2
votes
0answers
65 views

Searching org-mode files with spotlight

On my mac (OSX) I have many org-mode files with filenames ending in “.org”. Whenever I do a search with Spotlight that should show one of these org files as best result I experience the following ...
25
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 ...
2
votes
1answer
406 views

Best way to make orgmode source code blocks aware of my $PATH and other environment variables?

By default my source code block can't find most executables: #+BEGIN_SRC bash which aws #+END_SRC #+RESULTS: This fixes the problem: #+BEGIN_SRC bash source $HOME/.bash_profile which aws #+END_SRC ...
0
votes
0answers
292 views

Fix Catalina crash when clicking on File > Open or the Open button on the Toolbar

I'm on macOS Catalina, and I'm using Emacs for Mac OS X. When I click File > Open, or the Open button on the toolbar, or "Open a File" on the splash screen, I get a crash. I have tried some other ...
1
vote
1answer
171 views

What is causing this AUCTeX preview fatal error, or how can I find that out?

This is a minimal test file: \documentclass{article} \begin{document} \[1+1=2\] \end{document} The content of texput.log is the following: This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live ...
11
votes
4answers
5k 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 ...
2
votes
1answer
130 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
239 views

Emacs 26.3 cannot call R

After updated to macOS Catalina (10.15) I've been trying to use R in Emacs 26.3. However, Emacs is not fetching R by using M-x R (Emacs says [No match]). I already checked the paths for both R and ...
1
vote
1answer
150 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 ...
1
vote
1answer
103 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
366 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 ...
5
votes
0answers
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 ...
0
votes
1answer
24 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 ...
93
votes
3answers
32k 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 ...
2
votes
2answers
242 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
335 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
2answers
181 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
211 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
125 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
272 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. ...
16
votes
3answers
9k 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
1k 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
121 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
129 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
95 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
213 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
45 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
1answer
180 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
948 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 ...
5
votes
1answer
2k 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
238 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
2
3 4 5
8