From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: w32-enable-(caps|num)-lock vs typematic keyboard Date: Thu, 30 Nov 2006 13:53:14 +0100 Message-ID: <456ED43A.8080906@student.lu.se> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1164891236 8513 80.91.229.2 (30 Nov 2006 12:53:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Nov 2006 12:53:56 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 30 13:53:50 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 1GplPx-00024w-5W for ged-emacs-devel@m.gmane.org; Thu, 30 Nov 2006 13:53:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GplPw-0003xy-PL for ged-emacs-devel@m.gmane.org; Thu, 30 Nov 2006 07:53:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GplPk-0003wn-Hu for emacs-devel@gnu.org; Thu, 30 Nov 2006 07:53:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GplPi-0003uq-Sr for emacs-devel@gnu.org; Thu, 30 Nov 2006 07:53:20 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GplPi-0003ue-NA for emacs-devel@gnu.org; Thu, 30 Nov 2006 07:53:18 -0500 Original-Received: from [80.76.149.213] (helo=ch-smtp02.sth.basefarm.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GplPh-000455-Mk; Thu, 30 Nov 2006 07:53:18 -0500 Original-Received: from c83-254-145-24.bredband.comhem.se ([83.254.145.24]:63641 helo=[192.168.123.121]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.63) (envelope-from ) id 1GplPf-0000w3-8T; Thu, 30 Nov 2006 13:53:15 +0100 User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) Original-To: Juanma Barranquero In-Reply-To: X-Scan-Result: No virus found in message 1GplPf-0000w3-8T. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1GplPf-0000w3-8T 72ba7c1791aaf88087715ad93614f053 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:63129 Archived-At: Juanma Barranquero wrote: > On 11/30/06, Eli Zaretskii wrote: > >> And then what? You said: >> >> if you keep the key down on a typematic keyboard the caps-lock or >> num-lock state can still change >> >> Does that mean that I press and hold the `d' key, for instance, and >> after some time the CapsLock key goes on? > > No. In my message "the key" tried to mean "they key affected by the > variable previously referred to". > > In other words: > > ELISP> (setq w32-enable-caps-lock nil) > nil > > And now I press Caps Lock and keep it down: the caps lock light > flickers like mad. I release the key: the light flicks a few moments > more (while the typematic buffer lasts, I suppose), and then stops. > Sometimes on, sometimes off. > > The same thing happens with `w32-enable-num-lock' and the Num Lock key. And it works like a charm if you instead use a low level keyboard hook...