From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: thomas Newsgroups: gmane.emacs.help Subject: Re: keyboard translate Date: Sat, 7 Jan 2006 16:44:42 +0100 Message-ID: <2753bafa0601070744y2d238a55xe273cc60a40500d7@mail.gmail.com> References: <20060107151727.24714.qmail@mail01.vipmail.hu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1136649742 26925 80.91.229.2 (7 Jan 2006 16:02:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 7 Jan 2006 16:02:22 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 07 17:02:20 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EvGWI-00075h-R7 for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Jan 2006 17:02:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EvGY7-0005PE-RX for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Jan 2006 11:04:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EvGHB-0005To-1Z for help-gnu-emacs@gnu.org; Sat, 07 Jan 2006 10:46:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EvGH8-0005R2-Jt for help-gnu-emacs@gnu.org; Sat, 07 Jan 2006 10:46:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EvGH8-0005QS-6O for help-gnu-emacs@gnu.org; Sat, 07 Jan 2006 10:46:38 -0500 Original-Received: from [66.249.82.202] (helo=xproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EvGJ4-00064m-TI for help-gnu-emacs@gnu.org; Sat, 07 Jan 2006 10:48:39 -0500 Original-Received: by xproxy.gmail.com with SMTP id t11so2121296wxc for ; Sat, 07 Jan 2006 07:44:42 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tqX/NNNBL4wNJEUKKQOE3+ge/O9MX0Q8/KN3A2fVSn7Yqzf9ZE+3CO40hLbNKrApwPIRlK03D5IPid0F84Y/4aJsMIhXLRWpIgO6A5wpGbMW3sqHgNWm1VAcmssS90m5pM1cJ57WWFTTGdYPVxkgmt6CBNO35g5R9QPpCi9RwZQ= Original-Received: by 10.70.122.14 with SMTP id u14mr12176142wxc; Sat, 07 Jan 2006 07:44:42 -0800 (PST) Original-Received: by 10.70.97.8 with HTTP; Sat, 7 Jan 2006 07:44:42 -0800 (PST) Original-To: help-gnu-emacs@gnu.org In-Reply-To: <20060107151727.24714.qmail@mail01.vipmail.hu> Content-Disposition: inline X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:32531 Archived-At: On 1/7/06, Emabela wrote: > 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 This is my .emacs and it solved the problem for me, try to adapt it : (if window-system (set-terminal-coding-system 'iso-8859-15-unix) (set-keyboard-coding-system 'iso-8859-15-unix) (set-language-environment 'Latin-9) (define-key function-key-map "\e[7~" [home]) (define-key function-key-map "\e[8~" [select]) (define-key function-key-map "\e[7^" [ctl_home]) (define-key function-key-map "\e[8^" [ctl_select]) (global-set-key [select] 'end-of-line) (global-set-key [home] 'beginning-of-line) (global-set-key [ctl_home] 'beginning-of-buffer) (global-set-key [ctl_select] 'end-of-buffer)) Regards