From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "pg@gmail.com" Newsgroups: gmane.emacs.help Subject: C-LeftArrow as backward-word Date: Fri, 15 Jan 2010 01:09:50 -0800 (PST) Organization: http://groups.google.com Message-ID: <3c224adf-568a-4519-888d-38c9c660ce48@22g2000yqr.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1263574774 10043 80.91.229.12 (15 Jan 2010 16:59:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Jan 2010 16:59:34 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 15 17:59:26 2010 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 1NVpVY-0007IT-73 for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Jan 2010 17:58:48 +0100 Original-Received: from localhost ([127.0.0.1]:46349 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NVpVY-0007g4-UD for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Jan 2010 11:58:48 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!22g2000yqr.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: 130.49.221.7 Original-X-Trace: posting.google.com 1263546590 3217 127.0.0.1 (15 Jan 2010 09:09:50 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 15 Jan 2010 09:09:50 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 22g2000yqr.googlegroups.com; posting-host=130.49.221.7; posting-account=_7wIHwoAAAAD-ffJstuJiKvbB0nCKtnv User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100106 Ubuntu/9.10 (karmic) Firefox/3.5.7,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:176168 X-Mailman-Approved-At: Fri, 15 Jan 2010 11:57:09 -0500 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:71241 Archived-At: I want to use control+LeftArrow to move the cursor to the previous word, and control+RightArrow to move to the next word in Emacs 21 running in xterm. When I press those, I get '5D' and '5C' inserted at the cursor instead. So I type M-x global-set-key RET Then I press Control+LeftArrow, and enter the command 'backward-word'. But nothing has changed; when I press Control-LeftArrow, I still get '5D' inserted. I also tried putting the following in my ~/.emacs, with no effect: (global-set-key (kbd "M-[ 5 d") 'backward-word) (global-set-key (kbd "M-[ 5 c") 'forward-word) I am not subscribed to the list, so please explicitly add my email address in your replies. Thanks for your help!