unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* A mac keyboard under windows.
@ 2010-03-12 16:54 Defacta
  2010-03-12 19:55 ` Pascal J. Bourguignon
  0 siblings, 1 reply; 3+ messages in thread
From: Defacta @ 2010-03-12 16:54 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

I have a macbook and just installed Windows 7 on it for doing HTML/
JavaScript test on IE...

With Emacs, I can't access to keyboard shortcuts as "~" or "{".
When I am using Firefox for example I have to do ALT+CTRL+2 to have a
"~" but when I am under Emacs, when I do ALT+CTRL+2  I have the
message "C-M-é" is undefined".

How can I fix it to have access to macbook shortcuts ?
I think I must tell Emacs not to do consider "C-M"...how can I do
that ?

Thanks,
Vincent.


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

* Re: A mac keyboard under windows.
  2010-03-12 16:54 A mac keyboard under windows Defacta
@ 2010-03-12 19:55 ` Pascal J. Bourguignon
  2010-03-13 12:14   ` Defacta
  0 siblings, 1 reply; 3+ messages in thread
From: Pascal J. Bourguignon @ 2010-03-12 19:55 UTC (permalink / raw)
  To: help-gnu-emacs

Defacta <boxfly@free.fr> writes:

> I have a macbook and just installed Windows 7 on it for doing HTML/
> JavaScript test on IE...
>
> With Emacs, I can't access to keyboard shortcuts as "~" or "{".
> When I am using Firefox for example I have to do ALT+CTRL+2 to have a
> "~" but when I am under Emacs, when I do ALT+CTRL+2  I have the
> message "C-M-é" is undefined".
>
> How can I fix it to have access to macbook shortcuts ?
> I think I must tell Emacs not to do consider "C-M"...how can I do
> that ?

Wrong keyboard map. Change keyboard map.

AZERTY is not made for programmers, it's made for secretaries typing
French letters.

If you want to program, use an american QWERTY keyboard, where all the
special characters used by the programming languages designed by
american programmers using american QWERTY keyboards are easily
accessible.


\f

Otherwise if you really insist on it, you can translate the mappings,
with:

(keyboard-translate ?\& ?\!)
(keyboard-translate ?\é ?\~)
(keyboard-translate ?\" ?\#)
...


-- 
__Pascal Bourguignon__


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

* Re: A mac keyboard under windows.
  2010-03-12 19:55 ` Pascal J. Bourguignon
@ 2010-03-13 12:14   ` Defacta
  0 siblings, 0 replies; 3+ messages in thread
From: Defacta @ 2010-03-13 12:14 UTC (permalink / raw)
  To: help-gnu-emacs

On 12 mar, 20:55, p...@informatimago.com (Pascal J. Bourguignon)
wrote:
> Defacta <box...@free.fr> writes:
> > I have a macbook and just installed Windows 7 on it for doing HTML/
> > JavaScript test on IE...
>
> > With Emacs, I can't access to keyboard shortcuts as "~" or "{".
> > When I am using Firefox for example I have to do ALT+CTRL+2 to have a
> > "~" but when I am under Emacs, when I do ALT+CTRL+2  I have the
> > message "C-M-é" is undefined".
>
> > How can I fix it to have access to macbook shortcuts ?
> > I think I must tell Emacs not to do consider "C-M"...how can I do
> > that ?
>
> Wrong keyboard map. Change keyboard map.
>
> AZERTY is not made for programmers, it's made for secretaries typing
> French letters.
>
> If you want to program, use an american QWERTY keyboard, where all the
> special characters used by the programming languages designed by
> american programmers using american QWERTY keyboards are easily
> accessible.
>
> Otherwise if you really insist on it, you can translate the mappings,
> with:
>
> (keyboard-translate ?\& ?\!)
> (keyboard-translate ?\é ?\~)
> (keyboard-translate ?\" ?\#)
> ...
>
> --
> __Pascal Bourguignon__

Bonjour,

Why would I get a british laptop if I can get a british keymap by
using keyboard-translate !
(keyboard-translate ?\é ?\~)
(keyboard-translate ?\§ ?\{)
(keyboard-translate ?\à ?\})
(keyboard-translate ?\è ?\|)
(keyboard-translate ?\ù ?\\)
(keyboard-translate ?\C-( ?\[)
(keyboard-translate ?\C-) ?\])
(keyboard-translate ?\FOOD ?\CHEESEBURGER)

Merci,
Vincent.


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

end of thread, other threads:[~2010-03-13 12:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-12 16:54 A mac keyboard under windows Defacta
2010-03-12 19:55 ` Pascal J. Bourguignon
2010-03-13 12:14   ` Defacta

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