unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* C-M-\ on windows?
@ 2007-02-21 10:36 Eric Lilja
  2007-02-21 11:19 ` Lennart Borgman (gmail)
  0 siblings, 1 reply; 7+ messages in thread
From: Eric Lilja @ 2007-02-21 10:36 UTC (permalink / raw)
  To: emacs-devel

Hi! I select the whole buffer with C-x h but when I want to indent it I 
type C-M-\ (which on my Swedish keyboard is Ctrl-Alt-Alt Gr-+ ) but 
nothing happens. Instead I have to use M-x indent-region. Is this a 
windows problem or an emacs problem that it cannot detect alt and alt gr 
at the same time?
M-x version yields: GNU Emacs 22.0.93.1 (i386-mingw-nt5.1.2600) of 
2007-02-20 on MINDCOOLER

- Eric

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

* Re: C-M-\ on windows?
  2007-02-21 10:36 C-M-\ on windows? Eric Lilja
@ 2007-02-21 11:19 ` Lennart Borgman (gmail)
  0 siblings, 0 replies; 7+ messages in thread
From: Lennart Borgman (gmail) @ 2007-02-21 11:19 UTC (permalink / raw)
  To: Eric Lilja; +Cc: emacs-devel

Eric Lilja wrote:
> Hi! I select the whole buffer with C-x h but when I want to indent it I 
> type C-M-\ (which on my Swedish keyboard is Ctrl-Alt-Alt Gr-+ ) but 
> nothing happens. Instead I have to use M-x indent-region. Is this a 
> windows problem or an emacs problem that it cannot detect alt and alt gr 
> at the same time?
> M-x version yields: GNU Emacs 22.0.93.1 (i386-mingw-nt5.1.2600) of 
> 2007-02-20 on MINDCOOLER

That key sequence is a frustrating one. Today I can type the SEQUENCE

    Alt AltGr RCtrl +

and that works for me (or LWin/RWin AltGr RCtrl + with the patched 
version of Emacs+EmacsW32).

I use StickyKeys so I type them one by one. The important thing is using 
the Right Control (RCtrl) and the order of AltGr RCtrl.

Just two months ago the order was the reverse, ie RCtrl AltGr. I do not 
know what is going on. See also

  http://www.emacswiki.org/cgi-bin/wiki/AltGrKey

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

* Re:  C-M-\ on windows?
@ 2007-02-27  4:54 djh
  2007-02-27  6:24 ` Lennart Borgman (gmail)
  0 siblings, 1 reply; 7+ messages in thread
From: djh @ 2007-02-27  4:54 UTC (permalink / raw)
  To: emacs-devel


Eric,

I am using: GNU Emacs 22.0.93.1 (i686-pc-cygwin, X toolkit) of 2007-02-21 
on cygwin (on top of MS-Win32 XP, Japanese Version) with cygwin's X-Windows.

I have no problem with the M-C-\  sequence and use it often. 
Even my emacs is built with cygwin's libraries the key sequence works.

However I usually use:     C^[  C-\   for this instead. 
I find it easier to use this  ESC C-\ sequence as my fingers are there.

Note that I have used MS Win32 registry to change the CAPS  LOCK key to a CTRL key, 
since its where a ctrl key belongs to me.  And I never use the CAPs Lock anyway.

Note to developers:  Never take the <ESC>prefix out!    C-[  is just too useful and easier that hunting around for an ESC key.  The rythm of use the C-[ C-key is like
cha-chunk cha-chunk, which is far more melodic than  click, clonk, chunk (M-C-key) and the ALT key is usually on the bottom rung (at lease on may keyboards) and you have to take your hands of of position.  Maybe I'm just not used to it.

Darel Henman


>Hi! I select the whole buffer with C-x h but when I want to indent it I 
>type C-M-\ (which on my Swedish keyboard is Ctrl-Alt-Alt Gr-+ ) but 
>nothing happens. Instead I have to use M-x indent-region. Is this a 
>windows problem or an emacs problem that it cannot detect alt and alt gr 
>at the same time?
>M-x version yields: GNU Emacs 22.0.93.1 (i386-mingw-nt5.1.2600) of 
>2007-02-20 on MINDCOOLER
>- Eric

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

* Re: C-M-\ on windows?
  2007-02-27  4:54 djh
@ 2007-02-27  6:24 ` Lennart Borgman (gmail)
  2007-02-27 16:21   ` Mathias Dahl
  0 siblings, 1 reply; 7+ messages in thread
From: Lennart Borgman (gmail) @ 2007-02-27  6:24 UTC (permalink / raw)
  To: djh; +Cc: emacs-devel

djh wrote:

> Note to developers:  Never take the <ESC>prefix out!    C-[  is just too useful and easier that hunting around for an ESC key. 


But on some international keyboard (like the Swedish keyboard) C-[ is 
close to useless! It is a 3-key combination (AltGr+Rtrl+8).

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

* Re: C-M-\ on windows?
  2007-02-27  6:24 ` Lennart Borgman (gmail)
@ 2007-02-27 16:21   ` Mathias Dahl
  2007-02-27 17:08     ` Stefan Monnier
  0 siblings, 1 reply; 7+ messages in thread
From: Mathias Dahl @ 2007-02-27 16:21 UTC (permalink / raw)
  To: Lennart Borgman (gmail); +Cc: djh, emacs-devel

> But on some international keyboard (like the Swedish keyboard) C-[ is
> close to useless! It is a 3-key combination (AltGr+Rtrl+8).

If people knew what we Swedes have to (well, I could change my layout
but I would really miss my å, ä and ö...) put up with when typing all
these "programming-characters", they would probably wonder how anyone
in Sweden works with IT... :)

When I realized that / (Shift + 7 for us) or { and } (AltGr + 7 and 0)
are so easy to type on English keybaords, I felt like being part of a
big practical joke...

And ~... Don't mention it! (AltGr + <some dead key with three glyphs
on it> + release + space)...

Poor us!

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

* Re: C-M-\ on windows?
  2007-02-27 16:21   ` Mathias Dahl
@ 2007-02-27 17:08     ` Stefan Monnier
  2007-02-27 17:15       ` David Kastrup
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Monnier @ 2007-02-27 17:08 UTC (permalink / raw)
  To: Mathias Dahl; +Cc: Lennart Borgman (gmail), djh, emacs-devel

>> But on some international keyboard (like the Swedish keyboard) C-[ is
>> close to useless! It is a 3-key combination (AltGr+Rtrl+8).

> If people knew what we Swedes have to (well, I could change my layout
> but I would really miss my å, ä and ö...) put up with when typing all
> these "programming-characters", they would probably wonder how anyone
> in Sweden works with IT... :)

I always use the "compose" key for all my accents, whether I'm writing
French or Spanish.  Never seemed like a big deal.  And the being able to use
a US layout makes up for it awesomely.


        Stefan

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

* Re: C-M-\ on windows?
  2007-02-27 17:08     ` Stefan Monnier
@ 2007-02-27 17:15       ` David Kastrup
  0 siblings, 0 replies; 7+ messages in thread
From: David Kastrup @ 2007-02-27 17:15 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel, Lennart Borgman (gmail), djh, Mathias Dahl

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>>> But on some international keyboard (like the Swedish keyboard) C-[ is
>>> close to useless! It is a 3-key combination (AltGr+Rtrl+8).
>
>> If people knew what we Swedes have to (well, I could change my layout
>> but I would really miss my å, ä and ö...) put up with when typing all
>> these "programming-characters", they would probably wonder how anyone
>> in Sweden works with IT... :)
>
> I always use the "compose" key for all my accents, whether I'm
> writing French or Spanish.  Never seemed like a big deal.  And the
> being able to use a US layout makes up for it awesomely.

TeX users.  All the same.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

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

end of thread, other threads:[~2007-02-27 17:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-21 10:36 C-M-\ on windows? Eric Lilja
2007-02-21 11:19 ` Lennart Borgman (gmail)
  -- strict thread matches above, loose matches on Subject: below --
2007-02-27  4:54 djh
2007-02-27  6:24 ` Lennart Borgman (gmail)
2007-02-27 16:21   ` Mathias Dahl
2007-02-27 17:08     ` Stefan Monnier
2007-02-27 17:15       ` David Kastrup

Code repositories for project(s) associated with this public inbox

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

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