[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: german umlauts vs. meta key
From: |
goesele |
Subject: |
Re: german umlauts vs. meta key |
Date: |
10 Mar 2008 02:08:05 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 |
bojohan+news@dd.chalmers.se (Johan Bockgård) writes:
> Andreas Goesele <goesele@hfph.mwn.de> writes:
>
> > To be able to input german umlauts directly I have in my init.el:
> >
> > (progn
> > (apply 'set-input-mode t (list (nth 1 (current-input-mode)))
> > 0 (list (nth 3 (current-input-mode))))
> > )
>
> That's ugly and broken (there's one `list' call too many).
>
> ;; poor man's destructuring-bind
> (apply (lambda (interrupt flow meta quit)
> (set-input-mode interrupt flow 0 quit))
> (current-input-mode))
Many thanks. That code solved my problem!
Andreas
--
Andreas Goesele