unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Keyboard Translate
@ 2011-06-21 17:07 Valentin Plechinger
  0 siblings, 0 replies; 4+ messages in thread
From: Valentin Plechinger @ 2011-06-21 17:07 UTC (permalink / raw)
  To: Help-gnu-emacs

Hello,
I have some trouble with keyboard-translate

This is in my .emacs
...
(keyboard-translate ?\C-p ?\C-t)  ; translate 
(keyboard-translate ?\C-e ?\C-p)  ; translate 
(keyboard-translate ?\C-f ?\C-e)  ; translate 
...

The Problem is that this doesn't get evaluated when the emacs daemon starts, so I have to eval it by hand.
Also if I close the frame where my .emacs is opened after evaluating, it stops working and I have to evaluate my .emacs again. 
Which sucks... a lot...

Any clues how to solve this?

Cheers,
Valentin



^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <mailman.261.1136647273.26925.help-gnu-emacs@gnu.org>]
* keyboard translate
@ 2006-01-07 15:17 Emabela
  2006-01-07 15:44 ` thomas
  0 siblings, 1 reply; 4+ messages in thread
From: Emabela @ 2006-01-07 15:17 UTC (permalink / raw)







Hello Everybody,

 

 After solving the my previous question

 (how to insert unicode char -&gt; ucs-insert),

 there is another problem:

 

 I successfully defined the following key:

 (define-key text-mode-map "\M-[" (lambda () (interactive nil)(ucs-insert "
0170")))

 and it works. 

But the [home] is lost:

the home key produces ESC [ 1 ~ and is not recognized.

I tried 

(define-key function-key-map "\e[1~" [home])

but it has no effect, and 

(keyboard-translate "\e[1~" "[home]")

but it is syntactically wrong.



Any idea?



TERM=screen and emacs is 21.4.1



Thanks for any help.

(I am sorry to disturb you with such stupid questions,

but I have difficulties in configuring emacs...)



Regards,

Bela



--------------------------Hirdetés-----------------------------

VÁLTSON SZÉLESSÁVRA 2006-BAN!

Kedvező árak, forgalomkorlátlan használat, és vilámgyors kiép
ítés.

Ne várjon tovább, jobbat úgysem talál!

Klikk ide: http://www.vipdsl.hu

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

end of thread, other threads:[~2011-06-21 17:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-21 17:07 Keyboard Translate Valentin Plechinger
     [not found] <mailman.261.1136647273.26925.help-gnu-emacs@gnu.org>
2006-01-09  4:04 ` keyboard translate Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2006-01-07 15:17 Emabela
2006-01-07 15:44 ` thomas

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