From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matthew Flaschen Newsgroups: gmane.emacs.help Subject: Re: Binding same command to two separte keys?? Date: Fri, 13 Apr 2007 23:52:03 -0400 Message-ID: <46204FE3.6030002@gatech.edu> 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 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1176522744 1174 80.91.229.12 (14 Apr 2007 03:52:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 14 Apr 2007 03:52:24 +0000 (UTC) To: emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 14 05:52:23 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 1HcZJG-0007qN-SQ for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Apr 2007 05:52:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HcZNb-0003ri-M2 for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Apr 2007 23:56:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HcZNN-0003qJ-1X for help-gnu-emacs@gnu.org; Fri, 13 Apr 2007 23:56:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HcZNL-0003md-SX for help-gnu-emacs@gnu.org; Fri, 13 Apr 2007 23:56:36 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HcZNL-0003mH-LT for help-gnu-emacs@gnu.org; Fri, 13 Apr 2007 23:56:35 -0400 Original-Received: from deliverator4.gatech.edu ([130.207.165.164]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1HcZIz-000171-Vm for help-gnu-emacs@gnu.org; Fri, 13 Apr 2007 23:52:06 -0400 Original-Received: from deliverator4.gatech.edu (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 8046BA483 for ; Fri, 13 Apr 2007 23:52:04 -0400 (EDT) (envelope-from matthew.flaschen@gatech.edu) Original-Received: from mailprx3.gatech.edu (mailprx3.prism.gatech.edu [130.207.171.17]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "smtp.mail.gatech.edu", Issuer "RSA Data Security, Inc." (verified OK)) by deliverator4.gatech.edu (Postfix) with ESMTP id 637A1A488 for ; Fri, 13 Apr 2007 23:52:04 -0400 (EDT) (envelope-from matthew.flaschen@gatech.edu) Original-Received: from [128.61.73.81] (r73h81.res.gatech.edu [128.61.73.81]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (sasl: method=PLAIN, username=mflaschen3@mailprx3.gatech.edu, sender=n/a) by mailprx3.gatech.edu (Postfix) with ESMTP id 1CF912165 for ; Fri, 13 Apr 2007 23:52:04 -0400 (EDT) (envelope-from matthew.flaschen@gatech.edu) User-Agent: Thunderbird 1.5.0.10 (X11/20070306) In-Reply-To: X-Enigmail-Version: 0.94.3.0 X-detected-kernel: Solaris 9 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:42662 Archived-At: Rjjd wrote: > 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?) Can't you use gnupg ? It should be fairly easy to integrate. Matt Flaschen