From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Adrian Robert Newsgroups: gmane.emacs.bugs Subject: bug#19977: 24.4; Incorrect translation of Super modifier with Ctrl or Meta on OS X Date: Tue, 29 Mar 2016 20:19:23 +0300 Message-ID: References: <83r3etwc9j.fsf@gnu.org> <83lh51w9z8.fsf@gnu.org> <83d1qdw7bt.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1459272027 31078 80.91.229.3 (29 Mar 2016 17:20:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Mar 2016 17:20:27 +0000 (UTC) Cc: Philipp Stephani , 19977@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 29 19:20:16 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1akxJP-0005zX-GR for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Mar 2016 19:20:15 +0200 Original-Received: from localhost ([::1]:48851 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akxJL-0006aO-Ds for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Mar 2016 13:20:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59845) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akxJH-0006Z6-EO for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2016 13:20:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akxJC-0007Dx-Dq for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2016 13:20:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46891) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akxJC-0007Dt-B4 for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2016 13:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1akxJC-0004GY-70 for bug-gnu-emacs@gnu.org; Tue, 29 Mar 2016 13:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Adrian Robert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Mar 2016 17:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19977 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 19977-submit@debbugs.gnu.org id=B19977.145927197216351 (code B ref 19977); Tue, 29 Mar 2016 17:20:02 +0000 Original-Received: (at 19977) by debbugs.gnu.org; 29 Mar 2016 17:19:32 +0000 Original-Received: from localhost ([127.0.0.1]:44018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akxIh-0004Ff-S6 for submit@debbugs.gnu.org; Tue, 29 Mar 2016 13:19:32 -0400 Original-Received: from mail-lb0-f172.google.com ([209.85.217.172]:36219) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akxIg-0004FP-4s for 19977@debbugs.gnu.org; Tue, 29 Mar 2016 13:19:30 -0400 Original-Received: by mail-lb0-f172.google.com with SMTP id qe11so15285436lbc.3 for <19977@debbugs.gnu.org>; Tue, 29 Mar 2016 10:19:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:mime-version:subject:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Rhf+7hUTMZgv1rf/JmnpFKFWt1sj2POXRmbzQknV5Ik=; b=pmjbp6X6hMoGm/sF4z1vP8ohRYIn+ofuyWcGdvQ0Vz0MF2aGxvzpBhMsyKKPAPHOHM vcCMbhVY8y8Nq0CYpOH/gcVKlL9R8xUW6BgZYVRgAWY1CEJlalvwrYpCpawntKStdAV2 TzIgWB5d73OBvTQp8fQF+6xtE2g/BoaoR858Qm41eJgwPRokRX7ZGu8m6VE2ipu2CzXz tuwHOFFRt0EFfbfmWN4r2fplVVlXijwTTYcQHkF8elEPE2a0OHAaJYmvlYcG5ZndNWHK Kh3aLQgFQXMvLIN28QOYdG97xYJPE7KLmHzPpeX8grEfS8Z69HyyBWAD0oTYRg5tmPby 9LGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:mime-version:subject:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Rhf+7hUTMZgv1rf/JmnpFKFWt1sj2POXRmbzQknV5Ik=; b=ZZTXiHGQNSMbm/4I3FWcylcEWWeOnA3rO+LIRHjoh0Eov5zTX36yEPlCltltdDViPc DQr8sGGfk7MOtTwGA1colu6i+07ophLcxnPQ211rfeMzIrjSSUc27HN9mLzWiLmkErBH 7vJrP05B9BMZkzO2dd2vRmkmWdyp2Addm7aztUMUwt8+1aGz1y2NO2k0DgKdcl56FhfP /bXkyWxBuGv4BwUmiIm92eWFUQ+jrt77sBBs+ji/OAcZOFvFWNZEDqY7lo+e7PwyuPtD lVEPzmOrxUmSXWVXpcFr4JF3LCEVqCz1kN6mT7z1S7iKNc45X4HvPALAvLYg+lN8d/NU 6xWA== X-Gm-Message-State: AD7BkJJ8mtfEYPSb9eIpv1Wiu8CIoR+olXSz4Bwql+uZ5D4tvjdo3ByCvOxk6gzJ2rPCxg== X-Received: by 10.112.38.104 with SMTP id f8mr1683021lbk.115.1459271964367; Tue, 29 Mar 2016 10:19:24 -0700 (PDT) Original-Received: from [192.168.10.4] (82-181-99-163.bb.dnainternet.fi. [82.181.99.163]) by smtp.gmail.com with ESMTPSA id rg10sm2724352lbc.21.2016.03.29.10.19.22 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Mar 2016 10:19:23 -0700 (PDT) X-Google-Original-From: Adrian Robert In-Reply-To: <83d1qdw7bt.fsf@gnu.org> X-Mailer: Apple Mail (2.1878.6) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:115723 Archived-At: On 2016.3.29, at 19:57, Eli Zaretskii wrote: >> From: Philipp Stephani >> Date: Tue, 29 Mar 2016 16:38:52 +0000 >> Cc: 19977@debbugs.gnu.org >>=20 >> If I comment out the if block below the comment >>=20 >> /* if super (default), take input manager's word so things like >> dvorak / qwerty layout work */ >>=20 >> in nsterm.m, everything works. Unless somebody can explain why that = if block exists at all (i.e. why >> [theEvent characters] instead of [theEvent = charactersIgnoringModifiers] is used), then I'd suggest to >> remove the block completely.=20 >>=20 >> Attached a patch to remove this code.=20 >=20 > Adrian, any comments? It's your code from 7 years ago. Heh, well of the top of my head=85 ;-) Did you try testing Dvorak / Qwerty layout? If not, that=92s under = System Preferences, Keyboard, add new, English, select Dvorak or Dvorak = / Qwerty. =46rom what I remember, the issue had to do with cmd-key shortcuts when = one of those layouts was in use. I think users were expecting the = letter reported for the cmd shortcut to either agree with or disagree = with the dvorak layout. Using [theEvent characters] caused it to use = what they were expecting. It sounds like either this wasn=92t the right solution, or user = expectations vary. In either case I would agree with simplifying the = code and removing the part you suggest. -Adrian