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 09:37:08 +0900 Message-ID: <8764eisbm3.fsf@catnip.gol.com> 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> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1161134756 9950 80.91.229.2 (18 Oct 2006 01:25:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 18 Oct 2006 01:25:56 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 18 02:42:18 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 1GZzR6-0007Tm-Tx for ged-emacs-devel@m.gmane.org; Wed, 18 Oct 2006 02:37:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GZzR6-00017E-Bk for ged-emacs-devel@m.gmane.org; Tue, 17 Oct 2006 20:37:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GZzQr-00012Z-C0 for emacs-devel@gnu.org; Tue, 17 Oct 2006 20:37:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GZzQn-0000qr-3M for emacs-devel@gnu.org; Tue, 17 Oct 2006 20:37:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GZzQm-0000qW-Tj for emacs-devel@gnu.org; Tue, 17 Oct 2006 20:37:12 -0400 Original-Received: from [203.216.5.72] (helo=smtp02.dentaku.gol.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GZzQl-00083e-Np; Tue, 17 Oct 2006 20:37:12 -0400 Original-Received: from 203-216-97-028.dsl.gol.ne.jp ([203.216.97.28] helo=catnip.gol.com) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1GZzQi-00027E-Vx; Wed, 18 Oct 2006 09:37:09 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id 906D52F45; Wed, 18 Oct 2006 09:37:08 +0900 (JST) Original-Newsgroups: comp.emacs System-Type: i686-pc-linux-gnu Original-Lines: 28 Cancel-Lock: sha1:7U3oxjBgfV2mGjt4u1eA0W9cP7U= In-Reply-To: <877iyz719o.fsf@thalassa.informatimago.com> (Pascal Bourguignon's message of "Tue\, 17 Oct 2006 11\:13\:55 +0200") Posted-To: comp.emacs X-Abuse-Complaints: abuse@gol.com 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:60847 Archived-At: Pascal Bourguignon writes: >> Rather have Caps Lock be an additional Control key. When would you >> _ever_ need Caps Lock? The only use I can think of is to appear like >> an idiot on Usenet, and there are other ways for doing that. > > Indeed, like M-x caps-mode RET HOWDY! ;-) On that note (only works in Emacs 22): (define-minor-mode caps-lock-mode "When enabled, all self-inserting characters will be converted to uppercase." :lighter " CapsLock" (if caps-lock-mode (local-set-key [remap self-insert-command] 'self-insert-upcased) (local-unset-key [remap self-insert-command]))) (defun self-insert-upcased () (interactive) (insert (upcase last-input-char))) [THANKS, KIM, FOR THE WONDERFUL "[REMAP ...]" KEY-BINDING MECHANISM!!!!] -Miles -- Suburbia: where they tear out the trees and then name streets after them.