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!

98 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
0answers
411 views

How to get Emacs to use the Mac system-level spell correction capabilities?

Mac OSX has autocorrect for spelling that: Doesn't require pressing any buttons to make a retroactive change. Doesn't require manually inputting these corrections/abbrevs. I want to get this same ...
5
votes
1answer
224 views

Forcing keys to run emacs commands instead of other app's commands

I am using Mac OS X Yosemite if this matters at all. Is there a way, while in the emacs GUI, to force every key combination to run the emacs command specified by this key binding instead of other ...
4
votes
0answers
592 views

ispell-phaf no matching entry for en_Gb after update to macOS Sierra

I have update to macOS Sierra after witch spelling in Emacs is broken. The error I get is (ispell-phaf: No matching entry for en_GB in ´ispell-hunspell-dict-paths-alist´) I have both install aspell ...
4
votes
0answers
97 views

Emacs has many font file handles

I noticed that Emacs has many font files open on my system. At least 95 .ttf and .otf files total. Why would it need to keep this many files open? Here is a full list: https://gist.github.com/...
4
votes
0answers
99 views

Gnus stuck at "Reading .newsrc.eld..."

I have just today started using gnus to read news groups. I played around with subscribing and unsubscribing from certain groups, and read a few threads. I exit gnus and emacs, and now when I try to ...
3
votes
0answers
165 views

Why does Emacs not pick up all of my Mac OSX keyboard layout?

I'm using the custom keyboard layout found at https://www.kaufmann.no/roland/dvorak/macosx.html. When I use Emacs in gui mode, most keys are fine, but the 10-keys -- which the layout redefines like a ...
3
votes
0answers
154 views

File type icon in the title bar in osx

I'm using emacs I downloaded from http://emacsformacosx.com/, but it doesn't display the file type icon for some file types like plain text file, in the title bar. How can I make it appear? What I ...
3
votes
0answers
255 views

1024 char limit on command line in emacs shell mode on OSX

I am running into a 1024 character limit for a bash command line in emacs shell mode. For example the command: echo xxxxxxxxxxxxx...x with 1018 x's (for a total line length of 1023 chars) works ...
3
votes
2answers
1k views

Why does Emacs.app (on Mac OS X) find the ctags executable inside Xcode.app?

When I try to generate a TAGS file, emacs executes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ctags, which causes problems because it is not compatible with ...
2
votes
0answers
944 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 ...
2
votes
0answers
66 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
0answers
626 views

Can't display images in org-mode

I am on MacOS High Sierra, iterm2; I cannot find how to display images in org-mode. My term supports image display as imgcat works well within my shell. When I try to open the image link in emacs it ...
2
votes
0answers
241 views

Cannot enable sound when building from source

I can't seem to enable sound support when building Emacs from source: Does Emacs support sound? no It does not seem to be doing anything even if I do: ./configure ...
2
votes
0answers
84 views

Launching GUI emacslient destroys terminal frame resizing capabilities

Whenever I launch a GUI session as $ emacsclient -c all the emacsclient sessions I've created with $ emacsclient -nw -c lose several settings. The problem only occurs right after launching a GUI ...
2
votes
0answers
184 views

Setting primary frame across displays on MacOS

I am working with 2 emacs frames, one on my laptop monitor (1) and the other on a larger external display (2). Whenever I switch between applications, e.g. between shell and Emacs, the Emacs cursor ...
2
votes
0answers
477 views

The Application Emacs is Not Open Anymore (macOS High Sierra)

I am using Emacs (25.2.1) on macOS High Sierra 10.13.2, and when trying to open a simple .txt file using Emacs as the editor, I get the error "The application Emacs is not open anymore". Details: ...
2
votes
0answers
121 views

C-x 5 0 quits emacs in full-screen mode on Mac High Sierra

I am running MacOS High Sierra. When I create new frames using C-x 5 2 and try to close one of the frames using C-x 5 0 running in full-screen mode, it kills Emacs entirely instead of deleting the ...
2
votes
0answers
26 views

How to reliably redefine scroll wheel in isearch? [I'm using Mitsuharu Yamamoto's Mac port]

I decided to define <wheel-up> and <wheel-down> to isearch-repeat-forward and isearch-repeat-backward in the isearch-mode-map. This works, but if you scroll quickly, it reverts to ...
2
votes
0answers
509 views

Is it possible to run webkit on OSX?

the latest version of emacs embedded with xwidget browser you can run xwidget-webkit-browse-url to use it I try the command many times and install the gtk from homebrew on my MacBook finally the ...
2
votes
0answers
362 views

Emacs as environment for iOS development

Is there any modes which may improve development experience for nowadays ObjC (syntax highlight for method calls, properties, blocks, literals, lightweight generics, modern keywords)? Ideally with ...
2
votes
0answers
260 views

Dead keys not working in Emacs OSX

I created a custom keyboard layout (using ukelele) where I use F1-F4 as dead keys to input pinyin (accents for tones). Is there a way to get it to work in emacs? I tried the (require 'iso-transl) but ...
2
votes
0answers
527 views

Native mac scrollbar in emacs?

Emacs comes with it's own solution for scrollbars(rather than using native macOS scrollbar) and honestly, I find them kinda intrusive and ugly. Can I somehow configure scrollbars to use native mac ...
2
votes
0answers
59 views

emacs svn tex file in mac os x

I am using emacs for editing *.tex file. Tex file is controlled under svn. I recently migrated to new macbook 12" with sub-c. When I launch emacs from the shell, I do not have any problem in ...
2
votes
0answers
162 views

Floating Scroll Bars

In Mac OS X Lion and above, scroll bars can "float" on top of the content and only appear when scrolling. This provides insight on where you are in a document as well as the size of the document, ...
2
votes
0answers
665 views

Configure.ac options when building from source

Disclaimer: newbie to emacs, vaguely competent on MacOS and git. I'm building emacs on OSX Yosemite from the git master repo. I've done this several times, primarily by using ./configure --with-ns -...
1
vote
0answers
315 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 ...
1
vote
0answers
339 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 - ...
1
vote
0answers
60 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 <...
1
vote
0answers
24 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.
1
vote
0answers
80 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 ...
1
vote
1answer
160 views

C-x C-f, Cannot complete file name for desktop folders

I am new to Emacs. I am trying to access a file in the "Emacs" folder on my desktop. I run the C-x C-f command, then type ~/Desktop/Em. I then hit TAB, but there's no completion. Emacs says [...
1
vote
0answers
45 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 ...
1
vote
0answers
121 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 ...
1
vote
0answers
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
0answers
293 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. ...
1
vote
0answers
100 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 ...
1
vote
0answers
146 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 ...
1
vote
0answers
68 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?
1
vote
0answers
64 views

Emacs doesn't use macOS's /etc/launchd.conf env variables

Emacs doesn't use macOS's /etc/launchd.conf env variables. I have the following there: function addToPATH { case ":$PATH:" in *":$1:"*) :;; # already there *) PATH="$1:$PATH";; # ...
1
vote
0answers
288 views

Problem opening spacemacs on mac OS Sierra when clicking spacemacs icon.

trying to install spacemacs using the Alternate installation instructions, but when I load the app using the app icon on the Applications folder I get the following. TL;DR: How to link env HOME=$HOME/...
1
vote
0answers
335 views

osx - disable left option/command key, enable right option

I'm learning Emacs. On my Macbook, I have in keyboard settings: Capslock and Ctrl key swapped Option and Command key swapped Emacs commands like ctrl-r, ctrl-s work fine for me (obviously I use them ...
1
vote
0answers
106 views

How to apply a patch to a package without upgrading?

When I tried to use google-translate.el, I got a Failed to search TKK error. And according to this page the error caused by bug#11788. So I have to upgrade Emacs 26 or apply the patch. But latest ...
1
vote
0answers
95 views

Drunken font lock in a long-running session

I'm running the emacsformacosx.com build of Emacs 25.2.1 in daemon mode. I connect to it through emacsclient invoked from various tmux sessions in macOS Terminal. $TERM is xterm-256color. The daemon ...
1
vote
1answer
304 views

Trouble with ocp-indent in spacemacs on mac

I'm having trouble setting up spacemacs for ocaml on my mac. Specifically, spacemacs can't seem to find ocp-indent. Whenever I enter a new line, I get the following message: "Searching for program: No ...
1
vote
1answer
510 views

Clipboard sharing broken in OS X Sierra

Just upgraded to Sierra, and if I try to copy or paste text, nothing goes through. Has anyone else experienced this problem? Any way to debug the prolem? Apparently Sierra also broke copy/paste in ...
1
vote
0answers
741 views

Spacemacs / Mac

I have installed Emacs (emacs-plus) via Homebrew on my Mac. My problem is that if I in the Finder chooses "open with" -> Emacs, Emacs open all right, but its not always the right file that is opened! ...
1
vote
0answers
97 views

Opening an External PDF in Emacs from Terminal

I am using Emacs on the Mavericks OSX Terminal. I can open the TeX file fine, but I can compile a pdf via C-c C-c. Is there some way that I can open the pdf in an external window via the command line? ...
1
vote
0answers
127 views

Mac OS X problem accessing file via symlink

GNU Emacs 24 on El Capitan. When opening a file whose path includes a directory which is a symlink, Emacs emits the following error: *ERROR*: Wrong type argument: numberp, "Bus error: 10" If I ...
1
vote
0answers
238 views

Define key chords for windmove

I'm following info found on this link, but cannot get the desired custom key bindings to work for windmove. Basically, I put the following in my .emacs file: (global-set-key (kbd "C-M-<left>") ...
1
vote
0answers
71 views

use native commands when emacs keystroke is not found

Using Emacs for Mac OSX When I used Emacs on Ubuntu, if I used a keystroke that my Emacs did not define, it would bubble up to the operating system and execute the OS native command. On OSX, it'll ...