From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Hugo Wolf Newsgroups: gmane.emacs.help Subject: Re: ? OSX compile from CVS (and some setup questions) Date: Mon, 11 Nov 2002 13:22:02 GMT Organization: AT&T Broadband Sender: help-gnu-emacs-admin@gnu.org Message-ID: <_9Oz9.7609$3Z4.4353@sccrnsc02> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1037021990 27074 80.91.224.249 (11 Nov 2002 13:39:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 11 Nov 2002 13:39:50 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18BEn6-00072P-00 for ; Mon, 11 Nov 2002 14:39:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18BEnR-0007wy-00; Mon, 11 Nov 2002 08:40:09 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!wn13feed!wn14feed!wn12feed!worldnet.att.net!204.127.198.204!attbi_feed4!attbi.com!sccrnsc02.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: slrn/0.9.7.4 (Darwin) Original-Lines: 67 Original-NNTP-Posting-Host: 66.31.41.137 Original-X-Complaints-To: abuse@attbi.com Original-X-Trace: sccrnsc02 1037020922 66.31.41.137 (Mon, 11 Nov 2002 13:22:02 GMT) Original-NNTP-Posting-Date: Mon, 11 Nov 2002 13:22:02 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:106924 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:3477 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3477 In article , Heiko Hellweg wrote: > I tried (and failed) to build my own Emacs on Mac OSX.2 I can't help you with this. Last time I built it from the cvs sources (mid October), I had no problems. > first of all: when i start emacs from the commandline (Aqua or > tty via '-nw') with a filename as parameter, as in > /Applications/Emacs.app/Contents/MacOS/Emacs -nw textfile.txt > it starts up showing the general info (the usual 20 or such lines: > "Welcome to GNU Emacs ...") and only shows the contents of textfile.txt > after i pressed some key. You can get around this in Aqua as follows: open -a /Applications/Emacs.app textfile.txt I don't know how to avoid it in -nw mode. > [color for font-lock-mode in a Terminal/console] I do this by redefining faces, as below. This works in all four emacs variants I currently have installed (xemacs 21.4.10, gnu emacs 21.1.1 from Apple, gnu emacs 21.2.1 from fink, gnu emacs 21.3.50.1 from cvs): (copy-face 'bold 'font-lock-preprocessor-face) (copy-face 'bold 'font-lock-function-name-face) (copy-face 'italic 'font-lock-comment-face) (copy-face 'font-lock-comment-face 'font-lock-doc-string-face) (copy-face 'italic 'font-lock-type-face) (copy-face 'bold 'font-lock-keyword-face) You probably only want to do this for terminal/console mode, since it's somewhat ugly in Aqua or X11. At the momemnt I conditionalize this based on window-system. Yes, I know, that may not be the right variable in this situation. But it _seems_ to be... > On the other hand, that 21.3.50.2 Aqua buld seems to be the only > one that accepts 8bit ISO8859-1 umlauts on the tty. This is also my experience, though you can enter them with ^q followed by the octal code, eg ^q-3-7-4 for ü. You won't see the character until you type the next one (I know this fixable but I can't remember what the fix is -- iso-insert or something like that?). Otoh I've never figured out how to display these special latin-1 chars properly in any terminal gnu emacs under osx. Do you know the answer to that one? It works fine in terminal xemacs, X11 xemacs, X11 gnu emacs, and Aqua/Carbon gnu emacs. > ... oh well ... seems like i'm stuck with either having color or umlauts > on the tty... (yes: for some reason, i prefer tty emacs). Try the face hack, above, to get font-lock color. Or use the octal instead of the option-key style of entry in any emacs/xemacs in which color is already working as you want it to. If you don't plan to use the Mac window system, I'm not sure it's worth bothering to build the cvs sources at all.