From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Max Rubin Newsgroups: gmane.emacs.help Subject: Help with setting a key (C- moving a full word to the right) Date: Thu, 6 Jun 2013 23:20:26 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1370587095 20398 80.91.229.3 (7 Jun 2013 06:38:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Jun 2013 06:38:15 +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 Jun 07 08:38:15 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UkqJS-0006Qj-Sy for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Jun 2013 08:38:15 +0200 Original-Received: from localhost ([::1]:39625 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkqJS-0004or-HR for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Jun 2013 02:38:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37469) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UknE9-0006IR-MT for help-gnu-emacs@gnu.org; Thu, 06 Jun 2013 23:20:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UknE5-0002Ge-Fd for help-gnu-emacs@gnu.org; Thu, 06 Jun 2013 23:20:33 -0400 Original-Received: from ppa03.princeton.edu ([128.112.128.214]:38174 helo=Princeton.EDU) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UknE5-0002GV-Bo for help-gnu-emacs@gnu.org; Thu, 06 Jun 2013 23:20:29 -0400 Original-Received: from csgsmtp200l.Princeton.EDU (csgsmtp200l.Princeton.EDU [128.112.130.131]) by ppa03.princeton.edu (8.14.5/8.14.5) with ESMTP id r573KR7k025288 for ; Thu, 6 Jun 2013 23:20:27 -0400 Original-Received: from mail-ob0-f179.google.com (mail-ob0-f179.google.com [209.85.214.179]) (authenticated authid=merubin bits=0) by csgsmtp200l.Princeton.EDU (8.13.8/8.12.9) with ESMTP id r573KQMI022278 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Thu, 6 Jun 2013 23:20:27 -0400 Original-Received: by mail-ob0-f179.google.com with SMTP id xk17so5820668obc.38 for ; Thu, 06 Jun 2013 20:20:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=ZQOmaCjpcQkSZR1TNm1cZitbJ+illMtlrd+EFOnjM6E=; b=Mvb3mPwphk401e7BwhfjX29oqrWJzA0ZMBNnVTEh/QjQKqUbVkcq+hGkWyPhJOW6Gj z7LHlu+Xi65GQlVm2vSweLPojWg0hDAjgycqHEoPE3nIATbUZ6aAIQ3rfFzKb9y6uMJH ipBkXomHtfnGMcV5+CiMqKB4WzBP4jWtdLR14GqhTx6yNHf4pLcgzA7Mn6v2Cxqwxiwf EFE4pKEZQ2McQdwHTSdsohZOITRGqG6i61tvTJtzKF0UsZVC5OKuuEQ0p5YW83v/yNMA Y0aewlv8qEAS30COSL/i9U7VYuPv7SDGcn7mH45GIgDUt66f+ElTWmvcKXxj3WPjJQiO lUXw== X-Received: by 10.182.46.230 with SMTP id y6mr20398769obm.79.1370575226706; Thu, 06 Jun 2013 20:20:26 -0700 (PDT) Original-Received: by 10.76.68.194 with HTTP; Thu, 6 Jun 2013 20:20:26 -0700 (PDT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626, 1.0.431, 0.0.0000 definitions=2013-06-07_02:2013-06-06, 2013-06-07, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=3 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1305240000 definitions=main-1306060298 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-Received-From: 128.112.128.214 X-Mailman-Approved-At: Fri, 07 Jun 2013 02:38:03 -0400 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:91367 Archived-At: Hey there helpful listservers! I only discovered today that you can edit your .emacs file and add in custom keys and change the settings, and I've unfortunately run into a problem. I want ctrl+right arrow to move forward one whole word at a time, and ctrl+left arrow to move back a whole word at a time. The keys M-f and M-b already do this using 'forward-word and 'backward-word, but I cannot figure out how represent C+. I've tried " (global-set-key (kbd "C-") 'forward-word " but that doesn't work. In fact, no key name that exists in angle brackets (, , , ) work. If I changed it to " (global-set-key (kbd "C-l") 'forward-word ", then it works as expected, so my computer is definitely not comprehending the angle bracket keys. Anyone know what is wrong and how to fix it? Thank you, Max