GNU Emacs For Mac OS X Pure builds of Emacs for Mac OS X. Download Emacs Version 27.1-1 Universal Binary (62.351 MB) Released 2020-08-11 Usually there's a nifty page here with a big download button. But you are using a browser which doesn't support SVG and so you get the boring looking page. I often code with two windows open, one for code, one for a shell. When I'm done editing a file, I press C-x C-c to quit Emacs. However, when I do this in Mac OS X, my computer crashes. (shell-command 'osascript -e 'tell application 'System Events' to keystroke tab using command down')). IDLWAVE is a plug-in to the Emacs text editor that provides an alternative to the IDLDE development environment. A native aqua build of Emacs is now available that includes IDLWAVE. This article discusses the basic information needed to get started using Emacs and IDLWAVE on Mac OS X. NOTE: The information in this article is provided for the convenience of our customers. Exelis VIS does not. I finally got around to upgrading my OS X installation from Mojave to High Sierra – my OS update schedule is usually based on the old pilot wisdom of “don’t fly the A model of anything”. As part of the upgrade, I ended up reinstalling all homebrew packages including Emacs to make sure I was.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Emacs built on the Mac OS supports many of its major features:multiple frames, colors, scroll bars, menu bars, use of the mouse,fontsets, international characters, input methods, coding systems, andsynchronous subprocesses (
call-process
). Much of this works inthe same way as on other platforms and is therefore documented in therest of this manual. This section describes the peculiarities of usingEmacs under the Mac OS. The following features of Emacs are not yet supported on the Mac:unexec (
dump-emacs
), asynchronous subprocesses(start-process
), and networking (open-network-stream
).As a result, packages such as Gnus, GUD, and Comint do not work.The crew 2 download. Since external programs to handle commands such as
print-buffer
and diff
are not available on the Mac OS,they are not supported in the Mac OS version.AG.1 Keyboard Input on the Mac | Keyboard input on the Mac. |
AG.2 International Character Set Support on the Mac | International character sets on the Mac. |
AG.3 Environment Variables and Command Line Arguments. | Setting environment variables for Emacs. |
AG.4 Volumes and Directories on the Mac | Volumes and directories on the Mac. |
AG.5 Specifying Fonts on the Mac | Specifying fonts on the Mac. |
AG.6 Mac-Specific Lisp Functions | Mac-specific Lisp functions. |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
AG.1 Keyboard Input on the Mac
On the Mac, Emacs can use either the option key or thecommand key as the META key. If the value of the variable
mac-command-key-is-meta
is non-nil
(its default value),Emacs uses the command key as the META key. Otherwise ituses the option key as the META key. Most people should want to use the command key as the META key,so that dead-key processing with the option key will still work. This isuseful for entering non-ASCII Latin characters directly from the Mackeyboard, for example.
![Visit Visit](https://i.stack.imgur.com/xueAb.png)
Emacs recognizes the setting in the Keyboard control panel andsupports international and alternative keyboard layouts (e.g., Dvorak).Selecting one of the layouts from the keyboard layout pull-down menuwill affect how the keys typed on the keyboard are interpreted.
The Mac OS intercepts and handles certain key combinations (e.g.,command-SPC for switching input languages). These will notbe passed to Emacs.
The Mac keyboard ordinarily generates characters in the Mac Romanencoding. To use it for entering ISO Latin-1 characters directly, setthe value of the variable
mac-keyboard-text-encoding
tokTextEncodingISOLatin1
. Note that not all Mac Roman charactersthat can be entered at the keyboard can be converted to ISO Latin-1characters. To enter ISO Latin-2 characters directly from the Mac keyboard, setthe value of
mac-keyboard-text-encoding
tokTextEncodingISOLatin2
. Then let Emacs know that the keyboardgenerates Latin-2 codes, by typing C-x RET k iso-latin-2RET. To make this setting permanent, put this in your`.emacs' init file:[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
AG.2 International Character Set Support on the Mac
The Mac uses a non-standard encoding for the upper 128 single-bytecharacters. It also deviates from the ISO 2022 standard by usingcharacter codes in the range 128-159. The coding system
mac-roman
is used to represent this Mac encoding. It is usedfor editing files stored in this native encoding, and for displayingfile names in Dired mode. Any native (non-symbol) Mac font can be used to correctly displaycharacters in the
mac-roman
coding system. The fontset
fontset-mac
is created automatically when Emacsis run on the Mac. It displays characters in the mac-roman
coding system using 12-point Monaco. To insert characters directly in the
mac-roman
coding system,type C-x RET k mac-roman RET, customize the optionkeyboard-coding-system
, or put this in your init file:This is useful for editing documents in native Mac encoding.
You can use input methods provided either by LEIM (see section Q.4 Input Methods) or the Mac OS to enter international characters.
To use the former, see the International Character Set Support sectionof the manual (see section Q. International Character Set Support).
To use input methods provided by the Mac OS, set the keyboard codingsystem accordingly using the C-x RET k command(
set-keyboard-coding-system
). For example, for TraditionalChinese, use `chinese-big5' as keyboard coding system; forJapanese, use `sjis', etc. Then select the desired input method inthe keyboard layout pull-down menu. The Mac clipboard and the Emacs kill ring (see section H.7 Deletion and Killing) areconnected as follows: the most recent kill is copied to the clipboardwhen Emacs is suspended and the contents of the clipboard is insertedinto the kill ring when Emacs resumes. The result is that you can yanka piece of text and paste it into another Mac application, or cut or copyone in another Mac application and yank it into a Emacs buffer.
The encoding of text selections must be specified using the commandsC-x RET x (
set-selection-coding-system
) or C-xRET X (set-next-selection-coding-system
) (e.g., forTraditional Chinese, use `chinese-big5-mac' and for Japanese,`sjis-mac'). See section Q.9 Specifying a Coding System, for more details.[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
AG.3 Environment Variables and Command Line Arguments.
Environment variables and command line arguments for Emacs can be setby modifying the `STR#' resources 128 and 129, respectively. A commonenvironment variable that one may want to set is `HOME'.
The way to set an environment variable is by adding a string of theform
to resource `STR#' number 128 using
ResEdit
. To set up theprogram to use unibyte characters exclusively, for example, add thestring[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
AG.4 Volumes and Directories on the Mac
The directory structure in the Mac OS is seen by Emacs as
So when Emacs requests a file name, doing file name completion on`/' will display all volumes on the system. You can use `.'to go up a directory level.
![Visit Visit](https://img.dirk.sh/illustration/d1/f1/dfefcbda471b82c700367f75fb232c11/dfefcbda471b82c700367f75fb232c11.jpg?uuid=a48f38f674f7dda8eab2f27034c8cbff)
To access files and folders on the desktop, look in the folder`Desktop Folder' in your boot volume (this folder is usuallyinvisible in the Mac
Finder
).Visit Emacs For Mac Os X 10 13 Download
Emacs creates the Mac folder `:Preferences:Emacs:' in the`System Folder' and uses it as the temporary directory. Emacsmaps the directory name `/tmp/' to that. Therefore itis best to avoid naming a volume `tmp'. If everything workscorrectly, the program should leave no files in it when it exits. Youshould be able to set the environment variable
TMPDIR
to useanother directory but this folder will still be created.[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
AG.5 Specifying Fonts on the Mac
It is rare that you need to specify a font name in Emacs; usuallyyou specify face attributes instead. But when you do need to specifya font name in Emacs on the Mac, use a standard X font name:
See section AE.7 Font Specification Options. Wildcards are supported as they are on X.
Native Apple fonts in Mac Roman encoding has maker name
apple
and charset mac-roman
. For example 12-point Monaco can bespecified by the name `-apple-monaco-*-12-*-mac-roman'. Native Apple Traditional Chinese, Simplified Chinese, Japanese, andKorean fonts have charsets `big5-0', `gb2312.1980-0',`jisx0208.1983-sjis', and `ksc5601.1989-0', respectively.
Single-byte fonts converted from GNU fonts in BDF format, which are notin the Mac Roman encoding, have foundry, family, and character setsencoded in the names of their font suitcases. E.g., the font suitcase`ETL-Fixed-ISO8859-1' contains fonts which can be referred to bythe name `-ETL-fixed-*-iso8859-1'.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
AG.6 Mac-Specific Lisp Functions
The function
do-applescript
Wifislax mac download. takes a string argument,executes it as an AppleScript command, and returns the result as astring. The function
mac-file-name-to-posix
takes a Mac file name andreturns the GNU or Unix equivalent. The functionposix-file-name-to-mac
performs the opposite conversion. Theyare useful for constructing AppleScript commands to be passed todo-applescript
.[ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Download Emacs For Mac
This document was generatedon April 2, 2002using texi2html
Update: [2014-10-23] After a long wait, Emacs 24.4 is finally out. The binaries for the Yamamoto Mitsuharu version are available from railwaycat. The blog post is updated for Emacs 25.1 release candidate. I have another blog post for Emacs 26 pretest.
I'm a long time Emacs user. When using a Mac, I've been using the builds from emacsformacosx.com. After reading about the new features in 24.4, I tried the Emacs nightly builds, and was mostly happy with them, but I somehow messed up my Emacs package configuration in a way that I can't go back to Emacs 23.3. No big deal, right? So I waited for the 24.3.90 pretest to go back to a somewhat 'stable' version, and that just came out last week.
The problem is that the emacs 24.3.90 pretest from emacsformacosx.com is triggering a runaway distnoted process on my system, and is also running rather slowly. There are some patches floating around there, but I'd have to build from source. I've also been curious about the Yamamoto Mitsuharu version of Emacs; see this list of features. If I'm going to build from source, I might as well try his version, right?
A few days ago he posted a version of his patches to 24.3.90 to the emacs list here. I first needed to download the unpatched 24.3.90 from here. And I also needed the patch from here. I downloaded those three tarballs to my ~/Downloads folder.
I'm posting this blog entry to record the commands I used to build it (note: I update these instructions when I upgrade to newer versions of emacs):
It feels much faster than the prebuilt binaries I had been using, and it has nice features too! One minor thing: by default the fullscreen mode uses a separate virtual desktop, and I didn't want that. I switched to using the
fullboth
frame parameter described on the emacswiki, and it works great.Update: [2014-06-19] I updated the instructions for pretest 24.3.91.
Update: [2014-06-27] I updated the instructions for pretest 24.3.92.
Update: [2014-08-15] I updated the instructions for pretest 24.3.93.
Update: [2014-10-01] I updated the instructions for pretest 24.3.94.
Update: [2014-10-23] Added a link to railwaycat, with the binaries for 24.4.
Update: [2016-07-25] I updated the instructions for release candidate 25.1.
Update: [2014-06-27] I updated the instructions for pretest 24.3.92.
Update: [2014-08-15] I updated the instructions for pretest 24.3.93.
Update: [2014-10-01] I updated the instructions for pretest 24.3.94.
Update: [2014-10-23] Added a link to railwaycat, with the binaries for 24.4.
Update: [2016-07-25] I updated the instructions for release candidate 25.1.
Labels:emacs,howto