From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Emacs's Command Frequency and default keyboard shortcuts Date: Wed, 18 Oct 2006 10:54:40 +0900 Message-ID: References: <1159914415.055557.32190@i3g2000cwc.googlegroups.com> <1160574910.715784.64440@i42g2000cwa.googlegroups.com> <1160744232.506208.265870@k70g2000cwa.googlegroups.com> <87zmc0tj1r.fsf@post.rwth-aachen.de> <1161009567.067785.208350@i42g2000cwa.googlegroups.com> <874pu3tos2.fsf@localhorst.mine.nu> <851wp7e638.fsf@lola.goethe.zz> <877iyz719o.fsf@thalassa.informatimago.com> <8764eisbm3.fsf@catnip.gol.com> Reply-To: Miles Bader NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1161136924 17331 80.91.229.2 (18 Oct 2006 02:02:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 18 Oct 2006 02:02:04 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 18 04:01:49 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ga0hh-0006Ql-LB for ged-emacs-devel@m.gmane.org; Wed, 18 Oct 2006 03:58:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ga0hh-0007fM-C1 for ged-emacs-devel@m.gmane.org; Tue, 17 Oct 2006 21:58:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ga0hW-0007cq-Bn for emacs-devel@gnu.org; Tue, 17 Oct 2006 21:58:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ga0hV-0007Zi-2s for emacs-devel@gnu.org; Tue, 17 Oct 2006 21:58:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ga0hU-0007ZU-Hn for emacs-devel@gnu.org; Tue, 17 Oct 2006 21:58:32 -0400 Original-Received: from [203.180.232.82] (helo=mgate02.necel.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Ga0hO-0001Il-SF; Tue, 17 Oct 2006 21:58:27 -0400 Original-Received: from relay11.aps.necel.com (relay11 [10.29.19.46]) by mgate02.necel.com (8.13.8/8.13.1) with ESMTP id k9I1rIme013052; Wed, 18 Oct 2006 10:58:24 +0900 (JST) Original-Received: from relay11.aps.necel.com ([10.29.19.24] [10.29.19.24]) by relay11.aps.necel.com with ESMTP; Wed, 18 Oct 2006 10:58:23 +0900 Original-Received: from dhapc248.dev.necel.com ([10.114.97.235] [10.114.97.235]) by relay11.aps.necel.com with ESMTP; Wed, 18 Oct 2006 10:58:23 +0900 Original-Received: by dhapc248.dev.necel.com (Postfix, from userid 31295) id E1D6E476; Wed, 18 Oct 2006 10:54:40 +0900 (JST) Original-To: emacs-devel@gnu.org System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <8764eisbm3.fsf@catnip.gol.com> (Miles Bader's message of "Wed\, 18 Oct 2006 09\:37\:08 +0900") Original-Lines: 14 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:60850 Archived-At: I wrote: > (define-minor-mode caps-lock-mode ... > (defun self-insert-upcased () ... Better version of `self-insert-upcased': (defun self-insert-upcased (arg) (interactive "p") (setq last-command-char (upcase last-command-char)) (self-insert-command arg)) -Miles -- Fast, small, soon; pick any 2.