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

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

Re: C-x RET does not do what the documentation says it should


From: Alan Mackenzie
Subject: Re: C-x RET does not do what the documentation says it should
Date: Sat, 21 Feb 2004 09:57:43 +0000
User-agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (Linux/2.0.35 (i686))

Bingham, Jay <address@hidden> wrote on Fri, 20 Feb 2004 18:18:20
-0600:

> In emacs 21.2 (the win32 binary loaded from the windows page
> <http://ftp.gnu.org/gnu/windows/emacs/latest> 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: address@hidden; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").



reply via email to

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