unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Greg Hill <ghill@synergymicro.com>
Subject: Re: Syntax highlighting with OS X
Date: Mon, 15 Apr 2002 14:43:32 -0700	[thread overview]
Message-ID: <p04310103b8e0efc0b581@[198.17.100.22]> (raw)
In-Reply-To: <75A1E7E8-4FBB-11D6-A16C-003065561EA0@musling.dk>

[-- Attachment #1: Type: text/plain, Size: 1876 bytes --]

At 5:22 PM +0200 4/14/02, System Administrator wrote:
>Hello
>
>I´m having problems with syntax highlighting in emacs under OS X. I
>use the "M-x font-lock-mode" and it seems to load with out problems.
>But nothing happens. What should I do?
>


As shipped with OS-X, emacs does not support that.  You will have to
install X-Darwin on your Mac to give you support for X-windows, and
then download a new version of Emacs that is configured for X.

http://www.apple.com/downloads/macosx/unix_apps_utilities/

is a good place to get lots of stuff, like XFree86 for X-windows
support, and the Bash shell.

Other sites of interest:

http://www.macosxhints.com
	Click on XFree86 Installation Guide

http://www.xdarwin.org

http://www.xfree86.org

http://sourceforge.net
	Search for emacs

In general, if you want to use OS-X as if it were a real Unix system,
you will find that it is "not ready for prime time" as shipped.  You
are going to have to download and install all sorts of freeware to
add on the functionality that you are used to taking for granted.

I like to use the ALT key in Emacs as the keystroke modifier for
binding a lot of my home-brewed commands.  After installing X-Darwin,
put the following line in a file named .Xmodmap in your home
directory to enable the Alt (option) key on your keyboard to work as
the ALT key for Emacs:

	keycode 66 = Alt_L

(If it exists in $HOME, .Xmodmap is automatically invoked from .xinitrc)

By the way you may find, as I have, that when running Emacs under
X-Darwin on your Mac the Control and Alt keys are not always
"noticed" when you press them.  When they are not, you will have to
release them and press them again.  I don't know whether that is due
to a fault in the OS-X kernel or in X-Darwin.  If you ever become
aware of a fix for it, please let us all know.

--Greg

[-- Attachment #2: Type: text/html, Size: 2849 bytes --]

      reply	other threads:[~2002-04-15 21:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-14 15:22 Syntax highlighting with OS X System Administrator
2002-04-15 21:43 ` Greg Hill [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='p04310103b8e0efc0b581@[198.17.100.22]' \
    --to=ghill@synergymicro.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).