Questions tagged [osx]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
25 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
42 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
33 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 ...
1
vote
1answer
50 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 ...
0
votes
1answer
37 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
12 views

xterm commands (ls, cd, …) unable to access Desktop, Documents after updating to Catalina [migrated]

I have been using the beta versions of Catalina, and mostly have not had any problems. However, I often run XQuartz and use several xterms. These are run from TWM. Before Catalina I would be able ...
0
votes
0answers
136 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
25 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
18 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
48 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 ...
1
vote
2answers
560 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
40 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
62 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
25 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
43 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
32 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
82 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 ...
0
votes
0answers
230 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
24 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
38 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
18 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 ...
24
votes
2answers
9k 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
75 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
52 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
19 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
48 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
31 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
58 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. ...
5
votes
2answers
2k 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
154 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
34 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
57 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
36 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
69 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
0answers
61 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
274 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
625 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
175 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
31 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
56 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
46 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
71 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
25 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 ...
0
votes
2answers
130 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. ...
0
votes
0answers
72 views

GPG Encryption & EasyPG

Does anyone here regularly use Emacs to interact with GPG encrypted files and, if so, what has your experience been? The Problem: I've been using Emacs (on OS X) to regularly edit a couple of GPG ...
1
vote
1answer
46 views

Building on macOS with a prefix

When I pull 25.1 down from FTP and configure using the following (extrapolated from this run): curl -o "/tmp/emacs-25.1.tar.xz" "https://ftp.gnu.org/gnu/emacs/emacs-25.1.tar.xz" tar xf "/tmp/emacs-25....
2
votes
2answers
995 views

Another way to install emacs on OS X using homebrew

It seems homebrew has removed all the options (incl. --with-cocoa) for brew install emacs. Now it recommends to use brew cask install emacs to get a built binary from https://emacsformacosx.com/. ...
1
vote
0answers
54 views

Why spacemacs would like to control this computer using accessibility feature on OSX?

When I start up spacemacs it prompts for the privileged to be granted? Why spacemacs needs to request this?
0
votes
1answer
55 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 ...