https://submuncu.hatenablog.com/entry/2020/11/23/024021. Aquamacs Emacs 3.5 (Mac OS 10.12+ Sierra or later) or Download Version 3.5 for Mac OS El Capitan (only) official release: stable, reliable, recommended! Based on GNU Emacs 25.3; For all Macs running OS X 10.12 (Sierra) or later, or 10.11 (El Capitan) Recommended for your Mac. Change Log: What's new in version 3.5?
Windows 10 1709 serial key. I wanted a nice experience using Emacs for Mac OS X. By 'nice' Imean:
You too can bring several hours and three separate scripting tools tobear on this, or follow the simple (hah hah) instructions below.
First, install Emacs For Mac OS X. The Emacs that comes with OS X isold and crusty, and the one at that site is new and Cocoa-ready andRetina-enabled and so on. Put it in
/Applications - if you put itsomewhere else, you'll need to correct all the other scripts I'mmentioning in this post.
Emacs Server at Login
Open up the AppleScript Editor. If you're an Emacs user this probablylooks awful and confusing to you. Paste the following into it:
Press ⌘K to compile it, then ⌘S and save it in
/Applications/Development . (This subfolder keeps your Applicationsmenu clean, and has an important effect on sort order later.) To giveit a nice icon, select the original Emacs.app ; press ⌘I; click theicon in the top-left; press ⌘C; select on your new Emacs Server.app bundle; press ⌘I; click the icon in the top-left; press ⌘V.
Open up System Preferences > Users & Groups > Login Items and nowyou can press the
+ button and choose Emacs Server.
The server is invisible until you first connect a client to it. Thenit will appear in the dock, as the regular
Emacs.app .
New Frame Dock Icon
To make a dock icon that opens up a new Emacs frame - a client if theserver is available, a standalone instance otherwise - create thefollowing script in the AppleScript Editor and save it as anApplication named Emacs Client. in
/Applications/Development .
Then drag this from the Applications folder to your dock. This willalso make it so typing
emacs into Spotlight selects this as thefirst item ('Development' sorts before 'Emacs', 'Client' sorts before'Server').
If connected to the server, this opens up a new client frame eachclick, by design. To just raise existing frames, click the otherEmacs icon on the dock, representing the running application.
Server-aware Shell Scripts
I put these in
~/local/bin . You'll need to add that to your $PATH if you haven't already. First, two simple ones. These will start newinstances, not clients, but they're necessary to properly handle shellarguments for fallbacks for clients. They're also nice to have if youactually want to start a new instance.
Start a new Cocoa instance -
emacsc :
Start a new terminal instance -
emacst :
Now for something ma little ore complicated -
ec , start a Cocoaclient or fall back to a new instance (via the above emacsc ) if theserver is unavailable.
Similarly,
et , for a terminal client or new terminal instance.
Why are
ec and et scripts instead of aliases? Many tools will failif $EDITOR does not resolve to an actual executable somewhere in$PATH because they invoke the tool directly instead of invoking ashell to run it.
Finally: Some aliases for
~/.bash_profile , to override the ancientversion of Emacs that Mac OS X comes with by default.
Activate Emacs on New Frames
If you start
emacsc or ec from Terminal, Mac OS X doesn't realizeyou probably want to switch focus to the Emacs session automatically.There are also plenty of other ways you might start Emacs besidestyping a command into Terminal, and you probably want the new framesfocused then as well.
To do this, we can take advantage of the
ns features in Emacs Lispand the frame-creation hooks. Add the following to your ~/.emacs orsome file it loads:
Now anything that opens or selects a frame will also activate Emacsfor Finder. The
featurep check means this is harmless to load onnon-OS X platforms, and ns-raise-emacs is not (interactive) forreasons that will be self-evident if you think about them. Quicktime download for mac os.
Remaining Issues
Launch Services is happy to start the Emacs Server instance but losestrack of it afterwards. This is mostly harmless but annoying.
The second Emacs icon on the dock (the one for the main
Emacs.app rather than your custom Emacs Client.app ) behaves oddly when noframes are visible. Its menu bar and context menu don't work, and youcan't start a new frame from it directly. This is likely an issuebecause both Emacs and Finder assume any graphical application has atleast one main window / frame, even if it might not be visible.
(Thanks to Dan Gerrity for pointing out a typo in the original posted
emacst script, and Sean B. Palmer for Emacs Lisp improvements thatled to much simpler shell scripts.)
By Xah Lee. Date: . Last updated: .
Windows
Solitiare for mac. Download at http://ftp.gnu.org/pub/gnu/emacs/windows/
This is the official GNU Emacs, build for Windows by Free Software Foundation.
Install Emacs Mac
You'll see file names like these:
The “i686” means 32-bit. The “x86_64” means 64-bit.
To find if your Microsoft Windows is 32 or 64, press ❖Window key, type “about” in the search box. It'll bring up “About this PC” window.Look for the line “system type”.
After download, right click “extract all” to unzip it.
Open the folder, open the folder named “bin”, click the “runemacs” to start emacs.
To uninstall, just delete the folder.
[see Emacs in Microsoft Windows FAQ]
Mac
Emacs is installed on macOS by default, but a very old version, version22.1, dated 2007.
In terminal, type:
Download Latest Emacs for MacOSDownload Emacs For Mac Os Versions
Openoffice snow leopard mac download. Download athttp://emacsformacosx.com/
This is plain GNU Emacs, built by David Caldwell.
Homebrew, Macports
Get emacs from one of the package managers.
LinuxBuild Emacs from Source CodeDownload Emacs Binary from apt-get
In terminal, type: Native instruments maschine 2 factory library 1.3.1.
On Ubuntu, to check available emacs package version for install,
Typicall you install by
sudo apt-get install emacs26
Mac miller grand finale free mp3 download. , where the emacs26 may be other version.
If you have a question, put $5 at patreon and message me.
Or Buy Xah Emacs Tutorial Or buyJavaScript in Depth Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2020
Categories |