|
|
Re: Emacs.app 9.0-rc1 released: msg#00073
emacs.macintosh.osx
|
Subject: |
Re: Emacs.app 9.0-rc1 released |
Hi Carsten,
Does the this one work for you?
https://svn.sourceforge.net/svnroot/emacs-mac/CarbonEmacs/trunk/GPL/
lisp/utf-8m.el
-- Seiji
On 2006/12/29, at 19:03, Carsten Bormann wrote:
Even though the little annoyances Christopher notes remain,
Emacs.app works quite well (and is rather snappy) on my MBPC2D.
Great work!
My biggest usability problem so far is Umlauts in file names.
These are stored in decomposed form in Mac HFS+ (and, while this is
hard to believe, actually delivered up to the system call interface
in this form).
Emacs is not very good in displaying characters of this form, and
it is rather non-intuitive to look at a file "Grüße.txt" in dired
and not being able to search for the ü in it.
Carbon Emacs includes a nice hack utf-8m.el that defines a new file-
name-coding-system utf-8m which fixes up Mac filenames in this
respect.
Unfortunately, it is Emacs 22 (< 23) specific and relies on mac-
code-convert-string (mac.c), which is not available in Emacs.app.
So I whipped up a really ugly little hack of a previous version of
utf-8m.el, which did not use mac-code-convert-string.
(Unfortunately, this also means it only handles the most likely
[for me] cases of decomposed characters. I'd rather have mac-code-
convert-string, as this is a Mac-inflicted problem, and should be
solved with Mac tools. Anyway.)
You can download this hack at
http://www.viele-koeche.org/utf-8m-23.el
and use it in your .emacs like this:
(load "~/el/utf-8m-23") ; or whereever you put it
(set-file-name-coding-system 'utf-8m)
I know way too little about Emacs internals (and much less about
Emacs 23 internals) to say whether this is kosher, the right way to
do etc.
WORKSFORME(TM), though -- I now can use Emacs.app for everyday work.
While we are waiting for someone to come up with a real solution,
enjoy...
Gruesse, Carsten
I've compiled the new version and have uploaded it to the same
URL. However, font preferences still do not seem to work via
Preferences or the Options menu. Preferences...Default Font
brings up a font dialog, but choosing a different font has no
discernible effect even after hitting "OK". Using Options...Set
Font/Fontset... brings up a font dialog, and choosing a different
font has an immediate effect in the Emacs window, but if you then
select Options...Save Options, you get the error "Wrong type
argument: commandp, menu-bar-options-save". Note that, as you'd
expect, I *was* able to set the font the old-fashioned way by
selecting Options...Customize Emacs...Specific Face, hitting
return and then modifying the desired font (notably, Default)
manually inside the Emacs customization window and selecting "Save
for Future Sessions".
---------------------------- Info -----------------------------
List Post: < mailto:macosx-emacs@xxxxxxxxxxxxxxxxx>
List Archives: < http://dir.gmane.org/gmane.emacs.macintosh.osx>
|
|