unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: bojohan+news@dd.chalmers.se (Johan Bockgård)
To: help-gnu-emacs@gnu.org
Subject: Re: german umlauts vs. meta key
Date: Sun, 09 Mar 2008 11:47:28 +0100	[thread overview]
Message-ID: <yoijod9onphb.fsf@remote2.student.chalmers.se> (raw)
In-Reply-To: 87r6ewqk6v.fsf@hfph.mwn.de

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


  parent reply	other threads:[~2008-03-09 10:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-29  7:46 german umlauts vs. meta key Andreas Goesele
2008-02-29 15:50 ` Peter Dyballa
     [not found] ` <mailman.8088.1204300250.18990.help-gnu-emacs@gnu.org>
2008-03-09  1:52   ` kl811af
2008-03-09  9:36     ` Peter Dyballa
2008-03-09 10:47 ` Johan Bockgård [this message]
2008-03-10  1:08   ` goesele

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yoijod9onphb.fsf@remote2.student.chalmers.se \
    --to=bojohan+news@dd.chalmers.se \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).