From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.help Subject: Re: C-x RET does not do what the documentation says it should Date: Sat, 21 Feb 2004 09:57:43 +0000 Organization: muc.de e.V. -- private internet access Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1077359035 14212 80.91.224.253 (21 Feb 2004 10:23:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 21 Feb 2004 10:23:55 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 21 11:23:46 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AuUIU-0006jZ-00 for ; Sat, 21 Feb 2004 11:23:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1AuUDU-0000Sy-6m for geh-help-gnu-emacs@m.gmane.org; Sat, 21 Feb 2004 05:18:36 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.arcor-online.net!news.belwue.de!news.tesion.net!news.space.net!news.muc.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 60 Original-NNTP-Posting-Host: acm.muc.de Original-X-Trace: marvin.muc.de 1077357208 48349 193.149.49.134 (21 Feb 2004 09:53:28 GMT) Original-X-Complaints-To: news-admin@muc.de Original-NNTP-Posting-Date: 21 Feb 2004 09:53:28 GMT User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (Linux/2.0.35 (i686)) Original-Xref: shelby.stanford.edu gnu.emacs.help:121095 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:17045 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17045 Bingham, Jay wrote on Fri, 20 Feb 2004 18:18:20 -0600: > In emacs 21.2 (the win32 binary loaded from the windows page > running on a Windows32 > platform), the key sequence C-x RET now invokes spell, .... Strange indeed! > .... however in the info pages at the bottom of the Introduction to > International Character Sets node (International -> International > Chars) is the following: [ .... ] > Since I do not have access to an emacs 21.1 running on a UNIX platform > I don't know if this is a bug or if the person who created the win32 > binary provided this feature. Could someone who is running emacs 21.1 > on UNIX or any other platform where they are sure that they have not > overridden the mapping for C-x RET please have a look at this and let > me know what you find. I'm running 21.1 on GNU/Linux. C-x RET for me is a prefix key for character set thingies, just as one would expect. > I would sincerely like to get back the functionality that is specified > in the info pages, if any one out there knows how to do this I would be > truly grateful for any assistance that you could give. Try the following in your .emacs file: [I'm assuming you're familiar with .emacs. If not, feel free to ask again!]. One caveat: I don't have an MS-Windows system to try it out on, so none of this is tested. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (global-unset-key "\C-x\C-m") (global-set-key "\C-x\C-m" mule-keymap) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; If that doesn't work, try the following more long-winded version instead. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (global-unset-key "\C-x\C-m") (global-set-key "\C-x\C-ml" 'set-language-environment) (global-set-key "\C-x\C-mc" 'universal-coding-system-argument) (global-set-key "\C-x\C-m\C-\\" 'set-input-method) (global-set-key "\C-x\C-mX" 'set-next-selection-coding-system) (global-set-key "\C-x\C-mx" 'set-selection-coding-system) (global-set-key "\C-x\C-mp" 'set-buffer-process-coding-system) (global-set-key "\C-x\C-mk" 'set-keyboard-coding-system) (global-set-key "\C-x\C-mt" 'set-terminal-coding-system) (global-set-key "\C-x\C-mf" 'set-buffer-file-coding-system) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -- Alan Mackenzie (Munich, Germany) Email: aacm@muuc.dee; to decode, wherever there is a repeated letter (like "aa"), remove half of them (leaving, say, "a").