From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mitchell Model Newsgroups: gmane.emacs.bugs Subject: bug#8313: 23.3; MacBook Pro kp- keys don't work in Cocoa build Date: Mon, 21 Mar 2011 19:27:12 -0400 Message-ID: <091C20C9-8DA5-4EE2-AD1A-6D2809344E99@acm.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1300750793 22069 80.91.229.12 (21 Mar 2011 23:39:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 21 Mar 2011 23:39:53 +0000 (UTC) To: 8313@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 22 00:39:46 2011 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.69) (envelope-from ) id 1Q1ohN-0001gr-6S for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Mar 2011 00:39:45 +0100 Original-Received: from localhost ([127.0.0.1]:56431 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q1ohM-00027k-Jv for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Mar 2011 19:39:44 -0400 Original-Received: from [140.186.70.92] (port=55602 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q1oeq-0003uP-Du for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2011 19:37:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q1oem-0007RQ-EO for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2011 19:37:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41722) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q1oem-0007RM-AQ for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2011 19:37:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Q1oX0-0005IR-IQ; Mon, 21 Mar 2011 19:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mitchell Model Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Mar 2011 23:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8313 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.130075011820324 (code B ref -1); Mon, 21 Mar 2011 23:29:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Mar 2011 23:28:38 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q1oWY-0005Hh-1v for submit@debbugs.gnu.org; Mon, 21 Mar 2011 19:28:38 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q1oVv-0005GM-QU for submit@debbugs.gnu.org; Mon, 21 Mar 2011 19:27:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q1oVm-0005zc-KB for submit@debbugs.gnu.org; Mon, 21 Mar 2011 19:27:50 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:37351) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q1oVe-0005xL-G4 for submit@debbugs.gnu.org; Mon, 21 Mar 2011 19:27:46 -0400 Original-Received: from [140.186.70.92] (port=44286 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q1oVX-0005to-Oj for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2011 19:27:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q1oVS-0005wJ-3c for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2011 19:27:30 -0400 Original-Received: from vms173011pub.verizon.net ([206.46.173.11]:36825) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q1oVR-0005w2-RG for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2011 19:27:26 -0400 Original-Received: from [192.168.1.222] ([unknown] [108.7.35.154]) by vms173011.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LIF006EIL5C9028@vms173011.mailsrvcs.net> for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2011 18:27:13 -0500 (CDT) X-Mailer: Apple Mail (2.1082) X-detected-operating-system: by eggs.gnu.org: Solaris 10 (1203?) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Mon, 21 Mar 2011 19:28:33 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 21 Mar 2011 19:29:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-Mailman-Approved-At: Mon, 21 Mar 2011 19:39:39 -0400 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: , 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:45239 Archived-At: On a MacBook Pro there doesn't appear to be any way to get Cocoa Emacs 23 (23.2 or 23.3) from http://emacsformacosx.com/ to see Function-character as a kp-othercharacter event for those keys that have Function alternates to emulate a keypad. The characters Emacs sees are in fact the correct Function key variation of the characters -- e.g., Function-p is a * -- but they are not kp- versions of the events. Thus, there is no way to bind, for example, kp-0 to anything. As a workaround I have told Emacs to treat Function as hyper, which I never use otherwise, and repeated all my kp- bindings (of which I have many) as hyper equivalents. Carbon Emacs 22 did see Function-character as kp- named keys. In GNU Emacs 23.3.1 (i686-apple-darwin, NS apple-appkit-1038.35) of 2011-03-09 on black.porkrind.org Windowing system distributor `Apple', version 10.3.1038 configured using `configure '--host=3Di686-apple-darwin' = '--build=3Di686-apple-darwin' '--with-ns' = 'build_alias=3Di686-apple-darwin' 'host_alias=3Di686-apple-darwin' = 'CC=3Di686-apple-darwin10-gcc-4.2.1 -mmacosx-version-min=3D10.5'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default enable-multibyte-characters: t Major mode: Custom Minor modes in effect: partial-completion-mode: t desktop-save-mode: t recentf-mode: t shell-dirtrack-mode: t iswitchb-mode: t delete-selection-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: M-< C-s t t . C-u C-n C-u C-n C-n C-n C-n C-n C-n C-n=20 C-n C-n C-n C-n C-n M-< C-s f o n t C-s C-s C-s C-s=20 C-s C-s - f a m i l y C-s C-a C-\ f o n t - f a m i=20 l y SPC * . c s s C-x o C-x C-f=20 L l i b =20 C-s c s s C-a C-x o M-< b C-z C-x C-f d C-x=20 C-r C-g C-x C-r d e f C-x 1 C-v C-v=20 C-v C-x b p y M-< SPC C-z C-x b C-s=20 d e s c n a m e C-s C-a M-< C-v C-v C-v C-v C-v C-v=20 C-v C-v C-x b d e f C-x b d e f a u l t .=20 c C-x 1 C-s d e s c n a m e C-s C-a C-s d=20 e s c C-s C-a C-x C-g C-g C-x b b a=20 s i c M-< C-s C-s C-a C-s d e s c c l a s=20 s n a m e C-s C-a M-< C-s t t SPC C-s C-s M-< C-s SPC=20 t t C-s C-s C-s C-s C-s C-s C-s C-s M-< C-g=20 C-g C-g =20 n s - =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 C-h c H-+=20 x r e p o r t - e m a c s - b u g Recent messages: Creating group magic... Creating group state... Creating group... done Creating customization items ...done Resetting customization items...done Creating customization setup...done Unable to load color "dark blue" To install your edits, invoke [State] and choose the Set operation Saving file /Volumes/Users/mlm/home/dotfiles/.emacs.customizations... Wrote /Volumes/Users/mlm/home/dotfiles/.emacs.customizations H-+ is undefined Load-path shadows: /Users/mlm/home/emacs/xutil hides /Users/mlm/home/local/emacs/xutil /Users/mlm/home/external/emacs/remember hides = /Volumes/App/Editors/Emaxen/Emacs/Emacs.app/Contents/Resources/lisp/textmo= des/remember /Users/mlm/home/emacs/python hides = /Volumes/App/Editors/Emaxen/Emacs/Emacs.app/Contents/Resources/lisp/progmo= des/python /Users/mlm/home/external/emacs/timeclock hides = /Volumes/App/Editors/Emaxen/Emacs/Emacs.app/Contents/Resources/lisp/calend= ar/timeclock Features: (shadow sort mail-extr message ecomplete rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader mm-util mail-prsvr gmm-utils mailheader canlock sha1 hex-util hashcash mail-utils warnings emacsbug ps-print ps-def lpr hippie-exp css-mode macros edmacro kmacro image-mode mule-util ebuff-menu emacs-wiki-macros emacs-wiki-colors emacs-wiki-project emacs-wiki-publish emacs-wiki-menu emacs-wiki-regexps emacs-wiki pcomplete nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok add-log help-mode view cus-edit debug sh-script executable etags info eldoc ansi-color browse-url server complete completion cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs tidy multi-isearch traverselisp derived ehelp electric hideshow vc-hg tramp-imap assoc tramp-gw tramp-fish tramp-smb tramp-cache tramp-ftp tramp-cmds tramp auth-source gnus-util netrc time-date password-cache format-spec tramp-compat trampver glasses filesets desktop recentf tree-widget wid-edit pp noutline outline easy-mmode dired-x dired-aux dired regexp-opt apropos advice help-fns advice-preload shell saveplace faces-standard-theme keypad iswitchb grep delsel cus-start cus-load symutil compile comint ring miscutil cl cl-19 util tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win easymenu tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs)