* Re: Emacs on WinXP and Italian keyboard
@ 2009-03-29 2:17 B. T. Raven
2009-03-30 11:47 ` Andrea Taverna
0 siblings, 1 reply; 10+ messages in thread
From: B. T. Raven @ 2009-03-29 2:17 UTC (permalink / raw)
To: help-gnu-emacs
Alternatively, if you put the following in your .emacs
(setq w32-recognize-altgr nil)
(define-key global-map (kbd "C-M-ì") (lambda () (interactive) (insert
?~ )))
then Altgr-igrave will produce a tilde. Whether that's a good idea or
not is another question. I don't have an Altgr key unless I install the
Italian keyboard and I don't know what else it's used for. I have
w32-recognize-altgr set at t, which is, I think the default. I've never
changed it before.
Ed
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Emacs on WinXP and Italian keyboard
2009-03-29 2:17 Emacs on WinXP and Italian keyboard B. T. Raven
@ 2009-03-30 11:47 ` Andrea Taverna
0 siblings, 0 replies; 10+ messages in thread
From: Andrea Taverna @ 2009-03-30 11:47 UTC (permalink / raw)
To: help-gnu-emacs
B. T. Raven ha scritto:
> Alternatively, if you put the following in your .emacs
> > then Altgr-igrave will produce a tilde. Whether that's a good idea or
> not is another question.
>
> Ed
Thanks! It works.
As for the lire thing, I think it's not necessary. We've got euro since 2001
and I haven't seen a lire symbol for a long time. Anyway, a capital L would do
just fine. It was used even before the advent of euro.
Andrea
^ permalink raw reply [flat|nested] 10+ messages in thread
* Emacs on WinXP and Italian keyboard
@ 2009-03-26 15:57 Andrea Taverna
2009-03-27 6:16 ` Torsten Mueller
` (3 more replies)
0 siblings, 4 replies; 10+ messages in thread
From: Andrea Taverna @ 2009-03-26 15:57 UTC (permalink / raw)
To: help-gnu-emacs
Hello everyone,
I've installed Emacs w32 port on my windows box and I've got the following problem.
My keyboard has an Italian-105-keys layout and no '~' character on it. Under X I
type AltGr+ì to get the character but on windows I need to enter the ASCII
sequence as (IIRC) Alt+126. Problem is that Alt is already caught by Emacs as
meta character.
How can I fix the problem? It would be nice if I could set the X layout on WinXP.
Do you know other advices for using Emacs on WinXP?
thanks in advance,
Andrea Taverna
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Emacs on WinXP and Italian keyboard
2009-03-26 15:57 Andrea Taverna
@ 2009-03-27 6:16 ` Torsten Mueller
2009-03-28 8:22 ` Eli Zaretskii
` (2 subsequent siblings)
3 siblings, 0 replies; 10+ messages in thread
From: Torsten Mueller @ 2009-03-27 6:16 UTC (permalink / raw)
To: help-gnu-emacs
Andrea Taverna <a.tavsNOSPAM@libero.it.invalid> wrote:
> How can I fix the problem?
I oftenly use swiss keyboards missing a key for the german 'ß'. I use
a function key for this. I my .emacs I have the following line:
(global-set-key [f3] 'insert-sz)
and insert-sz is as follows:
(defun insert-sz () "Inserts German-sz character at the current position" (interactive)
(insert-char ?ß 1)
)
This works very well. I even press F3 on german keybords having the
ß-key.
T.M.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Emacs on WinXP and Italian keyboard
2009-03-26 15:57 Andrea Taverna
2009-03-27 6:16 ` Torsten Mueller
@ 2009-03-28 8:22 ` Eli Zaretskii
[not found] ` <mailman.4144.1238228677.31690.help-gnu-emacs@gnu.org>
2009-03-29 1:23 ` B. T. Raven
3 siblings, 0 replies; 10+ messages in thread
From: Eli Zaretskii @ 2009-03-28 8:22 UTC (permalink / raw)
To: help-gnu-emacs
> From: Andrea Taverna <a.tavsNOSPAM@libero.it.invalid>
> Date: Thu, 26 Mar 2009 16:57:35 +0100
>
> Hello everyone,
>
> I've installed Emacs w32 port on my windows box and I've got the following problem.
> My keyboard has an Italian-105-keys layout and no '~' character on it. Under X I
> type AltGr+ì to get the character but on windows I need to enter the ASCII
> sequence as (IIRC) Alt+126. Problem is that Alt is already caught by Emacs as
> meta character.
Are you saying that the AltGr (right Alt) key is interpreted as the
left Alt key? It shouldn't; what is the value of w32-recognize-altgr
variable?
Also, does it help to press the right Alt and left Ctrl keys
simultaneously, instead of the AltGr key?
Finally, what version of Emacs is that? what does "M-x emacs-version
RET" display?
^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <mailman.4144.1238228677.31690.help-gnu-emacs@gnu.org>]
* Re: Emacs on WinXP and Italian keyboard
2009-03-26 15:57 Andrea Taverna
` (2 preceding siblings ...)
[not found] ` <mailman.4144.1238228677.31690.help-gnu-emacs@gnu.org>
@ 2009-03-29 1:23 ` B. T. Raven
3 siblings, 0 replies; 10+ messages in thread
From: B. T. Raven @ 2009-03-29 1:23 UTC (permalink / raw)
To: help-gnu-emacs
Andrea Taverna wrote:
> Hello everyone,
>
> I've installed Emacs w32 port on my windows box and I've got the
> following problem.
> My keyboard has an Italian-105-keys layout and no '~' character on it.
> Under X I type AltGr+ì to get the character but on windows I need to
> enter the ASCII sequence as (IIRC) Alt+126. Problem is that Alt is
> already caught by Emacs as meta character.
If you don't touch type on the Italian keyboard yet, you could use
another layout via Control Panel > Keyboard. Alternatively, if you can
do without the vertical bar character (| pipe directive) then try this:
(global-set-key "\|" (lambda () (interactive) (insert ?~)))
This is where tilde is on English keyboard (to far left of number key
row -- shifted backslash on Italian keyboard). Since you don't really
need § or £ within Emacs it might be better to use something like:
(define-key global-map (kbd "£") (lambda () (interactive) (insert ?~ )))
This symbol is only for pound sterling and not lire, right? Has anyone
seen any lire recently?
Maybe you could do something like this with AltGr but I can't simulate
that here since all my right and left modifiers are synonymous.
>
> How can I fix the problem? It would be nice if I could set the X layout
> on WinXP.
>
> Do you know other advices for using Emacs on WinXP?
Google on TweakKey for system wide key reassignments.
>
> thanks in advance,
>
> Andrea Taverna
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2009-03-30 18:40 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-29 2:17 Emacs on WinXP and Italian keyboard B. T. Raven
2009-03-30 11:47 ` Andrea Taverna
-- strict thread matches above, loose matches on Subject: below --
2009-03-26 15:57 Andrea Taverna
2009-03-27 6:16 ` Torsten Mueller
2009-03-28 8:22 ` Eli Zaretskii
[not found] ` <mailman.4144.1238228677.31690.help-gnu-emacs@gnu.org>
2009-03-28 18:34 ` Andrea Taverna
2009-03-29 18:05 ` Eli Zaretskii
[not found] ` <mailman.4212.1238350041.31690.help-gnu-emacs@gnu.org>
2009-03-30 11:33 ` Andrea Taverna
2009-03-30 18:40 ` Eli Zaretskii
2009-03-29 1:23 ` B. T. Raven
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).