unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Miles Bader <miles.bader@necel.com>
Subject: Re: Emacs's Command Frequency and default keyboard shortcuts
Date: Wed, 18 Oct 2006 10:54:40 +0900	[thread overview]
Message-ID: <buovemi5qxr.fsf@dhapc248.dev.necel.com> (raw)
In-Reply-To: <8764eisbm3.fsf@catnip.gol.com> (Miles Bader's message of "Wed\, 18 Oct 2006 09\:37\:08 +0900")

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.

  reply	other threads:[~2006-10-18  1:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1159914415.055557.32190@i3g2000cwc.googlegroups.com>
     [not found] ` <1160574910.715784.64440@i42g2000cwa.googlegroups.com>
     [not found]   ` <1160744232.506208.265870@k70g2000cwa.googlegroups.com>
     [not found]     ` <87zmc0tj1r.fsf@post.rwth-aachen.de>
     [not found]       ` <1161009567.067785.208350@i42g2000cwa.googlegroups.com>
     [not found]         ` <874pu3tos2.fsf@localhorst.mine.nu>
     [not found]           ` <851wp7e638.fsf@lola.goethe.zz>
     [not found]             ` <877iyz719o.fsf@thalassa.informatimago.com>
2006-10-18  0:37               ` Emacs's Command Frequency and default keyboard shortcuts Miles Bader
2006-10-18  1:54                 ` Miles Bader [this message]
2006-10-18  2:00                 ` Stefan Monnier
2006-10-18  2:04                   ` Miles Bader
2006-10-19  9:11                     ` Kim F. Storm
2006-10-19  9:53                       ` David Kastrup
2006-10-19 11:29                         ` Kim F. Storm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=buovemi5qxr.fsf@dhapc248.dev.necel.com \
    --to=miles.bader@necel.com \
    --cc=miles@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).