From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Goesele Newsgroups: gmane.emacs.help Subject: german umlauts vs. meta key Date: Fri, 29 Feb 2008 01:46:16 -0600 Organization: [posted via] Leibniz-Rechenzentrum, Muenchen (Germany) Message-ID: <87r6ewqk6v.fsf@hfph.mwn.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204295836 4892 80.91.229.12 (29 Feb 2008 14:37:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Feb 2008 14:37:16 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 29 15:37:41 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JV6Mi-0005si-N2 for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Feb 2008 15:37:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JV6MC-0004Yi-8y for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Feb 2008 09:37:04 -0500 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!feeder.news-service.com!news.netcologne.de!newsfeed-fusi2.netcologne.de!feeder.erje.net!news-fra1.dfn.de!news-mue1.dfn.de!lrz.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 59 Original-NNTP-Posting-Host: a64.ext.vpn.lrz-muenchen.de Original-X-Trace: news.lrz-muenchen.de 1204271190 20678 129.187.50.64 (29 Feb 2008 07:46:30 GMT) Original-X-Complaints-To: newsmaster@lrz-muenchen.de Original-NNTP-Posting-Date: Fri, 29 Feb 2008 07:46:30 +0000 (UTC) User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:1jCXctqTAgt/BJx8rjgnV7L+cIE= Original-Xref: shelby.stanford.edu gnu.emacs.help:156594 X-Mailman-Approved-At: Fri, 29 Feb 2008 09:36:40 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:51970 Archived-At: 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)))) ) ) This worked fine under XEmacs. Under Emacs it enables me to indeed directly input the umlauts, but it disables all key combinations which use C-s or C-q. (I use emacs -nw in an xterminal, namely KDE konsole.) http://user.cs.tu-berlin.de/~eserte/FreeBSD/doc/umlaute/umlaute.txt explains the problem as a conflict between umlauts and the meta key: Supposedly the code above disables the meta key and thus enables the input of umlauts. What I don't understand though, is that in my case with this code the meta key (alt-left) is working, and only C-s and C-q don't work. An alternative to the code above would be (again according to the website above) the following code: (global-set-key "\M-d" 'my-insert-ae) (global-set-key "\M-D" 'my-insert-Ae) (global-set-key "\M-v" 'my-insert-oe) (global-set-key "\M-V" 'my-insert-Oe) (global-set-key "\M-|" 'my-insert-ue) (global-set-key "\M-\\" 'my-insert-Ue) (global-set-key "\M-_" 'my-insert-ss) (defun my-insert-ae () (interactive) (insert "a:")) (defun my-insert-Ae () (interactive) (insert "A:")) (defun my-insert-oe () (interactive) (insert "o:")) (defun my-insert-Oe () (interactive) (insert "O:")) (defun my-insert-ue () (interactive) (insert "u:")) (defun my-insert-Ue () (interactive) (insert "U:")) (defun my-insert-ss () (interactive) (insert "ss")) This code again indeed allows me to input the defined umlauts, but disables M-v and M-d (which are of rather common use - I don't mind the loss of M-\\ and such). Another explanation of the problem I found is that under the console C-s disables input and C-q reenables it - which indeed is the case, but doesn't make much sense under a xterminal, does it? (XEmacs does not interpret C-s and C-q this way.) Is it possible to make umlauts work in emacs under a xterminal (konsole) and using C-s, C-q, M-d, M-v etc. in the "normal" emacs way? Thanks a lot in advance! Andreas