[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Emacs and the Mac OS. 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, and synchronous subprocesses (call-process).Much of this works in the same way as on other platforms and is therefore documented in the rest of this manual. Gnu compiler mac codeblocks free download. Code::Blocks Code::Blocks is a free, open-source, cross-platform C, C and Fortran IDE built to meet the most de. GNU Emacs For Mac OS X Pure builds of Emacs for Mac OS X. GnuCash is personal and small-business financial-accounting software, freely licensed under the GNU GPL and available for GNU/Linux, BSD, Solaris, Mac OS X and Microsoft Windows. Designed to be easy to use, yet powerful and flexible, GnuCash allows you to track bank accounts, stocks, income and expenses. As quick and intuitive to use as a checkbook register, it is based on professional. Download GNU Make for Mac - Open source and command line based utility designed to help developers build, configure, install and uninstall programs from their source files SOFTPEDIA® Windows.
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. 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.Gnu Operating System For Mac Download
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.
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.
![Gnu operating system for macbook pro Gnu operating system for macbook pro](/uploads/1/1/4/0/114072783/359045747.png)
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] | [ ? ] |
![Gnu macos Gnu macos](/uploads/1/1/4/0/114072783/591525056.png)
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.
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
). 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:
Gnu Linux Operating System
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
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] | [ ? ] |
This document was generatedon April 2, 2002using texi2html