Emacs introduced in OSX is unable to enter characters.

Asked 1 years ago, Updated 1 years ago, 89 views

Background
I tried to deploy Emacs-24.5 on macbookpro.
I installed it using Homebrew, but when I called Emacs, the GNU Emacs screen came up, but the keyboard input was entered into the terminal.

environment
OSX Yosemite 10.10.5
Homebrew 0.9.5 (git revision f211; last commit 2015-10-24)

what someone did
We executed the commands in order of reference to the following site.
Install tmux and Emacs 24.4 on Homebrew in OSX -Qiita

We have not introduced tmux this time.

First, we ran Homebrew install to deploy Emacs.

$brew install--with-cocoa emacs

The installation was successfully completed without any warning or error.
At this point, try to launch Emacs.

$emacs

GNU Emacs then started under the terminal window.Terminal remains active.
When I clicked on the Emacs window, Emacs Active became active, so I entered C-x, C-f as a trial.Then the input was displayed on the terminal instead of Emacs.

emacs characters entered into the terminal during startup

I was able to open files from the toolbar and copy strings by clicking and dragging.However, keyboard input is still entered into the terminal.

Entering C-c in this state allowed emacs to exit.
At that time, a message similar to the following appeared on the terminal:

2015-10-24 19:55:03.462 emacs [91392:1443732] *** - [NSAutoireleasePool release]: This pool has already been released, do not drain it (double release).

This message does not appear when you exit Emacs by pressing the Close button in the GNU Emacs window.

Then, to see if Emacs.app can launch, we created a sim link to /Applications following the reference site.

$brew linkapps emacs
Link/usr/local/Cellar/emacs/24.5/Emacs.app to/Applications.

$open/Applications/Emacs.app

GNU Emacs was successfully launched.However, when I called Emacs from the terminal, the keyboard still didn't work.

What do you want to know

  • A solution to the problem of not being able to enter characters in emacs launched from a terminal, or possible cause
  • Report similar cases.Methods used to resolve and address the case

If there are any missing items in the questionnaire, we will deal with them.Thank you for your cooperation.

Note 1: 2015-10-24 21:57
The command+tab allows you to list and switch applications that are running, but Emacs that were launched from the terminal was not displayed.Does it mean that it is not recognized as a starting application...

macos emacs

2022-09-30 21:10

1 Answers

After installing emacs from brew, I encountered exactly the same problem.
/usr/local/bin/emacs-25.3
Failed to run
/usr/local/Cellar/emacs/25.3/Emacs.app/Contents/MacOS/Emacs
It was resolved by making .I will post it as a record for myself.


2022-09-30 21:10

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.