From unknown Mon Jun 23 07:48:04 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#8680 <8680@debbugs.gnu.org> To: bug#8680 <8680@debbugs.gnu.org> Subject: Status: Cocoa Emacs not mapping Clear key on aluminum keyboards. Reply-To: bug#8680 <8680@debbugs.gnu.org> Date: Mon, 23 Jun 2025 14:48:04 +0000 retitle 8680 Cocoa Emacs not mapping Clear key on aluminum keyboards. reassign 8680 emacs,ns submitter 8680 Michael Marchionna severity 8680 important tag 8680 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue May 17 02:36:06 2011 Received: (at submit) by debbugs.gnu.org; 17 May 2011 06:36:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QMDsz-0006LC-RA for submit@debbugs.gnu.org; Tue, 17 May 2011 02:36:06 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QMCVB-00030g-Bz for submit@debbugs.gnu.org; Tue, 17 May 2011 01:07:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QMCV5-0005K6-5G for submit@debbugs.gnu.org; Tue, 17 May 2011 01:07:19 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:36413) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMCV5-0005K2-3l for submit@debbugs.gnu.org; Tue, 17 May 2011 01:07:19 -0400 Received: from eggs.gnu.org ([140.186.70.92]:47973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMCV4-0001wj-Az for bug-gnu-emacs@gnu.org; Tue, 17 May 2011 01:07:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QMCV3-0005JL-9S for bug-gnu-emacs@gnu.org; Tue, 17 May 2011 01:07:18 -0400 Received: from nm6-vm0.access.bullet.mail.sp2.yahoo.com ([98.139.44.114]:44006) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QMCV2-0005J1-RD for bug-gnu-emacs@gnu.org; Tue, 17 May 2011 01:07:17 -0400 Received: from [98.139.44.107] by nm6.access.bullet.mail.sp2.yahoo.com with NNFMP; 17 May 2011 05:07:14 -0000 Received: from [98.139.44.76] by tm12.access.bullet.mail.sp2.yahoo.com with NNFMP; 17 May 2011 05:07:14 -0000 Received: from [127.0.0.1] by omp1013.access.mail.sp2.yahoo.com with NNFMP; 17 May 2011 05:07:14 -0000 X-Yahoo-Newman-Id: 365383.57557.bm@omp1013.access.mail.sp2.yahoo.com Received: (qmail 28800 invoked from network); 17 May 2011 05:07:13 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=pacbell.net; h=DKIM-Signature:Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:From:Content-Type:Content-Transfer-Encoding:Subject:Date:Message-Id:To:Mime-Version:X-Mailer; b=oK6H/ThwM0cnnccNzUoRfqOLhL2jTTr+nhNfmRbb8dgU19Oje2oQfNBXGgSkgBknTcBelRG75at6BERHwlYOYW4ktzkc4hZ9DdUEtaQ+n7aN4a6p89jODkfg4QVF6cBnYRKkJqTzdCViWSnC0sp9Im5ap3fhH3zl+h4xk2+qkRw= ; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pacbell.net; s=s1024; t=1305608833; bh=NHPJXx0wFRPtM4AVPIl8lVSfLDYO7nO7zgOt8l59bxQ=; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:From:Content-Type:Content-Transfer-Encoding:Subject:Date:Message-Id:To:Mime-Version:X-Mailer; b=seo0ybUYUvGP/tIegpQ0LKdDBvlWhKRb/bpJN2EujSKOL0S7yKlgWevkoKj+kF0lcg1s2ctwYxa6JzSJBsReVLaxbvSNvRQJKck6g1CrpGageMy1SYPowRnWEMomj6padmYcuBuFrrLAIIGa8ush68zhcYms/FQdHBMIQ+cAriE= Received: from morbo.el-rayo-x.foo (tralfaz@216.101.161.154 with plain) by smtp108.sbc.mail.gq1.yahoo.com with SMTP; 16 May 2011 22:07:13 -0700 PDT X-Yahoo-SMTP: uVslrc.swBAsbr9qUoHctqw_w91g6l3qy9ZsMsYbaY4- X-YMail-OSG: dQFlr9MVM1le8VtOkLNJ8S2srszY9o4juM4pljXcSRxikm7 WlmMDXnWXktCsvwMxPfSFmWiLrBQWNdttW4y51EWrTkwuhfOwlhG1TYvYcWN V8jzrE6p3Hg6Ogh4Nu_iYULjqN1EKB53Qvj9.FdBHAm4XZ8bVAQKceBxIGre fiPhjy4ZKI0vYwTNanb9VOAxsnCUtqKn493TUAQI6JMv8.i5qF_HsZqq5bSa heavvLaT6giMzgQqPxTJ5xkXfOnkTTNoBbkGABwceiotU0lrVmjZfdhBr_Wg z.0XhoRyTMaqUBM1JVVip9ijmc_3Bwfx5jAc.vihoqUgsNwbzuAGqai4kRhH 79LgMC6jl.gxa7GCd22zxMbZJKl8oXqNOL2E1DT8aXNrXpA-- X-Yahoo-Newman-Property: ymail-3 From: Michael Marchionna Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Cocoa Emacs not mapping Clear key on aluminum keyboards. Date: Mon, 16 May 2011 22:07:12 -0700 Message-Id: <625A3C9C-ACF2-42A0-B4E8-8ABDDA060131@pacbell.net> To: bug-gnu-emacs@gnu.org Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 17 May 2011 02:36:03 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) The newer Mac aluminum keyboards have a "clear" on the keypad group = where the Num-Lock typically lives. This key generates: keyCode: 71 (0x47), and character: 0xf739. = The character 0xf739 maps to the NSClearLineFunctionKey defined in NSEvent.h. Since this symbol is not listed in the nsterm.m translation table the = clear key becomes a dead key. It can be mapped to emacs [clear] key with the following change. diff --git a/src/nsterm.m b/src/nsterm.m index 91f0cbb..119327d 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -87,6 +87,7 @@ static unsigned convert_ns_to_X_keysym[] =3D NSBeginFunctionKey, 0x58, NSSelectFunctionKey, 0x60, NSPrintFunctionKey, 0x61, + NSClearLineFunctionKey, 0x0B, NSExecuteFunctionKey, 0x62, NSInsertFunctionKey, 0x63, NSUndoFunctionKey, 0x65, This change makes the key respond as it did in Carbon Emacs. From debbugs-submit-bounces@debbugs.gnu.org Tue May 17 13:34:11 2011 Received: (at 8680) by debbugs.gnu.org; 17 May 2011 17:34:11 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QMO9r-0005ZO-9p for submit@debbugs.gnu.org; Tue, 17 May 2011 13:34:11 -0400 Received: from nm22.access.bullet.mail.sp2.yahoo.com ([98.139.44.149]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QMO9p-0005ZC-HT for 8680@debbugs.gnu.org; Tue, 17 May 2011 13:34:10 -0400 Received: from [98.139.44.103] by nm22.access.bullet.mail.sp2.yahoo.com with NNFMP; 17 May 2011 17:34:03 -0000 Received: from [98.139.44.70] by tm8.access.bullet.mail.sp2.yahoo.com with NNFMP; 17 May 2011 17:34:03 -0000 Received: from [127.0.0.1] by omp1007.access.mail.sp2.yahoo.com with NNFMP; 17 May 2011 17:34:03 -0000 X-Yahoo-Newman-Id: 406132.60078.bm@omp1007.access.mail.sp2.yahoo.com Received: (qmail 35579 invoked from network); 17 May 2011 17:34:02 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=pacbell.net; h=DKIM-Signature:Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:From:Content-Type:Content-Transfer-Encoding:Subject:Date:Message-Id:To:Mime-Version:X-Mailer; b=FZAFf3a5iKS/PZmFKoYistvIzUF/4hMUQdvqjKBo0KNujWXqpziLq7etnevtG48wK5DxqwfTWMb7TiXO7crT5RA/g7WPPnfJbl7b9IW+u2os+sNcYOunCg85GqqIDn8cVaZcaYar9S/IEwxH6AjG4hnBAHp2Wu+cshLLDI/wuRo= ; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pacbell.net; s=s1024; t=1305653642; bh=cKhVdStDeZ3MgVtIS9nzvzvKwOgl2a5tpKzDpzHrcek=; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:From:Content-Type:Content-Transfer-Encoding:Subject:Date:Message-Id:To:Mime-Version:X-Mailer; b=2GAG118ofOM2V33gMF/xnnSjNctVfS1azEyFNvDYto1GPSoPcHu8ExtIhhV4aRMwCIY4UF5qxUMl5/mK1jglyLQmyEonR3JhW8sdnNQo2PZFvwzAa7GDnH68GZ0mqU2JxTPikicqPClqHW+AKD72oLWE/UOqnkNSOaFbLfsOHrk= Received: from morbo.el-rayo-x.foo (tralfaz@216.101.161.154 with plain) by smtp101.sbc.mail.ne1.yahoo.com with SMTP; 17 May 2011 10:34:02 -0700 PDT X-Yahoo-SMTP: uVslrc.swBAsbr9qUoHctqw_w91g6l3qy9ZsMsYbaY4- X-YMail-OSG: nVDIhNkVM1kYOPI4KPXDzMAJ3DAxGeOQkjYO7ezk5D1gzo9 Zct9kS4p_vVwWW26UYcyTOTdil6_p8XajslFb_E.aWM5W8C54cvCCkRsrY7U 8NLNdbv12jtskmwpTcc8FVgEFMKDxOvz6mqIBYp3pdUM6WWdaBv3V.Gn2Rch bm4CYyRW9qj26YxFgqOYvoA0GHOQm3quvHdAAHjriv46cZ9ZJDGuv84REOLC eGubVAD1al.LkegkD0FlkUwJFJJzevxUmS4Dv2ygLDy852O4eVHgbJPxynrM 2U.OhpjoilJHmYaGpuUu3_DALhtZMs9.Du4do5hx8uReGqaJ7agorftgHCXw OsugqHqSNVcoTmzoMTvz7c5oo.h36g7pjfOLu0uk- X-Yahoo-Newman-Property: ymail-3 From: Michael Marchionna Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: nsterm.m does not distinguish key on the key pad Date: Tue, 17 May 2011 10:34:01 -0700 Message-Id: <93A6F1F6-C459-48BB-B9FB-956653A09D51@pacbell.net> To: 8680@debbugs.gnu.org Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) X-Spam-Score: -4.6 (----) X-Debbugs-Envelope-To: 8680 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.9 (---) In addition to the clear/NumLock key not being mapped the rest of the = keypad keys do not seem to be translated as well, and hence can not be distinguished from keys on the = main keyboard. What follows is a patch that remaps the keypad keys. at least on a aluminum apple = keyboard, to the appropriate X11 virtual key codes. Note the Clear/NumLock key is hardcoded to = XK_Clear. There should probably be a way to make it possible to configure it so that it translates to = XK_Num_Lock. diff --git a/src/nsterm.m b/src/nsterm.m index 91f0cbb..322c9d9 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -87,6 +87,7 @@ static unsigned convert_ns_to_X_keysym[] =3D NSBeginFunctionKey, 0x58, NSSelectFunctionKey, 0x60, NSPrintFunctionKey, 0x61, + NSClearLineFunctionKey, 0x0B, NSExecuteFunctionKey, 0x62, NSInsertFunctionKey, 0x63, NSUndoFunctionKey, 0x65, @@ -131,7 +132,24 @@ static unsigned convert_ns_to_X_keysym[] =3D NSNewlineCharacter, 0x0D, NSEnterCharacter, 0x8D, =20 - 0x1B, 0x1B /* escape */ + 0x1B, 0x1B, /* escape */ + + 0x41, 0xAE, /* KP_Decimal */ + 0x43, 0xAA, /* KP_Multiply */ + 0x45, 0xAB, /* KP_Add */ + 0x4B, 0xAF, /* KP_Divide */ + 0x4E, 0xAD, /* KP_Subtract */ + 0x51, 0xBD, /* KP_Equal */ + 0x52, 0xB0, /* KP_0 */ + 0x53, 0xB1, /* KP_1 */ + 0x54, 0xB2, /* KP_2 */ + 0x55, 0xB3, /* KP_3 */ + 0x56, 0xB4, /* KP_4 */ + 0x57, 0xB5, /* KP_5 */ + 0x58, 0xB6, /* KP_6 */ + 0x59, 0xB7, /* KP_7 */ + 0x5B, 0xB8, /* KP_8 */ + 0x5C, 0xB9 /* KP_9 */ }; =20 =20 @@ -4503,10 +4521,10 @@ ns_term_shutdown (int sig) Mouse_HLInfo *hlinfo =3D MOUSE_HL_INFO (emacsframe); int code; unsigned fnKeysym =3D 0; - int flags; static NSMutableArray *nsEvArray; static BOOL firstTime =3D YES; int left_is_none; + unsigned int flags =3D [theEvent modifierFlags]; =20 NSTRACE (keyDown); =20 @@ -4550,9 +4568,13 @@ ns_term_shutdown (int sig) code =3D ([[theEvent charactersIgnoringModifiers] length] =3D=3D = 0) ? 0 : [[theEvent charactersIgnoringModifiers] characterAtIndex: = 0]; /* (Carbon way: [theEvent keyCode]) */ + =20 =20 /* is it a "function key"? */ - fnKeysym =3D ns_convert_key (code); + if ( code < 0x00ff && (flags&NSNumericPadKeyMask) ) + fnKeysym =3D ns_convert_key([theEvent keyCode]); + else + fnKeysym =3D ns_convert_key (code); if (fnKeysym) { /* COUNTERHACK: map 'Delete' on upper-right main KB to = 'Backspace', @@ -4565,7 +4587,6 @@ ns_term_shutdown (int sig) =20 /* are there modifiers? */ emacs_event->modifiers =3D 0; - flags =3D [theEvent modifierFlags]; =20 if (flags & NSHelpKeyMask) emacs_event->modifiers |=3D hyper_modifier;= From debbugs-submit-bounces@debbugs.gnu.org Mon May 23 16:11:57 2011 Received: (at 8680) by debbugs.gnu.org; 23 May 2011 20:11:57 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QObTo-0002aB-Os for submit@debbugs.gnu.org; Mon, 23 May 2011 16:11:57 -0400 Received: from nm17-vm0.access.bullet.mail.sp2.yahoo.com ([98.139.44.168]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QObTm-0002Zz-Tf for 8680@debbugs.gnu.org; Mon, 23 May 2011 16:11:55 -0400 Received: from [98.139.44.107] by nm17.access.bullet.mail.sp2.yahoo.com with NNFMP; 23 May 2011 20:11:48 -0000 Received: from [98.139.44.86] by tm12.access.bullet.mail.sp2.yahoo.com with NNFMP; 23 May 2011 20:11:48 -0000 Received: from [127.0.0.1] by omp1023.access.mail.sp2.yahoo.com with NNFMP; 23 May 2011 20:11:48 -0000 X-Yahoo-Newman-Id: 626881.32110.bm@omp1023.access.mail.sp2.yahoo.com Received: (qmail 8746 invoked from network); 23 May 2011 20:11:48 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=pacbell.net; h=DKIM-Signature:Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:From:Content-Type:Subject:Date:Message-Id:To:Mime-Version:X-Mailer; b=ECr8ThDN4vI6lVYTCCpNZWn2mY3g0V/xgfVoeuRFjM9VjaHcRxtlK7oTm+lV8kyEhC5/6d9EgqgregNYYsqm1JrvrF2ZaoIeFIKKJF8Or0iYBtRVPrmsmMq70Z/g8E/ljtrw+Yai6jNVkMFI6rOvXUZDSbPO+q063Qv8Djfblmk= ; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pacbell.net; s=s1024; t=1306181508; bh=kSCesD0xXS9dfyk0HYz+qeQoRMScvMj/9RJWjPJrfOM=; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:From:Content-Type:Subject:Date:Message-Id:To:Mime-Version:X-Mailer; b=gsQ2e0EfsFs7Afqpc8ZEtYt4V18w6Mu49pX2YiA1Bjh6Gcy8AVZt0mUsus+TLkm+LpVo0cTnLWabhWYfsR9Tr3hHMcH4eil6CgF9T2/0IuZcxQwG9Lrg0buB0GDGzEEkiaKV5/Tglf0r8AOrMdrXBt7YZd9W1KbTXQvW2xw/92A= Received: from morbo.el-rayo-x.foo (tralfaz@216.101.161.154 with plain) by smtp109.sbc.mail.gq1.yahoo.com with SMTP; 23 May 2011 13:11:46 -0700 PDT X-Yahoo-SMTP: uVslrc.swBAsbr9qUoHctqw_w91g6l3qy9ZsMsYbaY4- X-YMail-OSG: 7sXFwUsVM1kX1X37KoDRkdEKZP9EvHc83SuuqMXVR825u0y 5FAT_8o43Anf4MSnu2tnrOWtQ7eB2e5X24ZqRBd2SGWdEx3lS0UXKL2.nsPr N6YP2bd27fvzUdBp3X8.DDBuZtK8XmY1ltITWXkh22DLMO9o.t9e1tpvm5B7 e0p8jV1V8E8uSonPwCmes4sJx_mjLRD10DKPRAUrsbOMapM6PskJ93fx62BK Mt5OrfhRjafsnBJLlrsjmEPxXJCyhs8g2gjrlnItagCm5Yu4MtyHXgA_pWdL PLhGogk8fuoH0CYTmG8mbjY.KcyKUXh30PIgCuYLKTSBowSmPOPIqjvfdYSk _Gi0HVqy_gfwWV6ErWF3lLTE8atN52Iq3YAsMrc5C0YfVgg-- X-Yahoo-Newman-Property: ymail-3 From: Michael Marchionna Content-Type: multipart/mixed; boundary=Apple-Mail-56--690694455 Subject: emacs 24.0 OS X keypad patch Date: Mon, 23 May 2011 13:11:43 -0700 Message-Id: <82F88237-57F3-49B4-9EBB-DE0358BDEA53@pacbell.net> To: 8680@debbugs.gnu.org Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) X-Spam-Score: -3.6 (---) X-Debbugs-Envelope-To: 8680 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.4 (---) --Apple-Mail-56--690694455 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Adding keypad keycodes to the existing translation table leads to some = keys being wrongly interpreted as keypad keys. To avoid that, this = patch uses a separate translation table exclusively for keys that = generate a NSNumericPadKeyMask. --Apple-Mail-56--690694455 Content-Disposition: attachment; filename=emacs-24-src-nsterm.m.patch Content-Type: application/octet-stream; name="emacs-24-src-nsterm.m.patch" Content-Transfer-Encoding: 7bit diff --git a/src/nsterm.m b/src/nsterm.m index 91f0cbb..d537ee3 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -87,6 +87,7 @@ static unsigned convert_ns_to_X_keysym[] = NSBeginFunctionKey, 0x58, NSSelectFunctionKey, 0x60, NSPrintFunctionKey, 0x61, + NSClearLineFunctionKey, 0x0B, NSExecuteFunctionKey, 0x62, NSInsertFunctionKey, 0x63, NSUndoFunctionKey, 0x65, @@ -134,6 +135,35 @@ static unsigned convert_ns_to_X_keysym[] = 0x1B, 0x1B /* escape */ }; +static unsigned convert_nskeypad_to_X_keysym[] = +{ + /* Arrow keys are both function and keypad keys */ + NSLeftArrowFunctionKey, 0x51, + NSUpArrowFunctionKey, 0x52, + NSRightArrowFunctionKey, 0x53, + NSDownArrowFunctionKey, 0x54, + + 0x41, 0xAE, /* KP_Decimal */ + 0x43, 0xAA, /* KP_Multiply */ + 0x45, 0xAB, /* KP_Add */ + 0x4B, 0xAF, /* KP_Divide */ + 0x4E, 0xAD, /* KP_Subtract */ + 0x51, 0xBD, /* KP_Equal */ + 0x52, 0xB0, /* KP_0 */ + 0x53, 0xB1, /* KP_1 */ + 0x54, 0xB2, /* KP_2 */ + 0x55, 0xB3, /* KP_3 */ + 0x56, 0xB4, /* KP_4 */ + 0x57, 0xB5, /* KP_5 */ + 0x58, 0xB6, /* KP_6 */ + 0x59, 0xB7, /* KP_7 */ + 0x5B, 0xB8, /* KP_8 */ + 0x5C, 0xB9, /* KP_9 */ + + // The enter key is on the keypad but modifier isnt set + NSEnterCharacter, 0x8D +}; + static Lisp_Object Qmodifier_value; Lisp_Object Qalt, Qcontrol, Qhyper, Qmeta, Qsuper, Qnone; @@ -1924,13 +1954,33 @@ ns_convert_key (unsigned code) unsigned keysym; /* An array would be faster, but less easy to read. */ for (keysym = 0; keysym < last_keysym; keysym += 2) - if (code == convert_ns_to_X_keysym[keysym]) - return 0xFF00 | convert_ns_to_X_keysym[keysym+1]; + + if (code == convert_ns_to_X_keysym[keysym]) { + return 0xFF00 | convert_ns_to_X_keysym[keysym+1]; + } return 0; /* if decide to use keyCode and Carbon table, use this line: return code > 0xff ? 0 : 0xFF00 | ns_keycode_to_xkeysym_table[code]; */ } +static unsigned +ns_convert_keypad (unsigned code) +/* -------------------------------------------------------------------------- + Internal call used by NSView-keyDown. + -------------------------------------------------------------------------- */ +{ + const unsigned last_keysym = (sizeof (convert_nskeypad_to_X_keysym) + / sizeof (convert_nskeypad_to_X_keysym[0])); + unsigned keysym; + /* An array would be faster, but less easy to read. */ + for (keysym = 0; keysym < last_keysym; keysym += 2) { + if (code == convert_nskeypad_to_X_keysym[keysym]) { + return 0xFF00 | convert_nskeypad_to_X_keysym[keysym+1]; + } + } + return 0; +} + char * x_get_keysym_name (int keysym) @@ -4503,10 +4553,10 @@ ns_term_shutdown (int sig) Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (emacsframe); int code; unsigned fnKeysym = 0; - int flags; static NSMutableArray *nsEvArray; static BOOL firstTime = YES; int left_is_none; + unsigned int flags = [theEvent modifierFlags]; NSTRACE (keyDown); @@ -4550,9 +4600,13 @@ ns_term_shutdown (int sig) code = ([[theEvent charactersIgnoringModifiers] length] == 0) ? 0 : [[theEvent charactersIgnoringModifiers] characterAtIndex: 0]; /* (Carbon way: [theEvent keyCode]) */ + /* is it a "function key"? */ - fnKeysym = ns_convert_key (code); + if (code < 0x00ff && (flags & NSNumericPadKeyMask) ) + fnKeysym = ns_convert_keypad([theEvent keyCode]); + else + fnKeysym = ns_convert_key(code); if (fnKeysym) { /* COUNTERHACK: map 'Delete' on upper-right main KB to 'Backspace', @@ -4565,7 +4619,6 @@ ns_term_shutdown (int sig) /* are there modifiers? */ emacs_event->modifiers = 0; - flags = [theEvent modifierFlags]; if (flags & NSHelpKeyMask) emacs_event->modifiers |= hyper_modifier; --Apple-Mail-56--690694455-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 04 13:43:12 2011 Received: (at 8680) by debbugs.gnu.org; 4 Jul 2011 17:43:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QdnAt-0008DA-MX for submit@debbugs.gnu.org; Mon, 04 Jul 2011 13:43:12 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QdnAr-0008Cv-2E; Mon, 04 Jul 2011 13:43:10 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAH/7EU5FxIxr/2dsb2JhbABTp3t4iHrAfYY2BJ5chCw X-IronPort-AV: E=Sophos;i="4.65,474,1304308800"; d="scan'208";a="120399100" Received: from 69-196-140-107.dsl.teksavvy.com (HELO pastel.home) ([69.196.140.107]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 04 Jul 2011 13:42:58 -0400 Received: by pastel.home (Postfix, from userid 20848) id 0324259173; Mon, 4 Jul 2011 13:42:57 -0400 (EDT) From: Stefan Monnier To: 8680@debbugs.gnu.org Subject: Re: bug#8680: emacs 24.0 OS X keypad patch Message-ID: References: <625A3C9C-ACF2-42A0-B4E8-8ABDDA060131@pacbell.net> <82F88237-57F3-49B4-9EBB-DE0358BDEA53@pacbell.net> Date: Mon, 04 Jul 2011 13:42:57 -0400 In-Reply-To: <82F88237-57F3-49B4-9EBB-DE0358BDEA53@pacbell.net> (Michael Marchionna's message of "Mon, 23 May 2011 13:11:43 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 8680 Cc: Adrian Robert X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) reassign 8680 emacs,ns tags 8680 +patch thanks Could someone familiar with the MacOSX code take a look at this bug report? Stefan >>>>> "Michael" == Michael Marchionna writes: > Adding keypad keycodes to the existing translation table leads to some keys > being wrongly interpreted as keypad keys. To avoid that, this patch > uses a separate translation table exclusively for keys that > generate a NSNumericPadKeyMask. > diff --git a/src/nsterm.m b/src/nsterm.m > index 91f0cbb..d537ee3 100644 > --- a/src/nsterm.m > +++ b/src/nsterm.m > @@ -87,6 +87,7 @@ static unsigned convert_ns_to_X_keysym[] = > NSBeginFunctionKey, 0x58, > NSSelectFunctionKey, 0x60, > NSPrintFunctionKey, 0x61, > + NSClearLineFunctionKey, 0x0B, > NSExecuteFunctionKey, 0x62, > NSInsertFunctionKey, 0x63, > NSUndoFunctionKey, 0x65, > @@ -134,6 +135,35 @@ static unsigned convert_ns_to_X_keysym[] = > 0x1B, 0x1B /* escape */ > }; > +static unsigned convert_nskeypad_to_X_keysym[] = > +{ > + /* Arrow keys are both function and keypad keys */ > + NSLeftArrowFunctionKey, 0x51, > + NSUpArrowFunctionKey, 0x52, > + NSRightArrowFunctionKey, 0x53, > + NSDownArrowFunctionKey, 0x54, > + > + 0x41, 0xAE, /* KP_Decimal */ > + 0x43, 0xAA, /* KP_Multiply */ > + 0x45, 0xAB, /* KP_Add */ > + 0x4B, 0xAF, /* KP_Divide */ > + 0x4E, 0xAD, /* KP_Subtract */ > + 0x51, 0xBD, /* KP_Equal */ > + 0x52, 0xB0, /* KP_0 */ > + 0x53, 0xB1, /* KP_1 */ > + 0x54, 0xB2, /* KP_2 */ > + 0x55, 0xB3, /* KP_3 */ > + 0x56, 0xB4, /* KP_4 */ > + 0x57, 0xB5, /* KP_5 */ > + 0x58, 0xB6, /* KP_6 */ > + 0x59, 0xB7, /* KP_7 */ > + 0x5B, 0xB8, /* KP_8 */ > + 0x5C, 0xB9, /* KP_9 */ > + > + // The enter key is on the keypad but modifier isnt set > + NSEnterCharacter, 0x8D > +}; > + > static Lisp_Object Qmodifier_value; > Lisp_Object Qalt, Qcontrol, Qhyper, Qmeta, Qsuper, Qnone; > @@ -1924,13 +1954,33 @@ ns_convert_key (unsigned code) > unsigned keysym; > /* An array would be faster, but less easy to read. */ > for (keysym = 0; keysym < last_keysym; keysym += 2) > - if (code == convert_ns_to_X_keysym[keysym]) > - return 0xFF00 | convert_ns_to_X_keysym[keysym+1]; > + > + if (code == convert_ns_to_X_keysym[keysym]) { > + return 0xFF00 | convert_ns_to_X_keysym[keysym+1]; > + } > return 0; > /* if decide to use keyCode and Carbon table, use this line: > return code > 0xff ? 0 : 0xFF00 | ns_keycode_to_xkeysym_table[code]; */ > } > +static unsigned > +ns_convert_keypad (unsigned code) > +/* -------------------------------------------------------------------------- > + Internal call used by NSView-keyDown. > + -------------------------------------------------------------------------- */ > +{ > + const unsigned last_keysym = (sizeof (convert_nskeypad_to_X_keysym) > + / sizeof (convert_nskeypad_to_X_keysym[0])); > + unsigned keysym; > + /* An array would be faster, but less easy to read. */ > + for (keysym = 0; keysym < last_keysym; keysym += 2) { > + if (code == convert_nskeypad_to_X_keysym[keysym]) { > + return 0xFF00 | convert_nskeypad_to_X_keysym[keysym+1]; > + } > + } > + return 0; > +} > + > char * > x_get_keysym_name (int keysym) > @@ -4503,10 +4553,10 @@ ns_term_shutdown (int sig) > Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (emacsframe); > int code; > unsigned fnKeysym = 0; > - int flags; > static NSMutableArray *nsEvArray; > static BOOL firstTime = YES; > int left_is_none; > + unsigned int flags = [theEvent modifierFlags]; > NSTRACE (keyDown); > @@ -4550,9 +4600,13 @@ ns_term_shutdown (int sig) > code = ([[theEvent charactersIgnoringModifiers] length] == 0) ? > 0 : [[theEvent charactersIgnoringModifiers] characterAtIndex: 0]; > /* (Carbon way: [theEvent keyCode]) */ > + > /* is it a "function key"? */ > - fnKeysym = ns_convert_key (code); > + if (code < 0x00ff && (flags & NSNumericPadKeyMask) ) > + fnKeysym = ns_convert_keypad([theEvent keyCode]); > + else > + fnKeysym = ns_convert_key(code); > if (fnKeysym) > { > /* COUNTERHACK: map 'Delete' on upper-right main KB to 'Backspace', > @@ -4565,7 +4619,6 @@ ns_term_shutdown (int sig) > /* are there modifiers? */ emacs_event-> modifiers = 0; > - flags = [theEvent modifierFlags]; > if (flags & NSHelpKeyMask) emacs_event-> modifiers |= hyper_modifier; From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 23:04:29 2011 Received: (at 8680) by debbugs.gnu.org; 7 Jul 2011 03:04:29 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QeetB-0005v2-41 for submit@debbugs.gnu.org; Wed, 06 Jul 2011 23:04:29 -0400 Received: from mail-vw0-f44.google.com ([209.85.212.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qeet8-0005up-WA for 8680@debbugs.gnu.org; Wed, 06 Jul 2011 23:04:28 -0400 Received: by vws12 with SMTP id 12so446310vws.3 for <8680@debbugs.gnu.org>; Wed, 06 Jul 2011 20:04:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=l7EhujfpXMr9DLrZmiFZ6OlS1tXmgBweegMtHsTHhg8=; b=DJ9JNvodtEhrML9CQkVKZG4hfnd5tF9mDljgpEuXtwLoIDOyaxzwFnLfNfB0I5Jiq2 vvr8jOl+f83jEN/HAS9EQ9bmbXGlyR/CAicge5740mgu8NNemIhuCvjZsF4ekCTVjda8 vTnx3VOkff2F84nBvZJqWNqxHj+ViiBL3DOY0= Received: by 10.52.98.97 with SMTP id eh1mr443146vdb.7.1310007861310; Wed, 06 Jul 2011 20:04:21 -0700 (PDT) Received: from [10.0.1.2] (216.sub-75-250-163.myvzw.com [75.250.163.216]) by mx.google.com with ESMTPS id c9sm3147793vdv.40.2011.07.06.20.04.17 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 06 Jul 2011 20:04:19 -0700 (PDT) Subject: Re: bug#8680: emacs 24.0 OS X keypad patch Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Adrian Robert In-Reply-To: Date: Wed, 6 Jul 2011 23:04:15 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <625A3C9C-ACF2-42A0-B4E8-8ABDDA060131@pacbell.net> <82F88237-57F3-49B4-9EBB-DE0358BDEA53@pacbell.net> To: Stefan Monnier X-Mailer: Apple Mail (2.1084) X-Spam-Score: -3.6 (---) X-Debbugs-Envelope-To: 8680 Cc: 8680@debbugs.gnu.org, tralfaz@pacbell.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.6 (---) The code looks reasonable, but could the author explain why [theEvent = keyCode] needs to be used in the keypad conversion instead of code? The = code would be more understandable if ns_convert_kaypad() and = ns_convert_key() used the same argument. Also this patch should be = tested for correct behavior wrt this issue: = http://www.cocoabuilder.com/archive/cocoa/73306-workaround-for-broken-numl= ock-support.html#73306 thanks, Adrian On 2011/07/04, at 13:42, Stefan Monnier wrote: > reassign 8680 emacs,ns > tags 8680 +patch > thanks >=20 > Could someone familiar with the MacOSX code take a look at this > bug report? >=20 >=20 > Stefan >=20 >=20 >>>>>> "Michael" =3D=3D Michael Marchionna writes: >=20 >> Adding keypad keycodes to the existing translation table leads to = some keys >> being wrongly interpreted as keypad keys. To avoid that, this patch >> uses a separate translation table exclusively for keys that >> generate a NSNumericPadKeyMask. >=20 >=20 >> diff --git a/src/nsterm.m b/src/nsterm.m >> index 91f0cbb..d537ee3 100644 >> --- a/src/nsterm.m >> +++ b/src/nsterm.m >> @@ -87,6 +87,7 @@ static unsigned convert_ns_to_X_keysym[] =3D >> NSBeginFunctionKey, 0x58, >> NSSelectFunctionKey, 0x60, >> NSPrintFunctionKey, 0x61, >> + NSClearLineFunctionKey, 0x0B, >> NSExecuteFunctionKey, 0x62, >> NSInsertFunctionKey, 0x63, >> NSUndoFunctionKey, 0x65, >> @@ -134,6 +135,35 @@ static unsigned convert_ns_to_X_keysym[] =3D >> 0x1B, 0x1B /* escape */ >> }; >=20 >> +static unsigned convert_nskeypad_to_X_keysym[] =3D >> +{ >> + /* Arrow keys are both function and keypad keys */ >> + NSLeftArrowFunctionKey, 0x51, >> + NSUpArrowFunctionKey, 0x52, >> + NSRightArrowFunctionKey, 0x53, >> + NSDownArrowFunctionKey, 0x54, >> + >> + 0x41, 0xAE, /* KP_Decimal */ >> + 0x43, 0xAA, /* KP_Multiply */ >> + 0x45, 0xAB, /* KP_Add */ >> + 0x4B, 0xAF, /* KP_Divide */ >> + 0x4E, 0xAD, /* KP_Subtract */ >> + 0x51, 0xBD, /* KP_Equal */ >> + 0x52, 0xB0, /* KP_0 */ >> + 0x53, 0xB1, /* KP_1 */ >> + 0x54, 0xB2, /* KP_2 */ >> + 0x55, 0xB3, /* KP_3 */ >> + 0x56, 0xB4, /* KP_4 */ >> + 0x57, 0xB5, /* KP_5 */ >> + 0x58, 0xB6, /* KP_6 */ >> + 0x59, 0xB7, /* KP_7 */ >> + 0x5B, 0xB8, /* KP_8 */ >> + 0x5C, 0xB9, /* KP_9 */ >> + >> + // The enter key is on the keypad but modifier isnt set >> + NSEnterCharacter, 0x8D >> +}; >> + >=20 >> static Lisp_Object Qmodifier_value; >> Lisp_Object Qalt, Qcontrol, Qhyper, Qmeta, Qsuper, Qnone; >> @@ -1924,13 +1954,33 @@ ns_convert_key (unsigned code) >> unsigned keysym; >> /* An array would be faster, but less easy to read. */ >> for (keysym =3D 0; keysym < last_keysym; keysym +=3D 2) >> - if (code =3D=3D convert_ns_to_X_keysym[keysym]) >> - return 0xFF00 | convert_ns_to_X_keysym[keysym+1]; >> + =20 >> + if (code =3D=3D convert_ns_to_X_keysym[keysym]) { >> + return 0xFF00 | convert_ns_to_X_keysym[keysym+1]; >> + } >> return 0; >> /* if decide to use keyCode and Carbon table, use this line: >> return code > 0xff ? 0 : 0xFF00 | = ns_keycode_to_xkeysym_table[code]; */ >> } >=20 >> +static unsigned >> +ns_convert_keypad (unsigned code) >> +/* = --------------------------------------------------------------------------= >> + Internal call used by NSView-keyDown. >> + = --------------------------------------------------------------------------= */ >> +{ >> + const unsigned last_keysym =3D (sizeof = (convert_nskeypad_to_X_keysym) >> + / sizeof = (convert_nskeypad_to_X_keysym[0])); >> + unsigned keysym; >> + /* An array would be faster, but less easy to read. */ >> + for (keysym =3D 0; keysym < last_keysym; keysym +=3D 2) { >> + if (code =3D=3D convert_nskeypad_to_X_keysym[keysym]) { >> + return 0xFF00 | convert_nskeypad_to_X_keysym[keysym+1]; >> + } >> + } >> + return 0; >> +} >> + >=20 >> char * >> x_get_keysym_name (int keysym) >> @@ -4503,10 +4553,10 @@ ns_term_shutdown (int sig) >> Mouse_HLInfo *hlinfo =3D MOUSE_HL_INFO (emacsframe); >> int code; >> unsigned fnKeysym =3D 0; >> - int flags; >> static NSMutableArray *nsEvArray; >> static BOOL firstTime =3D YES; >> int left_is_none; >> + unsigned int flags =3D [theEvent modifierFlags]; >=20 >> NSTRACE (keyDown); >=20 >> @@ -4550,9 +4600,13 @@ ns_term_shutdown (int sig) >> code =3D ([[theEvent charactersIgnoringModifiers] length] =3D=3D = 0) ? >> 0 : [[theEvent charactersIgnoringModifiers] characterAtIndex: = 0]; >> /* (Carbon way: [theEvent keyCode]) */ >> + =20 >=20 >> /* is it a "function key"? */ >> - fnKeysym =3D ns_convert_key (code); >> + if (code < 0x00ff && (flags & NSNumericPadKeyMask) ) >> + fnKeysym =3D ns_convert_keypad([theEvent keyCode]); >> + else >> + fnKeysym =3D ns_convert_key(code); >> if (fnKeysym) >> { >> /* COUNTERHACK: map 'Delete' on upper-right main KB to = 'Backspace', >> @@ -4565,7 +4619,6 @@ ns_term_shutdown (int sig) >=20 >> /* are there modifiers? */ > emacs_event-> modifiers =3D 0; >> - flags =3D [theEvent modifierFlags]; >=20 >> if (flags & NSHelpKeyMask) > emacs_event-> modifiers |=3D hyper_modifier; From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 07 10:55:44 2011 Received: (at 8680) by debbugs.gnu.org; 7 Jul 2011 14:55:44 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QepzU-00072I-4K for submit@debbugs.gnu.org; Thu, 07 Jul 2011 10:55:44 -0400 Received: from nm1-vm0.access.bullet.mail.mud.yahoo.com ([66.94.236.27]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QepzR-000725-Hc for 8680@debbugs.gnu.org; Thu, 07 Jul 2011 10:55:42 -0400 Received: from [66.94.237.194] by nm1.access.bullet.mail.mud.yahoo.com with NNFMP; 07 Jul 2011 14:55:35 -0000 Received: from [66.94.237.102] by tm5.access.bullet.mail.mud.yahoo.com with NNFMP; 07 Jul 2011 14:55:35 -0000 Received: from [127.0.0.1] by omp1007.access.mail.mud.yahoo.com with NNFMP; 07 Jul 2011 14:55:35 -0000 X-Yahoo-Newman-Id: 699888.88667.bm@omp1007.access.mail.mud.yahoo.com Received: (qmail 84598 invoked from network); 7 Jul 2011 14:55:35 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=pacbell.net; h=DKIM-Signature:Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Subject:Mime-Version:Content-Type:From:In-Reply-To:Date:Cc:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer; b=HtDPdGXn8on9jwZsHcve2lkEiGmUmWdOklTeeALaHKagbTsN/avYKM4ngsHMwYlBAauihSH4yd/ggqZKDIv86/Oji1eeVDKsAnjTMUEdrmraCys+cIFxRj9Z+KdVEw5mA+pF/BP+owrl4aaG3ZTqQ7dp2u6u7+6WGsCnZevCHwk= ; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pacbell.net; s=s1024; t=1310050535; bh=X/iNLSBZua7/Yh6WaaOHoCpnCo9AUSDmxDXljzcNQyA=; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Subject:Mime-Version:Content-Type:From:In-Reply-To:Date:Cc:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer; b=SOycCorq+4MUgV+8h3gcRxgCE1hHUpSgKhqnjAYmi5A3KYfWRtkRANT4MrhKekEa5rL8/M6VKqNxPgYcN86v1EYzZIu0bZhiEYGnXBze7h+rig1E59WD0IGBvjFeLDkMPIHFhsl6DbJ49HbduGMlbQfXdK4Fn087/lAQS6ix5qw= Received: from morbo.el-rayo-x.foo (tralfaz@216.101.161.154 with plain) by smtp109.sbc.mail.bf1.yahoo.com with SMTP; 07 Jul 2011 07:55:34 -0700 PDT X-Yahoo-SMTP: uVslrc.swBAsbr9qUoHctqw_w91g6l3qy9ZsMsYbaY4- X-YMail-OSG: zqPFjrwVM1kKrH_efzxzI8hnwBOn6eU7MeeOWOO7gIQFI_z LKvA.V6v8euowTO7bWGA2ySMMFeEAdsEOOEfEa_Cmp3EjnoKR1M_sIRj6KQC P8ZJAuqCEips9YNUG5xI8IWLnsauLYSvykDR_V96SwTT8AK9TD1Fm_5i_YsP LSdxCjLUcSYhEcO21elLp4TC_xyMm_05HziHCHtb1DnvftTziU6QMfAtf4qf mo49WwMGGPxW9Jzhyn_Lb_SvEBOvXzcm7s12k4APpDSXI6so_Alp5q1h7xdY ILXPSqM0REGCZjkRRCynjJsJ9iCHn52ngZQOZOvz5LhqsaATL3MqZUFpo5k9 wMewWQ6Q8N.ILNq55iwxrrbGsdzHJ6pesjf8NiyHVQfi4CXJ7ZsmVZw.O9vC tUWRGcoX.oUdQNv63pq5_rYf9Mf5G9GNeoDnoxQqVWz7WXOKwflvKbv8rKBk VsuG0T6DR56p3lFVsu.My2WxyEpTe06cff_OhYpoRzc.Z24V0_PdEsdntJQU 4NSeKoSb7k0o- X-Yahoo-Newman-Property: ymail-3 Subject: Re: bug#8680: emacs 24.0 OS X keypad patch Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Michael Marchionna In-Reply-To: Date: Thu, 7 Jul 2011 07:55:32 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <5B72ABEF-9A02-4663-A109-A115BF88081C@pacbell.net> References: <625A3C9C-ACF2-42A0-B4E8-8ABDDA060131@pacbell.net> <82F88237-57F3-49B4-9EBB-DE0358BDEA53@pacbell.net> To: Adrian Robert X-Mailer: Apple Mail (2.1084) X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 8680 Cc: 8680@debbugs.gnu.org, Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) The reason for split between non-keypad keys and keypad keys, was that = the code generated by the following code produced coincident values that = produced non-unique results. code =3D ([[theEvent charactersIgnoringModifiers] length] =3D=3D = 0) ? 0 : [[theEvent charactersIgnoringModifiers] characterAtIndex: = 0]; Using the first character of key event would not distinguish a "=3D" on = the main keyboard from a "=3D" on the keypad. Using the [theEvent = keyCode] in the older ns_convert_key function would mean verifying and = possibly altering all the translation values in the older table. It may be the case that this change does not properly toggle between = numeric keypad, and movement keypad, but on newer mac keyboards the = num-lock key is actually a "Clear" key, and Num-Lock behavior is = synthesized. Not sure what the best solution for making the "Clear" key = behave like a physical Num-Lock key is, but this change does allow key = event from the keypad to at least be mapped to something. Michael Marchionna On Jul 6, 2011, at 8:04 PM, Adrian Robert wrote: > The code looks reasonable, but could the author explain why [theEvent = keyCode] needs to be used in the keypad conversion instead of code? The = code would be more understandable if ns_convert_kaypad() and = ns_convert_key() used the same argument. Also this patch should be = tested for correct behavior wrt this issue: >=20 > = http://www.cocoabuilder.com/archive/cocoa/73306-workaround-for-broken-numl= ock-support.html#73306 >=20 >=20 > thanks, > Adrian >=20 >=20 > On 2011/07/04, at 13:42, Stefan Monnier wrote: >=20 >> reassign 8680 emacs,ns >> tags 8680 +patch >> thanks >>=20 >> Could someone familiar with the MacOSX code take a look at this >> bug report? >>=20 >>=20 >> Stefan >>=20 >>=20 >>>>>>> "Michael" =3D=3D Michael Marchionna = writes: >>=20 >>> Adding keypad keycodes to the existing translation table leads to = some keys >>> being wrongly interpreted as keypad keys. To avoid that, this patch >>> uses a separate translation table exclusively for keys that >>> generate a NSNumericPadKeyMask. >>=20 >>=20 >>> diff --git a/src/nsterm.m b/src/nsterm.m >>> index 91f0cbb..d537ee3 100644 >>> --- a/src/nsterm.m >>> +++ b/src/nsterm.m >>> @@ -87,6 +87,7 @@ static unsigned convert_ns_to_X_keysym[] =3D >>> NSBeginFunctionKey, 0x58, >>> NSSelectFunctionKey, 0x60, >>> NSPrintFunctionKey, 0x61, >>> + NSClearLineFunctionKey, 0x0B, >>> NSExecuteFunctionKey, 0x62, >>> NSInsertFunctionKey, 0x63, >>> NSUndoFunctionKey, 0x65, >>> @@ -134,6 +135,35 @@ static unsigned convert_ns_to_X_keysym[] =3D >>> 0x1B, 0x1B /* escape */ >>> }; >>=20 >>> +static unsigned convert_nskeypad_to_X_keysym[] =3D >>> +{ >>> + /* Arrow keys are both function and keypad keys */ >>> + NSLeftArrowFunctionKey, 0x51, >>> + NSUpArrowFunctionKey, 0x52, >>> + NSRightArrowFunctionKey, 0x53, >>> + NSDownArrowFunctionKey, 0x54, >>> + >>> + 0x41, 0xAE, /* KP_Decimal */ >>> + 0x43, 0xAA, /* KP_Multiply */ >>> + 0x45, 0xAB, /* KP_Add */ >>> + 0x4B, 0xAF, /* KP_Divide */ >>> + 0x4E, 0xAD, /* KP_Subtract */ >>> + 0x51, 0xBD, /* KP_Equal */ >>> + 0x52, 0xB0, /* KP_0 */ >>> + 0x53, 0xB1, /* KP_1 */ >>> + 0x54, 0xB2, /* KP_2 */ >>> + 0x55, 0xB3, /* KP_3 */ >>> + 0x56, 0xB4, /* KP_4 */ >>> + 0x57, 0xB5, /* KP_5 */ >>> + 0x58, 0xB6, /* KP_6 */ >>> + 0x59, 0xB7, /* KP_7 */ >>> + 0x5B, 0xB8, /* KP_8 */ >>> + 0x5C, 0xB9, /* KP_9 */ >>> + >>> + // The enter key is on the keypad but modifier isnt set >>> + NSEnterCharacter, 0x8D >>> +}; >>> + >>=20 >>> static Lisp_Object Qmodifier_value; >>> Lisp_Object Qalt, Qcontrol, Qhyper, Qmeta, Qsuper, Qnone; >>> @@ -1924,13 +1954,33 @@ ns_convert_key (unsigned code) >>> unsigned keysym; >>> /* An array would be faster, but less easy to read. */ >>> for (keysym =3D 0; keysym < last_keysym; keysym +=3D 2) >>> - if (code =3D=3D convert_ns_to_X_keysym[keysym]) >>> - return 0xFF00 | convert_ns_to_X_keysym[keysym+1]; >>> + =20 >>> + if (code =3D=3D convert_ns_to_X_keysym[keysym]) { >>> + return 0xFF00 | convert_ns_to_X_keysym[keysym+1]; >>> + } >>> return 0; >>> /* if decide to use keyCode and Carbon table, use this line: >>> return code > 0xff ? 0 : 0xFF00 | = ns_keycode_to_xkeysym_table[code]; */ >>> } >>=20 >>> +static unsigned >>> +ns_convert_keypad (unsigned code) >>> +/* = --------------------------------------------------------------------------= >>> + Internal call used by NSView-keyDown. >>> + = --------------------------------------------------------------------------= */ >>> +{ >>> + const unsigned last_keysym =3D (sizeof = (convert_nskeypad_to_X_keysym) >>> + / sizeof = (convert_nskeypad_to_X_keysym[0])); >>> + unsigned keysym; >>> + /* An array would be faster, but less easy to read. */ >>> + for (keysym =3D 0; keysym < last_keysym; keysym +=3D 2) { >>> + if (code =3D=3D convert_nskeypad_to_X_keysym[keysym]) { >>> + return 0xFF00 | convert_nskeypad_to_X_keysym[keysym+1]; >>> + } >>> + } >>> + return 0; >>> +} >>> + >>=20 >>> char * >>> x_get_keysym_name (int keysym) >>> @@ -4503,10 +4553,10 @@ ns_term_shutdown (int sig) >>> Mouse_HLInfo *hlinfo =3D MOUSE_HL_INFO (emacsframe); >>> int code; >>> unsigned fnKeysym =3D 0; >>> - int flags; >>> static NSMutableArray *nsEvArray; >>> static BOOL firstTime =3D YES; >>> int left_is_none; >>> + unsigned int flags =3D [theEvent modifierFlags]; >>=20 >>> NSTRACE (keyDown); >>=20 >>> @@ -4550,9 +4600,13 @@ ns_term_shutdown (int sig) >>> code =3D ([[theEvent charactersIgnoringModifiers] length] =3D=3D = 0) ? >>> 0 : [[theEvent charactersIgnoringModifiers] characterAtIndex: = 0]; >>> /* (Carbon way: [theEvent keyCode]) */ >>> + =20 >>=20 >>> /* is it a "function key"? */ >>> - fnKeysym =3D ns_convert_key (code); >>> + if (code < 0x00ff && (flags & NSNumericPadKeyMask) ) >>> + fnKeysym =3D ns_convert_keypad([theEvent keyCode]); >>> + else >>> + fnKeysym =3D ns_convert_key(code); >>> if (fnKeysym) >>> { >>> /* COUNTERHACK: map 'Delete' on upper-right main KB to = 'Backspace', >>> @@ -4565,7 +4619,6 @@ ns_term_shutdown (int sig) >>=20 >>> /* are there modifiers? */ >> emacs_event-> modifiers =3D 0; >>> - flags =3D [theEvent modifierFlags]; >>=20 >>> if (flags & NSHelpKeyMask) >> emacs_event-> modifiers |=3D hyper_modifier; >=20 From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 08 22:52:56 2011 Received: (at control) by debbugs.gnu.org; 9 Jul 2011 02:52:56 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QfNf5-0006vh-6A for submit@debbugs.gnu.org; Fri, 08 Jul 2011 22:52:55 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QfNf2-0006vR-SV for control@debbugs.gnu.org; Fri, 08 Jul 2011 22:52:53 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgYHAD7BF05MCqt8/2dsb2JhbABTmFyOcXiIdMAAhjgEnweELw X-IronPort-AV: E=Sophos;i="4.65,502,1304308800"; d="scan'208";a="123910394" Received: from 76-10-171-124.dsl.teksavvy.com (HELO ceviche.home) ([76.10.171.124]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 08 Jul 2011 22:52:46 -0400 Received: by ceviche.home (Postfix, from userid 20848) id B683E660D5; Fri, 8 Jul 2011 22:52:46 -0400 (EDT) From: Stefan Monnier To: control@debbugs.gnu.org Subject: Re: bug#8651: `raise' properties on NextStep Message-ID: References: Date: Fri, 08 Jul 2011 22:52:46 -0400 In-Reply-To: (Alp Aker's message of "Wed, 22 Jun 2011 14:21:24 -0400 (EDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) severity 8651 important severity 8863 important severity 8680 important tags 8680 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 03 23:37:49 2012 Received: (at 8680) by debbugs.gnu.org; 4 Nov 2012 03:37:49 +0000 Received: from localhost ([127.0.0.1]:47891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TUr1x-0006aD-FL for submit@debbugs.gnu.org; Sat, 03 Nov 2012 23:37:49 -0400 Received: from mail-pa0-f44.google.com ([209.85.220.44]:47161) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TUr1v-0006a6-0J for 8680@debbugs.gnu.org; Sat, 03 Nov 2012 23:37:48 -0400 Received: by mail-pa0-f44.google.com with SMTP id fb11so3216730pad.3 for <8680@debbugs.gnu.org>; Sat, 03 Nov 2012 20:34:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=6gRQb3j8RPrx6pAdZQT9FjKGafFJgTgOVKSzxJTej+A=; b=PHfg5WXreMjY4hP2JYWe3RQ7kNkniRwGBJTgi0nxrXRmN9W96i1QBPu6nE9T1uStZ2 lNm7qHSA7MyWgsrmQDXjwjaDO9aqpjVxUDVqY3wqrNR+uSlnaXB4UyLesAQVljPzhnOD MfE62509Pr/+481E4jjK5Fk318MdnGWqrvCbavHNjvjYiHF79NeUoi9HHrxcfxcAuLIz gTKdx+E10rPL3QA22aKAniNo2Ui3J9xfmXCo/iMRvYlWjyKDHOV8mcuXzNpN+x5WqtWf MBodMsXoCA/FKiy2h1v8lWuqoxg7Lhkle8iZpjVpqCPEbs/mJjjW0FfUqJXW5cHr8GQM TW/Q== Received: by 10.68.216.2 with SMTP id om2mr19177931pbc.88.1352000088934; Sat, 03 Nov 2012 20:34:48 -0700 (PDT) Received: from ulysses (cm198.gamma83.maxonline.com.sg. [202.156.83.198]) by mx.google.com with ESMTPS id m8sm8303913pax.38.2012.11.03.20.34.46 (version=SSLv3 cipher=OTHER); Sat, 03 Nov 2012 20:34:47 -0700 (PDT) From: Chong Yidong To: Michael Marchionna Subject: Re: bug#8680: nsterm.m does not distinguish key on the key pad References: <625A3C9C-ACF2-42A0-B4E8-8ABDDA060131@pacbell.net> <93A6F1F6-C459-48BB-B9FB-956653A09D51@pacbell.net> Date: Sun, 04 Nov 2012 11:34:44 +0800 In-Reply-To: <93A6F1F6-C459-48BB-B9FB-956653A09D51@pacbell.net> (Michael Marchionna's message of "Tue, 17 May 2011 10:34:01 -0700") Message-ID: <87ip9mniqz.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 8680 Cc: 8680@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) Michael Marchionna writes: > In addition to the clear/NumLock key not being mapped the rest of the > keypad keys do not seem to be translated as well, and hence can not be > distinguished from keys on the main keyboard. What follows is a patch > that remaps the keypad keys. at least on a aluminum apple keyboard, to > the appropriate X11 virtual key codes. Note the Clear/NumLock key is > hardcoded to XK_Clear. There should probably be a way to make it > possible to configure it so that it translates to XK_Num_Lock. I've committed your patch to the trunk. Sorry for the long delay. From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 03 23:38:38 2012 Received: (at control) by debbugs.gnu.org; 4 Nov 2012 03:38:38 +0000 Received: from localhost ([127.0.0.1]:47895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TUr2j-0006ba-Pp for submit@debbugs.gnu.org; Sat, 03 Nov 2012 23:38:38 -0400 Received: from mail-pb0-f44.google.com ([209.85.160.44]:62972) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TUr2h-0006bS-Ay for control@debbugs.gnu.org; Sat, 03 Nov 2012 23:38:36 -0400 Received: by mail-pb0-f44.google.com with SMTP id ro8so3213329pbb.3 for ; Sat, 03 Nov 2012 20:35:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:mime-version:content-type; bh=jEaKVh/lYpdey+lINI9oLvcWyHYKk6opb9E2tZSV9CM=; b=RJzTY7sTBssKVMcyRbgEVri4kfmh/mf11Ox+3w2PI8XsjKEQMZJuf6JodYNk4J8T3L WXkE6lkpfk38qd65lODYM2EHBhNo69KVTPTQQM974U+Z61V/AqT0MJpF0AlTYDL3YjUR DxOA61KVcXuaBprKpn3cRiqNkH6YigkjVdr7M/sGzvhtYoymULDgiob942de4RYWw8JB sRmJAqHFOfBhVd1F/NF4X19xBwBGMOAM3j2S72al/V+VeTKQKT4cKL+JI8ZsiK+GCy51 Iy9bRyj5LxLcFuWB0/xfRDLaQN1p9xfde6dCoz69SaGb+m6XtxunKYfyxHJItFRU7p3P SfPQ== Received: by 10.68.193.163 with SMTP id hp3mr19422093pbc.21.1352000137270; Sat, 03 Nov 2012 20:35:37 -0700 (PDT) Received: from ulysses (cm198.gamma83.maxonline.com.sg. [202.156.83.198]) by mx.google.com with ESMTPS id a10sm8306197paz.35.2012.11.03.20.35.34 (version=SSLv3 cipher=OTHER); Sat, 03 Nov 2012 20:35:36 -0700 (PDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 8680 Date: Sun, 04 Nov 2012 11:35:32 +0800 Message-ID: <87fw4qnipn.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.1 (/) close 8680 thanks From unknown Mon Jun 23 07:48:04 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 02 Dec 2012 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 10 17:12:36 2013 Received: (at control) by debbugs.gnu.org; 10 Dec 2013 22:12:36 +0000 Received: from localhost ([127.0.0.1]:42343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqVXg-0003AZ-7U for submit@debbugs.gnu.org; Tue, 10 Dec 2013 17:12:36 -0500 Received: from mail-we0-f179.google.com ([74.125.82.179]:55937) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqVXe-0003AQ-5t for control@debbugs.gnu.org; Tue, 10 Dec 2013 17:12:34 -0500 Received: by mail-we0-f179.google.com with SMTP id q59so5711395wes.10 for ; Tue, 10 Dec 2013 14:12:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=jG749Yhda+9Z/k78dJqKqWJLEq8PlHYI/yU0aMCE/38=; b=YTd+j61fGVDpmk7StcXIH6oI/J5YwB5apx1Ensy1FNWVNfwzXKs8xFO8+ehA+jw8wc /ZvOIJILqZJrTUs4uKZ/SJ6l5AfwnWzjr2jm9Dx3GyRxGAs0G7dZKgyxMP3oQYrFa7LG Ho2JQ+rYkBqMmkyerOrcRFknxP8ufikxLLtV+vHw/gmiAZiNjUEL06aIk2V3Y2uF1kFB T7Z4wQo/r0y52OcopHPtvTxnLccqWc9DMI4rtk7TM4xChRVaNVAIigHzgPStSlcdrUqq 9eMqAHDOBrzD/5grpYV8dZsjoqk9GnPjRq3OTJIjFxQ1fjIx9qY3q+AwB4UToQpYKccZ N9hQ== X-Received: by 10.180.105.199 with SMTP id go7mr21282231wib.53.1386713553232; Tue, 10 Dec 2013 14:12:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.124.200 with HTTP; Tue, 10 Dec 2013 14:12:13 -0800 (PST) From: Andrew Stein Date: Tue, 10 Dec 2013 16:12:13 -0600 Message-ID: Subject: unarchive 8680 To: control@debbugs.gnu.org Content-Type: multipart/alternative; boundary=f46d04182592beeb2404ed35689c X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.4 (/) --f46d04182592beeb2404ed35689c Content-Type: text/plain; charset=ISO-8859-1 unarchive 8680 --f46d04182592beeb2404ed35689c Content-Type: text/html; charset=ISO-8859-1
unarchive 8680
--f46d04182592beeb2404ed35689c-- From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 10 17:14:23 2013 Received: (at 8680) by debbugs.gnu.org; 10 Dec 2013 22:14:23 +0000 Received: from localhost ([127.0.0.1]:42352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqVZO-0003E7-4W for submit@debbugs.gnu.org; Tue, 10 Dec 2013 17:14:22 -0500 Received: from mail-we0-f173.google.com ([74.125.82.173]:53574) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqVZL-0003Dy-P9 for 8680@debbugs.gnu.org; Tue, 10 Dec 2013 17:14:20 -0500 Received: by mail-we0-f173.google.com with SMTP id u57so5760804wes.32 for <8680@debbugs.gnu.org>; Tue, 10 Dec 2013 14:14:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=G+4mKxWmXb5OBMhBDjsb+gRz2drVabJaToleAMe1Gds=; b=RfyRzsoMVY3THBYBFcd3xl5YJAoH9qlm42rzbbvpC0g5oxvGVA+xUskCw7Om5LLCwq iWFZkxHoRt5NYRrOr1jjJ97EydPEw0QXr/qkcQDJOuVurTIAy87agstcdogn9LcSE52f n9FgXdQ80pG/QuD3+uyLbSdLoFhdankiFRU1F8rSNzdnTKaYjVNDW+5fjYyMKLByKUd4 6Vi5egc8mM9mQwc50QmF0YZOnVv8vcPvAovbGVwxwujVY4qlxdvi478+uUg1fJfBwcQ0 9aiK3/qrXO0HsAtlomhtkMVhb+GfD1IxcC9saSwoJjfubhGZ/Z797GnVNut+fC1uS1iS BJ6Q== X-Received: by 10.194.21.225 with SMTP id y1mr13873244wje.60.1386713659100; Tue, 10 Dec 2013 14:14:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.124.200 with HTTP; Tue, 10 Dec 2013 14:13:58 -0800 (PST) From: Andrew Stein Date: Tue, 10 Dec 2013 16:13:58 -0600 Message-ID: Subject: Bug #8680 To: 8680 <8680@debbugs.gnu.org> Content-Type: multipart/alternative; boundary=047d7b5d98ab0e565604ed356fdd X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 8680 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.4 (/) --047d7b5d98ab0e565604ed356fdd Content-Type: text/plain; charset=ISO-8859-1 I am inquiring about gnu emacs bug #8680. I apologize if I am not using the correct channels. According to the bug report at http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8680 you closed this bug in November 2012 by fixing it by committing the patch to trunk. (Actually there are two patches.) My problem is that I cannot see the effect of this fix in the version of emacs that I am using, namely 24.3.1 from http://emacsformacosx.com/, built in March of 2013. Also when I browse the source at http://git.savannah.gnu.org/cgit/emacs.git/tree/src/nsterm.m?h=emacs-24 I cannot see either patch. Perhaps I am using a wrong version of emacs. If not, could you verify that the patches made it into emacs 24. BTW, there is more info out in Stack Overflow: http://stackoverflow.com/questions/5739974/binding-numeric-keypad-keys-with-emacs-24-and-os-x Andrew Stein --047d7b5d98ab0e565604ed356fdd Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I am inquiring about gnu emacs bug #8680. I apologize if I am not using th= e correct channels.

Accord= ing to the bug report at=A0http://debbugs.gnu.org/cgi/bugreport.cgi?= bug=3D8680=A0you closed this bug in November 2012 by fixing it by commi= tting the patch to trunk. (Actually there are two patches.)

My problem is that I c= annot see the effect of this fix in the version of emacs that I am using, n= amely=A024.3.1 from=A0http://emacsformacosx.com/, built in March of 2013. Also when I bro= wse the source at=A0http://git.savannah.gnu.or= g/cgit/emacs.git/tree/src/nsterm.m?h=3Demacs-24=A0I cannot see either p= atch.

Perhaps I am using a w= rong version of emacs. If not, could you verify that the patches made it in= to emacs 24.


A= ndrew Stein
--047d7b5d98ab0e565604ed356fdd-- From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 10 17:40:32 2013 Received: (at 8680) by debbugs.gnu.org; 10 Dec 2013 22:40:32 +0000 Received: from localhost ([127.0.0.1]:42380 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqVyh-00050S-8Z for submit@debbugs.gnu.org; Tue, 10 Dec 2013 17:40:31 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:37965) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqVyf-00050I-BC for 8680@debbugs.gnu.org; Tue, 10 Dec 2013 17:40:30 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1VqVye-0008Au-IM; Tue, 10 Dec 2013 17:40:28 -0500 From: Glenn Morris To: Andrew Stein Subject: Re: Bug#8680 References: <625A3C9C-ACF2-42A0-B4E8-8ABDDA060131@pacbell.net> X-Spook: Operation Iraqi Freedom John Kerry ammunition diwn X-Ran: n)5?]xI9rpnv7F{G7~L^*AJ#|F}:&$Lmy/-PEiK/a6qu2xC@Ud=x'RPz6q`~aP`C@x=?Ut X-Hue: yellow X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 10 Dec 2013 17:40:28 -0500 In-Reply-To: (Andrew Stein's message of "Tue, 10 Dec 2013 16:13:58 -0600") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.2 (-----) X-Debbugs-Envelope-To: 8680 Cc: 8680@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.2 (-----) The patch is in the Emacs trunk, not the emacs-24 branch, which means it will first appear in Emacs 24.4 when it comes out. It was not in 24.3. (I've previously encourage people to include the fixed version when they close bugs, but many still do not.) From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 10 17:40:48 2013 Received: (at control) by debbugs.gnu.org; 10 Dec 2013 22:40:49 +0000 Received: from localhost ([127.0.0.1]:42383 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqVyy-000511-4R for submit@debbugs.gnu.org; Tue, 10 Dec 2013 17:40:48 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:37966) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqVyw-00050t-Fh for control@debbugs.gnu.org; Tue, 10 Dec 2013 17:40:46 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1VqVyw-0008Fi-36 for control@debbugs.gnu.org; Tue, 10 Dec 2013 17:40:46 -0500 Date: Tue, 10 Dec 2013 17:40:46 -0500 Message-Id: Subject: control message for bug 8680 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.2 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.2 (-----) fixed 8680 24.4 From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 10 17:41:27 2013 Received: (at control) by debbugs.gnu.org; 10 Dec 2013 22:41:27 +0000 Received: from localhost ([127.0.0.1]:42388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqVza-00052d-W1 for submit@debbugs.gnu.org; Tue, 10 Dec 2013 17:41:27 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:37980) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqVzZ-00052U-Aw for control@debbugs.gnu.org; Tue, 10 Dec 2013 17:41:25 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1VqVzZ-0008RF-4i for control@debbugs.gnu.org; Tue, 10 Dec 2013 17:41:25 -0500 Date: Tue, 10 Dec 2013 17:41:25 -0500 Message-Id: Subject: control message for bug 8680 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.2 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.2 (-----) found 8680 24.3 From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 10 17:54:27 2013 Received: (at 8680) by debbugs.gnu.org; 10 Dec 2013 22:54:27 +0000 Received: from localhost ([127.0.0.1]:42412 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqWCA-0006V5-Ll for submit@debbugs.gnu.org; Tue, 10 Dec 2013 17:54:26 -0500 Received: from mail-wg0-f46.google.com ([74.125.82.46]:45874) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqWC8-0006Ux-Gp for 8680@debbugs.gnu.org; Tue, 10 Dec 2013 17:54:25 -0500 Received: by mail-wg0-f46.google.com with SMTP id m15so5538411wgh.1 for <8680@debbugs.gnu.org>; Tue, 10 Dec 2013 14:54:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=1+GBR9yfIqFP/NHayKlKpUTv+KvD9P2ono/pCO1nXxE=; b=k8GtVBNLS1+dpeTeH0wdIkvfpPwp9g64KML9a2gMvdm0yGChmBlV/ko0yHwBUkvK2a ysbVZ/1nhMnzViPSOkunxzge1Z4YkJX1Jl6tCrjEUIw0E2puDcop2oDf7KnIxCh7ET1e JmoRZxvvTbWOY3wqDFpCydwerJ9ZglR1bqJSoFtwwc3srqDjxHc595Rfd3G/f5QAS9ad 1/vFvHMPvqKHXHl9lqxlVPH4U7iUeQleeq/MmYoZ4TFfPD7pNud7ZplU1IFgE0epky1i JvhSUX6IztRi69JhdgxskgGGjF8enwPRWsGNl32zURJZFGy786SDFUeO0pBch5J7Y2PH JUMA== X-Received: by 10.180.187.72 with SMTP id fq8mr21452112wic.26.1386716063678; Tue, 10 Dec 2013 14:54:23 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.124.200 with HTTP; Tue, 10 Dec 2013 14:54:03 -0800 (PST) In-Reply-To: References: <625A3C9C-ACF2-42A0-B4E8-8ABDDA060131@pacbell.net> From: Andrew Stein Date: Tue, 10 Dec 2013 16:54:03 -0600 Message-ID: Subject: Re: Bug#8680 To: Glenn Morris Content-Type: multipart/alternative; boundary=001a11c2679c6146a704ed35fe43 X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 8680 Cc: 8680@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.4 (/) --001a11c2679c6146a704ed35fe43 Content-Type: text/plain; charset=ISO-8859-1 Hi Glenn, Thank you very much for the quick reply. I guess I will wait for the release of emacs 24.4. When can we expect the happy event? Andrew Stein On Tue, Dec 10, 2013 at 4:40 PM, Glenn Morris wrote: > > The patch is in the Emacs trunk, not the emacs-24 branch, which means it > will first appear in Emacs 24.4 when it comes out. It was not in 24.3. > > (I've previously encourage people to include the fixed version when they > close bugs, but many still do not.) > --001a11c2679c6146a704ed35fe43 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi Glenn,

Thank you very much for the q= uick reply. I guess I will wait for the release of emacs 24.4. When can we = expect the happy event?

Andrew Stein


On Tue, Dec 10, 20= 13 at 4:40 PM, Glenn Morris <rgm@gnu.org> wrote:

The patch is in the Emacs trunk, not the emacs-24 branch, which means it will first appear in Emacs 24.4 when it comes out. It was not in 24.3.

(I've previously encourage people to include the fixed version when the= y
close bugs, but many still do not.)

--001a11c2679c6146a704ed35fe43-- From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 10 23:53:34 2013 Received: (at 8680) by debbugs.gnu.org; 11 Dec 2013 04:53:34 +0000 Received: from localhost ([127.0.0.1]:42613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vqbni-0007Gc-3s for submit@debbugs.gnu.org; Tue, 10 Dec 2013 23:53:34 -0500 Received: from chene.dit.umontreal.ca ([132.204.246.20]:59761) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vqbng-0007GU-Dm for 8680@debbugs.gnu.org; Tue, 10 Dec 2013 23:53:32 -0500 Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id rBB4rSo1004512; Tue, 10 Dec 2013 23:53:30 -0500 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id D4DB0AE321; Tue, 10 Dec 2013 23:53:28 -0500 (EST) From: Stefan Monnier To: Andrew Stein Subject: Re: bug#8680: Message-ID: References: <625A3C9C-ACF2-42A0-B4E8-8ABDDA060131@pacbell.net> Date: Tue, 10 Dec 2013 23:53:28 -0500 In-Reply-To: (Andrew Stein's message of "Tue, 10 Dec 2013 16:54:03 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.2 X-NAI-Spam-Rules: 2 Rules triggered GEN_SPAM_FEATRE=0.2, RV4788=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4788> : inlines <301> : streams <1088872> : uri <1620561> X-Spam-Score: -1.5 (-) X-Debbugs-Envelope-To: 8680 Cc: 8680@debbugs.gnu.org, Glenn Morris X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.5 (-) > Thank you very much for the quick reply. I guess I will wait for the > release of emacs 24.4. When can we expect the happy event? Hopefully before Xmas 2014. Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 11 19:48:54 2013 Received: (at 8680) by debbugs.gnu.org; 12 Dec 2013 00:48:54 +0000 Received: from localhost ([127.0.0.1]:44481 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VquST-0007e4-Sc for submit@debbugs.gnu.org; Wed, 11 Dec 2013 19:48:54 -0500 Received: from mail-pb0-f49.google.com ([209.85.160.49]:50960) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VquSR-0007du-2R for 8680@debbugs.gnu.org; Wed, 11 Dec 2013 19:48:51 -0500 Received: by mail-pb0-f49.google.com with SMTP id jt11so10876814pbb.8 for <8680@debbugs.gnu.org>; Wed, 11 Dec 2013 16:48:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=S36p1JeENJBKMZaGk3OdjHjLyaKkCoikVbsOgZ90NQ4=; b=cF3+ydm1tzPDN6ydYXfkKVv5eAXaHwG1Xtf8arIZS2HF8WtyyWCDB39Pn9dJ7MCFlq c6ddDQRYsu/y/tHz9cLloGtsnRAG2grYwqT9gyMLIpta5tvU4WWGGLVtDL6VJ44RaE6q DfDnjYvgzJU572rJexz+ZOoQf1kyCWgfSdqrHOlte8158pkTqa4OkLBkHoFyeJRtSyLE zfl/wg20aUsn5bipW0K+ZHPB4E386PQXikn4+YJJEBDIuK4cAp6vvuoAcYRvBWE05ccJ 2TlLwuTpEgzhId69U/6BuoF246mAmwmdOorcdWE6nXrS8tjHu70v4o+oNAs1GtdqCNVc eEUQ== X-Received: by 10.68.228.138 with SMTP id si10mr6430299pbc.13.1386809330123; Wed, 11 Dec 2013 16:48:50 -0800 (PST) Received: from localhost ([123.119.86.232]) by mx.google.com with ESMTPSA id sx8sm42409084pab.5.2013.12.11.16.48.45 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Dec 2013 16:48:49 -0800 (PST) From: Leo Liu To: Stefan Monnier Subject: Re: bug#8680: References: <625A3C9C-ACF2-42A0-B4E8-8ABDDA060131@pacbell.net> Face: iVBORw0KGgoAAAANSUhEUgAAACkAAAApAQAAAACAGz1bAAABKElEQVQYlWNg3NIt5FDPUPt7 4+X79Qyucz5/ugik+L2PBgKpyphaIK921q23QDnG0NBQoMr/vaWl9f8ZLL78uPv5PwN7RETfzXoG jhmFz27XM0RXmpuY/WfY+fv0Mc56BvFybfXA/wwL5t/wF61n2PU59axXPcOVzbmSW/8zrNt1benC /ww70hqUU/4zKCtrT9jwn8FhwynbufUMendE2aLqGRpdX9al1zM8eh17lKeeQcTMrdD5P8P3j/YT Q/8zXHSb7p1Qz/C4OM2JuZ7hgtI7K6AjqsMnf8j4z8C6xG1tw3+GqpqvsVn/GTzmpD9j/8/wP/oZ S/l/Bka+QO/g/wy15ueeFQL9N1O8mPU/g+umV3t1gdT0/1bTgHLqYVeXAlWKpMWt+w8Az82C9nHf X0cAAAAASUVORK5CYII= Date: Thu, 12 Dec 2013 08:48:40 +0800 In-Reply-To: (Stefan Monnier's message of "Tue, 10 Dec 2013 23:53:28 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (OS X 10.9) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 8680 Cc: 8680@debbugs.gnu.org, Andrew Stein X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 2013-12-11 12:53 +0800, Stefan Monnier wrote: > Hopefully before Xmas 2014. > > > Stefan How time flies! I wonder if in future we could go a lighter-weight release process i.e. every 3 months. I have been using emacs 24.3 most of the time and it took me some time to absorb all the nice features in 24.4. I think the features that we put efforts to develop would be better received if delivered gradually. Leo From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 13 16:58:39 2013 Received: (at 8680) by debbugs.gnu.org; 13 Dec 2013 21:58:39 +0000 Received: from localhost ([127.0.0.1]:48912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vrako-00010x-NW for submit@debbugs.gnu.org; Fri, 13 Dec 2013 16:58:38 -0500 Received: from ps18281.dreamhost.com ([69.163.218.105]:36683 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vrakl-00010h-65 for 8680@debbugs.gnu.org; Fri, 13 Dec 2013 16:58:36 -0500 Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 30652258B9E936; Fri, 13 Dec 2013 13:58:32 -0800 (PST) From: Juri Linkov To: Leo Liu Subject: Re: bug#8680: releases Organization: JURTA References: <625A3C9C-ACF2-42A0-B4E8-8ABDDA060131@pacbell.net> Date: Fri, 13 Dec 2013 23:50:07 +0200 In-Reply-To: (Leo Liu's message of "Thu, 12 Dec 2013 08:48:40 +0800") Message-ID: <87ob4k3lny.fsf_-_@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 8680 Cc: 8680@debbugs.gnu.org, Andrew Stein , Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > I wonder if in future we could go a lighter-weight release process i.e. > every 3 months. Want to catch up on the version numbers with Chrome and Firefox? :-) From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 18 22:00:24 2013 Received: (at 8680) by debbugs.gnu.org; 19 Dec 2013 03:00:24 +0000 Received: from localhost ([127.0.0.1]:58030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VtTqY-00018y-K1 for submit@debbugs.gnu.org; Wed, 18 Dec 2013 22:00:23 -0500 Received: from mail-pb0-f48.google.com ([209.85.160.48]:48688) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VtTqT-00018k-7r for 8680@debbugs.gnu.org; Wed, 18 Dec 2013 22:00:17 -0500 Received: by mail-pb0-f48.google.com with SMTP id md12so524124pbc.21 for <8680@debbugs.gnu.org>; Wed, 18 Dec 2013 19:00:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=uvZSKUpM83n7bR36x+W0oPJMA08ZLpEDKokh6ZS8b44=; b=lACyA0FwQNMebm7YSIOaKX5YfFK47Xi+eiKGD2iqFzwxkQCLHeUEaPngJg+zQmwn7F QkkojG3YO1wBCexHfxCaAYtXIDdyouqXkzZZpuPK1QPcvxuE/a+Dvqa3lZry+wwPKOqB SJgXO1cSjat70LusqpMFd4aAZhhjYyDNcDCZE7QJyIBybUaslinEJTME4Gek657/XuC7 PqySO4fNJTPSAICvpYWLlLhGfOO7I5VWYrlwVb7syFuK9xsYFHGIH77vMOGuysBkJ9Et f7+oIeBYqHRhRjru6HZ0DI8zH9zHXizyMg8RI7iUoJrs2IzGlE/VKvc03OYRiO7lCJNs UJNQ== X-Received: by 10.66.192.74 with SMTP id he10mr38079120pac.126.1387422016319; Wed, 18 Dec 2013 19:00:16 -0800 (PST) Received: from localhost ([123.115.245.152]) by mx.google.com with ESMTPSA id pe3sm3345371pbc.23.2013.12.18.19.00.14 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Dec 2013 19:00:15 -0800 (PST) From: Leo Liu To: Juri Linkov Subject: Re: bug#8680: releases References: <625A3C9C-ACF2-42A0-B4E8-8ABDDA060131@pacbell.net> <87ob4k3lny.fsf_-_@mail.jurta.org> Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAElBMVEUAAAAAAP+LRRP0pGC+ vr7///+7mT1iAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9cBBwMO DhglKe4AAAEsSURBVCjPbZNBboQwDEV/Cd4X9QJRThApmn0XYW+Jyf2v0m+HhqDBgiAe9rcTG7QH w/1Vn2Ar8gBb/ocywSN3qK9T3z4eFDB4eApocBpeBs1RSykoJd8gQcm8pGmHXFso3ajnmsqV0TnY DQkOfXUfN5NwaI7AWTVOyEhcu1aHmdWItHddUVUcUgUBCkitu8V6ditHVOVdqzl2EQ1ZVGTbdK0V 7cqn8vWzoU5Q/bF9Y/Y0cRU1xwkys5dJ+Dt6pBDWifcNQml8Gh2JVmPSoQzo7en0grswkxrUGYJ7 0hSxxAGr7ZMwYcHIzprpi7TENEE1xtiYxixRlCfPBsUUrwHD7uGIwATrbnODJcVrPpVn3hxiGloe m/S+z3CtuzUSMo83N4DPH+F0evwR3P4A2k+75838OKQAAAAASUVORK5CYII= Date: Thu, 19 Dec 2013 11:00:10 +0800 In-Reply-To: <87ob4k3lny.fsf_-_@mail.jurta.org> (Juri Linkov's message of "Fri, 13 Dec 2013 23:50:07 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (OS X 10.9.1) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 8680 Cc: 8680@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 2013-12-14 05:50 +0800, Juri Linkov wrote: > Want to catch up on the version numbers with Chrome and Firefox? :-) I mean point releases so we can't catch them. For example, have two or three point releases which isn't too many. Leo From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 19 08:43:53 2013 Received: (at 8680) by debbugs.gnu.org; 19 Dec 2013 13:43:53 +0000 Received: from localhost ([127.0.0.1]:58347 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VtdtI-0006Hd-5k for submit@debbugs.gnu.org; Thu, 19 Dec 2013 08:43:53 -0500 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:56796) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VtdtF-0006HS-TA for 8680@debbugs.gnu.org; Thu, 19 Dec 2013 08:43:50 -0500 Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.DIT.UMontreal.CA (8.14.1/8.14.1) with ESMTP id rBJDhlfo028160; Thu, 19 Dec 2013 08:43:48 -0500 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 9EBD8AE6B6; Thu, 19 Dec 2013 08:43:48 -0500 (EST) From: Stefan Monnier To: Leo Liu Subject: Re: bug#8680: releases Message-ID: References: <625A3C9C-ACF2-42A0-B4E8-8ABDDA060131@pacbell.net> <87ob4k3lny.fsf_-_@mail.jurta.org> Date: Thu, 19 Dec 2013 08:43:48 -0500 In-Reply-To: (Leo Liu's message of "Thu, 19 Dec 2013 11:00:10 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4797=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4797> : inlines <336> : streams <1093430> : uri <1629184> X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 8680 Cc: Juri Linkov , 8680@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.9 (-) I'm all in favor of more frequent release cycles. Currently we run at about one-release per year, which isn't that bad. I wanted to bring this up to 2 releases per year, but noone had the energy to take care of the release management (basically, the amount of effort involved in a pretest did not seem worthwhile compared to the incremental improvement in features). BTW: since we're about to freeze and start a new pretest phase, we're looking for a volunteer to take care of rolling the pretests. Also, we'd welcome some help to update the manuals (most urgently, to integrate all the changes mentioned in NEWS into the manuals). Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 19 12:12:59 2013 Received: (at 8680) by debbugs.gnu.org; 19 Dec 2013 17:13:00 +0000 Received: from localhost ([127.0.0.1]:58845 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vth9f-0004H0-JM for submit@debbugs.gnu.org; Thu, 19 Dec 2013 12:12:59 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:33038) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vth9e-0004Gt-0f for 8680@debbugs.gnu.org; Thu, 19 Dec 2013 12:12:58 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Vth9c-0000um-89; Thu, 19 Dec 2013 12:12:56 -0500 From: Glenn Morris To: Stefan Monnier Subject: Re: bug#8680: releases References: <625A3C9C-ACF2-42A0-B4E8-8ABDDA060131@pacbell.net> <87ob4k3lny.fsf_-_@mail.jurta.org> X-Spook: genetic Taiwan SDI John Kerry Compsec Etacs Iran X-Ran: Ke}b\1d._\sS_5I}l$,CBY:?U<8@^sW{X/eM'/m;KmFYc,B_(^At3iRE[`C&hB:&o0pZ*& X-Hue: cyan X-Debbugs-No-Ack: yes X-Attribution: GM Date: Thu, 19 Dec 2013 12:12:54 -0500 In-Reply-To: (Stefan Monnier's message of "Thu, 19 Dec 2013 08:43:48 -0500") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: 8680 Cc: 8680@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.5 (-----) (A 2 year-old archived bug about Mac keyboards isn't the best place for this discussion, but I'm not going to bother to move it.) Stefan Monnier wrote: > I wanted to bring this up to 2 releases per year, but noone had the > energy to take care of the release management That's not how I recall it. IIRC, you wanted to freeze 24.4 ~ six weeks after 24.3 was released. This would have left very little time for people who had been concentrating on the release to develop any new features. > BTW: since we're about to freeze and start a new pretest phase, we're > looking for a volunteer to take care of rolling the pretests. Oh, are you? I would have been happy to do it again. But I see Chong Yidong is back (yay!), so if he wants to do it; or if someone else wants to have a go, it's fine by me. > Also, we'd welcome some help to update the manuals (most urgently, to > integrate all the changes mentioned in NEWS into the manuals). That, of course, is the hard part. Traditionally this large burden has fallen on a tiny number of people. If suddenly lots of people are going to start doing this, of course you can crank out more frequent releases. From unknown Mon Jun 23 07:48:04 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 17 Jan 2014 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator