help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: german umlauts vs. meta key


From: Johan Bockgård
Subject: Re: german umlauts vs. meta key
Date: Sun, 09 Mar 2008 11:47:28 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux)

Andreas Goesele <goesele@hfph.mwn.de> writes:

> Hi,
>
> I'm in the process of moving from XEmacs to Emacs, but I encountered a
> problem:
>
> 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))

-- 
Johan Bockgård


reply via email to

[Prev in Thread] Current Thread [Next in Thread]