Questions tagged [osx]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
36 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
11 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 ...
0
votes
1answer
45 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
11 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
22 views

unable to access super-p and @ on macOS (for use w projectile)

Warning: I’m a macOS user using spacemacs rather than plain GNU emacs ;-) I would like to use projectile, which itself heavily use the « super » key. Unfortunately, when I want to use s-p, it trigger ...
0
votes
0answers
24 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 ...
1
vote
1answer
259 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
0answers
34 views

Emacsclient starts but no GUI shown

I'm using Emacs installed from the emacs-plus package from homebrew on Mac OS X 10.14.6. I uninstall/reinstall the package today and suddenly it stops working properly. The version of emacs-plus ...
0
votes
2answers
50 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 ...
1
vote
0answers
39 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 ...
2
votes
1answer
130 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 ...
1
vote
1answer
51 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
200 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 ...
0
votes
0answers
31 views

Emacs LISP keyboard bindings with OSX and iMac keyboard?

Does anyone know how to change Mac OSX keybindings quickly for use with Emacs? I'm hoping to redefine at least the following keys: iMac KB Key -> Keycode on MacOSX CAPS LOCK -> ...
0
votes
0answers
21 views

Why can't OSX handle Emacs client frames

By using the latest Emacs version from 1, it seems that when running in daemon-mode and when opening a new client frame from the terminal or from a custom OSX app I wrote which opens a new frame when ...
1
vote
1answer
52 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 ...
3
votes
3answers
956 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 ...
1
vote
1answer
46 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
75 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 ...
0
votes
1answer
30 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 ...
0
votes
0answers
74 views

doom-emacs freezes when trying to open a any file that uses c-mode or c++-mode

Exactly as title says, I attempt to open c/c++ files in any way, or event just enter c-mode/c++-mode in any buffer and my emacs freezes. I have basically no configuration that should affect it, my ...
0
votes
1answer
39 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
109 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 ...
2
votes
0answers
491 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
0answers
28 views

Emacs mac-right-option-modifier variable doesn't work with Sticky Keys on in macOS

I've set right option modifier as super key using `(setq mac-right-option-modifier 'super) but if I have Sticky Keys on on macOS, it doesn't work.
0
votes
0answers
39 views

recover org file

I use emacs org mode + EVIL on MacOS. I had a small part of my file visually selected last night when I wrote :wq and hit y to the prompt. To my shock and horror this morning only the visually ...
0
votes
1answer
19 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 ...
37
votes
2answers
13k 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 ...
1
vote
2answers
84 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
78 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
0answers
21 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
61 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
37 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
68 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. ...
8
votes
2answers
3k 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
267 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
39 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
61 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
38 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
79 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
36 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
78 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
315 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 ...
4
votes
1answer
744 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
178 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
34 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
58 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
47 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
85 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
26 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 ...