From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harald Maier Newsgroups: gmane.emacs.bugs Subject: bug#3792: #3792 - 23.1.50; other-window misbehaving with C-tab keybinding - Emacs bug report logs Date: Sat, 11 Jul 2009 19:55:54 +0200 Message-ID: References: Reply-To: Harald Maier , 3792@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1247336268 28900 80.91.229.12 (11 Jul 2009 18:17:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 11 Jul 2009 18:17:48 +0000 (UTC) Cc: 3792@emacsbugs.donarmstrong.com To: Ivan Andrus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 11 20:17:41 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MPh8n-0007FS-4w for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Jul 2009 20:17:41 +0200 Original-Received: from localhost ([127.0.0.1]:48039 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MPh8m-00058p-As for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Jul 2009 14:17:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MPh8h-00058O-7e for bug-gnu-emacs@gnu.org; Sat, 11 Jul 2009 14:17:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MPh8c-00056a-Df for bug-gnu-emacs@gnu.org; Sat, 11 Jul 2009 14:17:34 -0400 Original-Received: from [199.232.76.173] (port=50448 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MPh8c-00056Q-7D for bug-gnu-emacs@gnu.org; Sat, 11 Jul 2009 14:17:30 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:50968) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MPh8b-0005F3-Ns for bug-gnu-emacs@gnu.org; Sat, 11 Jul 2009 14:17:30 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6BIHRjT008195; Sat, 11 Jul 2009 11:17:27 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n6BI03sO004611; Sat, 11 Jul 2009 11:00:03 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Harald Maier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 11 Jul 2009 18:00:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3792 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3792-submit@emacsbugs.donarmstrong.com id=B3792.12473349644180 (code B ref 3792); Sat, 11 Jul 2009 18:00:03 +0000 Original-Received: (at 3792) by emacsbugs.donarmstrong.com; 11 Jul 2009 17:56:04 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.8]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6BHtwYO004173 for <3792@emacsbugs.donarmstrong.com>; Sat, 11 Jul 2009 10:56:00 -0700 Original-Received: from ate.maierh (p54986867.dip.t-dialin.net [84.152.104.103]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0MKsym-1MPgni3548-000Y7b; Sat, 11 Jul 2009 19:55:55 +0200 Original-Received: by ate.maierh (Postfix, from userid 501) id 8783E7D881A; Sat, 11 Jul 2009 19:55:54 +0200 (CEST) In-Reply-To: (Ivan Andrus's message of "Fri, 10 Jul 2009 09:13:55 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (darwin) X-Provags-ID: V01U2FsdGVkX18E3Z230g3w52zurUUWKdlb4I1hcmkYhMK7H2z ookk2At+2dYOlfa5Yku81e5cxP/LNdbZRqXfUgt5ZLurt+X1Ap 1fV0KU7tM8dIVxbKGU8oQ== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sat, 11 Jul 2009 14:17:34 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:29336 Archived-At: Ivan Andrus writes: > I noticed that view-lossage shows two for every time I press > it. In nsterm.m it specifically checks for control-tab and references > http://osdir.com/ml/editors.vim.mac/2007-10/msg00141.html Which in > turn references > https://bugzilla.mozilla.org/show_bug.cgi?id=374076#c12 > > Which makes me think that in Mac OS 10.4 the control-tab keyDown event > isn't sent, but in 10.5 it is. Or at the very least in the latest > version of 10.5 (I'm running 10.5.7) it sends a keyDown event. > > I have implemented what I think is a very simple fix (though it is > probably not ideal). It sets a flag if it recieves a C-tag keyDown, > and if so does not send the corresponging keyUp. I like this because > then it works on keyDown like everything else if possible, but if not > it should work on keyUp. I don't have the facilities to test the > latter assumption. > > Also the patch almost certainly is less efficient than it could be. > For example it sets flags and code twice (I believe) to the same > thing, but I'm not really familiar enough with the code to want to > risk changing that (and it's only for the Cocoa port as well). I > believe it should be correct at least. > > -Ivan Andrus Works fine for me. Thanks! Maybe you should resend the Patch. In line 3 at the end the two final '@@' characters are missing. IMHO, that workaround should be added to 23.1. In 2009-02-20 I too reported the bug as #2402. Harald