From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: weber Newsgroups: gmane.emacs.help Subject: Re: Setting Keyboard bindings for C-Right Date: Sat, 04 Aug 2007 20:26:58 -0700 Organization: http://groups.google.com Message-ID: <1186284418.020176.28570@w3g2000hsg.googlegroups.com> References: <1186252220.919077.220730@x40g2000prg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1186285305 25921 80.91.229.12 (5 Aug 2007 03:41:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 5 Aug 2007 03:41:45 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 05 05:41:44 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IHWzu-0002mP-MT for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Aug 2007 05:41:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IHWzs-0000QD-Pv for geh-help-gnu-emacs@m.gmane.org; Sat, 04 Aug 2007 23:41:40 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!w3g2000hsg.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Original-NNTP-Posting-Host: 189.6.212.239 Original-X-Trace: posting.google.com 1186284418 1799 127.0.0.1 (5 Aug 2007 03:26:58 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 5 Aug 2007 03:26:58 +0000 (UTC) In-Reply-To: <1186252220.919077.220730@x40g2000prg.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.3) Gecko/20061201 Firefox/2.0.0.3 (Ubuntu-feisty),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: w3g2000hsg.googlegroups.com; posting-host=189.6.212.239; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Original-Xref: shelby.stanford.edu gnu.emacs.help:150756 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:46328 Archived-At: On Aug 4, 3:30 pm, the matt wrote: > Hello, > > Any help in translating "ESC [ 1 ; 5 C" into an emacs keybinding would > be much appreciated. > > I know this comes up frequently, so really what I need is to know how > to input my key bindings for C-Right for emacs -nw in my terminal > > Output of view-losses for C-Right > ESC [ 1 ; 5 C > > I've tried the following (and a few other variations to no avail) > > (define-key function-key-map "\eO1;5C" [C-right]) > (global-set-key [(C-right)] 'forward-word) > > Any help in translating "ESC [ 1 ; 5 C" into an emacs keybinding would > be much appreciated. > > System: Emacs 21.4.1 > Fedora FC5 > > Thanks > > Matt This works for me: (global-set-key [(control right)] 'forward-word) Cheers weber