all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* C-x RET does not do what the documentation says it should
@ 2004-02-21  0:18 Bingham, Jay
  2004-02-21  9:52 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Bingham, Jay @ 2004-02-21  0:18 UTC (permalink / raw)


In emacs 20.4 (running on a Unix platform), the key sequence is a prefix
for commands that pertain to multibyte characters coding systems, and
input methods.
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, however in the
info pages at the bottom of the Introduction to International Character
Sets node (International -> International Chars) is the following:

   The prefix key `C-x <RET>' is used for commands that pertain to
multibyte characters, coding systems, and input methods.

Additionally the Specifying a Coding System node (International ->
Specify Coding) specifically lists seven commands that is says are
invoked via C-x RET followed by another character and the Selecting an
Input Method node (International -> Select Input Method) lists another
one.

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 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.

-_
J_)
C_)ingham
.    HP - NonStop Austin Software & Services - Software Quality
Assurance
.    Austin, TX
. "Language is the apparel in which your thoughts parade in public.
.  Never clothe them in vulgar and shoddy attire."     -Dr. George W.
Crane-

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: C-x RET does not do what the documentation says it should
  2004-02-21  0:18 Bingham, Jay
@ 2004-02-21  9:52 ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2004-02-21  9:52 UTC (permalink / raw)


> Date: Fri, 20 Feb 2004 18:18:20 -0600
> From: "Bingham, Jay" <jay.bingham@hp.com>
> 
> In emacs 20.4 (running on a Unix platform), the key sequence is a prefix
> for commands that pertain to multibyte characters coding systems, and
> input methods.
> 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 [...]
> 
> 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.

Are you sure your Emacs behaves like that even when invoked with the
"-q --no-init-file" switches?

If indeed your local customizations are not responsible for this, it's
some strange bug in the binary you are using.  While I cannot test
that precise binary, I have 2 versions of the Windows port of Emacs
21.x on my machines, and they both behave as advertised: "C-x RET" is
a prefix of the commands related to encoding and decoding text.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: C-x RET does not do what the documentation says it should
       [not found] <mailman.220.1077322824.340.help-gnu-emacs@gnu.org>
@ 2004-02-21  9:57 ` Alan Mackenzie
  0 siblings, 0 replies; 4+ messages in thread
From: Alan Mackenzie @ 2004-02-21  9:57 UTC (permalink / raw)


Bingham, Jay <jay.bingham@hp.com> 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: aacm@muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: C-x RET does not do what the documentation says it should
@ 2004-02-23 16:35 Bingham, Jay
  0 siblings, 0 replies; 4+ messages in thread
From: Bingham, Jay @ 2004-02-23 16:35 UTC (permalink / raw)


>On Saturday, February 21, 2004 3:53 AM Eli Zaretskii wrote:
>
>> Date: Fri, 20 Feb 2004 18:18:20 -0600
>> From: "Bingham, Jay" <jay.bingham@hp.com>
>> 
>> 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 [...]
>
> Are you sure your Emacs behaves like that even when invoked with the
> "-q --no-init-file" switches?

Thanks Ed, for the suggestion.  I should have thought of it myself, my
only excuse is mental fatigue at the end of a work week which by Friday
afternoon seemed like it had gone on much longer than the four days that
it actually had.

> If indeed your local customizations are not responsible for this, it's
> some strange bug in the binary you are using.

After starting emacs without init files, as you suggested, it appears
that responsibility for the hijacking of the C-x RET key sequence can be
laid to the spell check that I enable in my local customizations.

-_
J_)
C_)ingham
.    HP - NonStop Austin Software & Services - Software Quality
Assurance
.    Austin, TX
. "Language is the apparel in which your thoughts parade in public.
.  Never clothe them in vulgar and shoddy attire."     -Dr. George W.
Crane-

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-02-23 16:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-23 16:35 C-x RET does not do what the documentation says it should Bingham, Jay
     [not found] <mailman.220.1077322824.340.help-gnu-emacs@gnu.org>
2004-02-21  9:57 ` Alan Mackenzie
  -- strict thread matches above, loose matches on Subject: below --
2004-02-21  0:18 Bingham, Jay
2004-02-21  9:52 ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.