From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rjjd Newsgroups: gmane.emacs.help Subject: Re: Binding same command to two separte keys?? Date: Fri, 13 Apr 2007 21:41:48 GMT Organization: tds.net Message-ID: References: <1176490954.3065.75.camel@CASE> <1176491561.32280.9.camel@oaktree.karlheg.lan> <461FD736.2080709@gatech.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1176503765 22874 80.91.229.12 (13 Apr 2007 22:36:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 13 Apr 2007 22:36:05 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 14 00:36:03 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 1HcUN5-0005Tm-Ni for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Apr 2007 00:35:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HcURP-0004EF-6G for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Apr 2007 18:40:27 -0400 Original-Path: shelby.stanford.edu!newshub.stanford.edu!postnews.google.com!news2.google.com!news.glorb.com!newspeer.tds.net!216.170.153.140.MISMATCH!newsreading01.news.tds.net!53ab2750!not-for-mail User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) Original-Newsgroups: gnu.emacs.help In-Reply-To: Original-Lines: 38 Original-NNTP-Posting-Host: 69.21.254.248 Original-X-Complaints-To: news@tds.net Original-X-Trace: newsreading01.news.tds.net 1176500508 69.21.254.248 (Fri, 13 Apr 2007 16:41:48 CDT) Original-NNTP-Posting-Date: Fri, 13 Apr 2007 16:41:48 CDT Original-Xref: shelby.stanford.edu gnu.emacs.help:147053 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:42659 Archived-At: I am also totally confused. I have been using emacs for 25 years Over the last 25 years I have written about 146 keybinding functions. (That's what count-matches says in my emacsinit.el file. I admit there have been others.) Some of my keybindings look like this: (global-set-key "\M- " 'dabbrev-expand) Others look like this: (global-set-key [SunF37] 'universal-argument) And some look like this: (global-set-key [f3 ?2] 'm2) I don't know why; I just copy stuff that works. (I know, I know! It's all in the manual! All right already!) Every time I try to do something a little different, it's like day one, 25 years ago. (I've started writing an encrypter. It will take me about 11 years to get it working. Has anyone else written one I can grab?) Regards, Bob DiGrazia William Case wrote: > Ok guys, now I am really totally confused. ... > I have been using emacs for 2 years. ... ... > Over the last 2 years I have written about 10 keybinding functions, ... ... > Sorry if I sound a little grouchy, but right now my emacs frustration > knows no bounds and I am unable to make sense of anything that I read. > It is like day one, two years ago, all over again. I thought I had this > simple task -- binding functions to keys worked out. ...