[Ma-linux] [Dclug] Simple Emacs Question
Alan McConnell
alan at patriot.net
Mon Jul 13 15:05:57 EDT 2009
On Mon, Jul 13, 2009 at 09:50:27AM -0400, Ted Smith wrote:
>
> Do you mean in text mode? I'm not much of an emacs wizard, so I don't
> know how to do it globally, but to add that to text mode, you would add
> it as a hook in .emacs, like this:
>
> (add-hook 'text-mode-hook 'iso-accents-mode)
Thanks. That works in text mode. But I want it everywhere.
At the moment my workaround is: when my emacs opens in Fundamental
mode, which it almost always does, I can go
M-x text-mode
and then I get what I want, e.g. ä, ñ, ç, etc( but text mode
has its own difficulties, at least for me<g> -- I just got
out of it)
So I still need an entry for my .emacs file which gives me
this capability for Fundamental mode.
>> 2. I find from google that iso-accents-mode is going, or
>> maybe gone, from emacs v 22. Fortunately my emacs, in etch, is
>> v 21.
> I'm not too sure about this either, but those are all unicode
> characters, right?
I don't know! I sort of doubt it, because there are other
iso-s besides Latin enhancements. We are talking here about
the characters 128-256, no? But maybe there is some way of
taking stuff from higher in Unicode and mapping them down
to that range.
John Anderson has made the suggestion that iso-accents-mode is
deprecated and I should use latin-1-prefix instead. Well,
my emacs, v 21 doesn't have latin-1-prefix !
I have discovered that iso-accents-mode is implemented, on my
Debian etch, by iso-acc.elc, in /usr/share/emacs/21.4/lisp/international/.
So I thought: maybe I can find somewhere the .elc file that
implements latin-1-prefix and drop it into
/usr/share/emacs/21.4/lisp/international
But my search, through google, has proved unsuccessful.
So my query is still open. <sigh> I thought this question was so
easy!
Alan
--
Alan McConnell : http://patriot.net/users/alan
We do not know one millionth of one percent about anything.(Edison)
Education cuts don't heal.
More information about the Ma-linux
mailing list