From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Chris Moore" Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: capslock changes control characters? Date: Tue, 4 Mar 2008 14:15:05 +0100 Message-ID: References: <7A3695BB-0265-4CDE-BAE4-2395FE14792F@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1204636535 17890 80.91.229.12 (4 Mar 2008 13:15:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Mar 2008 13:15:35 +0000 (UTC) Cc: David Reitter , Stefan Monnier , emacs-pretest-bug@gnu.org To: "Andreas Schwab" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 04 14:16:00 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JWWzr-0000bz-Tg for ged-emacs-devel@m.gmane.org; Tue, 04 Mar 2008 14:15:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JWWzK-0007Hr-M3 for ged-emacs-devel@m.gmane.org; Tue, 04 Mar 2008 08:15:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JWWzE-0007Gc-U7 for emacs-devel@gnu.org; Tue, 04 Mar 2008 08:15:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JWWzD-0007F0-3w for emacs-devel@gnu.org; Tue, 04 Mar 2008 08:15:16 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JWWzC-0007Et-Uv for emacs-devel@gnu.org; Tue, 04 Mar 2008 08:15:15 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JWWzC-0001za-VW for emacs-devel@gnu.org; Tue, 04 Mar 2008 08:15:15 -0500 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JWWzC-0004WW-FF for emacs-pretest-bug@gnu.org; Tue, 04 Mar 2008 08:15:14 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JWWz9-0001yF-Jw for emacs-pretest-bug@gnu.org; Tue, 04 Mar 2008 08:15:14 -0500 Original-Received: from el-out-1112.google.com ([209.85.162.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JWWz9-0001xi-89 for emacs-pretest-bug@gnu.org; Tue, 04 Mar 2008 08:15:11 -0500 Original-Received: by el-out-1112.google.com with SMTP id n30so1002941elf.7 for ; Tue, 04 Mar 2008 05:15:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=ZqYcBA1wwFwOJikwKQQ1gZyenJLCvmr4AXIY0TPsku0=; b=KUx/JfGBpOziRmDcThNwWIYLLp2zlJNuWL/FsZkEWGw891EoyvuiFFweRBqsw3KPTU4r+/2faBLWUpcMWxT1a0i8MD8zlIjLBcZpHlLW3QAb+u3SpIC01ixwuEi9B9HCvoAllysJZ5EZ2LK6cMDhI9sZ5nsn2YPqVwV02BjVqDI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=p711fb2bK3ViI+JbNnEth57FDJqZtICU2Wc0zLaMnN48bUVULgn9mxz7fijmEiJ6esTBexCzRYk0NoVdfXSL/P5AvqzBE/LSNnQX8Ky+uOYZIKk+Hfbadg70Vh+ca693A95UVLSfykYNglF2cwXpBpfInC8lOwkC9mWlw0dIdx4= Original-Received: by 10.114.89.1 with SMTP id m1mr1998567wab.77.1204636505904; Tue, 04 Mar 2008 05:15:05 -0800 (PST) Original-Received: by 10.114.241.5 with HTTP; Tue, 4 Mar 2008 05:15:05 -0800 (PST) In-Reply-To: Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:91282 gmane.emacs.pretest.bugs:21405 Archived-At: On Mon, Mar 3, 2008 at 3:49 PM, Andreas Schwab wrote: > Or add ctrl:nocaps to your XKB options. I don't want to disable the capslock key, I just want it to work properly. When capslock is on, the letters a-z should become A-Z, but that's all. I don't expect 1 to become ! (shifted 1), and I don't expect C-q to become C-S-q. Capslock should only act on regular letters, not on control keys. Another example: in a *shell* buffer, I expect M-p to take me to a previous command in the shell history. If capslock is on, it just inserts a p into the buffer. I don't know why it inserts a lowercase 'p' (capslock is on, after all), but this is what C-h k tells me: p (translated from M-P) runs the command self-insert-command, which is an interactive built-in function in `C source code'. Chris.