From unknown Mon Jun 23 02:22:08 2025 X-Loop: don@donarmstrong.com Subject: bug#1576: 23.0.60; Accented character input on OS X doesn't work right Reply-To: Ian Eure , 1576@debbugs.gnu.org Resent-From: Ian Eure Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 17 Dec 2008 06:30:21 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1576 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12294552886274 (code B ref -1); Wed, 17 Dec 2008 06:30:21 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 16 Dec 2008 19:21:28 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBGJLOlQ006263 for ; Tue, 16 Dec 2008 11:21:25 -0800 Received: from mail.gnu.org ([199.232.76.166]:52543 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LCfTD-0005fW-4l for emacs-pretest-bug@gnu.org; Tue, 16 Dec 2008 14:20:39 -0500 Received: from mail.digg.com ([64.191.203.36]:46797) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LCfTu-00023v-HN for emacs-pretest-bug@gnu.org; Tue, 16 Dec 2008 14:21:22 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.digg.com (Postfix) with ESMTP id 10BBFA85065 for ; Tue, 16 Dec 2008 11:21:18 -0800 (PST) X-Virus-Scanned: amavisd-new at Received: from mail.digg.com ([127.0.0.1]) by localhost (mail.digg.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m2ESaWn8SDiJ for ; Tue, 16 Dec 2008 11:21:07 -0800 (PST) Received: from [10.2.16.90] (diggstage01.digg.com [64.191.203.34]) by mail.digg.com (Postfix) with ESMTP id 5E8C0A8505E for ; Tue, 16 Dec 2008 11:21:07 -0800 (PST) Message-Id: <9EAD5C10-C868-409C-8234-1FD2F8CE7EAD@digg.com> From: Ian Eure To: emacs-pretest-bug@gnu.org Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v930.3) Date: Tue, 16 Dec 2008 11:21:07 -0800 X-Mailer: Apple Mail (2.930.3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) It seems like some modifiers are lost when using the standard OS X =20 accented keys. e.g. hitting Option+[ inserts U+201C LEFT DOUBLE QUOTATION MARK, and =20 Option+Shift+[ inserts U+201D RIGHT DOUBLE QUOTATION MARK. However, in =20= Emacs, Option+Shift+[ inserts U+007B LEFT CURLY BRACKET, as if the =20 Option modifier wasn=92t pressed. Further, the Option modifier is lost when using Meta (which I have =20 mapped to the Command key). For example, I have M-=93 bound to (insert-=20= pair): (define-key ime-bindings-map [?\M-=93] 'insert-pair) When I press Opt-M-[, I get a pair of square brackets, as if I hadn=92t =20= pressed the Option key at all. Note that I also have M-[ bound to (insert-pair): (define-key ime-bindings-map "\M-[" 'insert-pair) In GNU Emacs 23.0.60.1 (i386-apple-darwin9.5.0, NS apple-appkit-949.35) of 2008-12-15 on neutron.local Windowing system distributor `Apple', version =20 97.112.112.108.101.45.97.112.112.107.105.116.45.57.52.57.46.52.51 configured using `configure '--with-ns'' 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: Lisp Interaction Minor modes in effect: diff-auto-refine-mode: t erc-track-mode: t erc-track-minor-mode: t erc-spelling-mode: t erc-ring-mode: t erc-pcomplete-mode: t erc-netsplit-mode: t erc-autojoin-mode: t recentf-mode: t twit-mode: t yas/minor-mode: t ime-bindings: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-readonly-mode: t erc-scrolltobottom-mode: t shell-dirtrack-mode: t show-paren-mode: t iswitchb-mode: t auto-insert-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 blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: C-x b I n t C-n C-p C-n C-p C-p C-b C-b C-n C-e M-p C-g f o r e SPC $ w s h a r d s $ s e c h o SPC M-` M-` $ s - > d b SPC . SPC M-" \ n C-e ; C-x C-s M-` M-> C-c C-o M-p M-v M-` C-x b C-x b M-` M-> c d SPC m o d u l e s / D I I D D B s v n s s v n r SPC - R SPC . C-a C-j C-_ C-a C-k s v n d C-c C-p C-n C-n C-n C-n C-n C-n C-n C-n C-n C-a C-n C-n C-n C-v C-v C-v C-v C-v C-v M-v C-v C-v C-v C-v M-> s v n r SPC - R SPC . M-v M-> c d SPC . . / . . b ! b i n M-` M-` M-p C-a M-f M-f C-f C-2 C-M-j C-- C-g C-_ C-2 C-M-k C-d M-` M-` M-p M-b M-b C-M-k A l l T e s t s =91 C-g C-x C-b M-n M-n M-n d M-n d x y C-n C-p C-n C-n C-n C-n C-n C-n d d d d n d x y C-p C-n C-p C-p C-p C-p C-p C-p C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n =93 { =93 { =93 { =91 } =91 } C-a C-k C-g C-x k RET n Recent messages: Really kill 12 buffers? (y or n) Mark set Operation finished; killed 12 buffers Really kill 5 buffers? (y or n) Mark set Operation finished; killed 5 buffers Preparing tutorial ... Quit Save your position in the tutorial? (y or n) Tutorial position not saved= From rgm@gnu.org Wed Dec 17 10:42:27 2008 Received: (at control) by emacsbugs.donarmstrong.com; 17 Dec 2008 18:42:27 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.6 required=4.0 tests=FOURLA,MISSING_SUBJECT, NOSUBJECT,VALID_BTS_CONTROL,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBHIgOwK030943 for ; Wed, 17 Dec 2008 10:42:25 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LD1Ky-0000MP-R6; Wed, 17 Dec 2008 13:41:36 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18761.18400.773170.542342@fencepost.gnu.org> Date: Wed, 17 Dec 2008 13:41:36 -0500 From: Glenn Morris To: control X-Debbugs-No-Ack: yes reassign 1576 emacs,ns reassign 1578 emacs,ns reassign 1570 spam reassign 1572 spam reassign 1573 spam reassign 1577 spam reassign 1579 spam reassign 1584 spam reassign 1587 spam reassign 1588 spam reassign 1590 spam reassign 1592 spam reassign 1594 spam reassign 1595 spam reassign 1596 spam reassign 1597 spam reassign 1599 spam reassign 1600 spam reassign 1601 spam reassign 1602 spam reassign 1603 spam reassign 1604 spam reassign 1605 spam reassign 1606 spam reassign 1607 spam stop SPAM SPAM SPAM From unknown Mon Jun 23 02:22:08 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#1576: 23.0.60; Accented character input on OS X doesn't work right Reply-To: Adrian Robert , 1576@debbugs.gnu.org Resent-From: Adrian Robert Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , owner@debbugs.gnu.org Resent-Date: Mon, 19 Jan 2009 18:40:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 1576 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Received: via spool by 1576-submit@emacsbugs.donarmstrong.com id=B1576.123239010513162 (code B ref 1576); Mon, 19 Jan 2009 18:40:04 +0000 Received: (at 1576) by emacsbugs.donarmstrong.com; 19 Jan 2009 18:35:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-ew0-f10.google.com (mail-ew0-f10.google.com [209.85.219.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0JIZ1cU012965 for <1576@emacsbugs.donarmstrong.com>; Mon, 19 Jan 2009 10:35:03 -0800 Received: by ewy3 with SMTP id 3so1295490ewy.1 for <1576@emacsbugs.donarmstrong.com>; Mon, 19 Jan 2009 10:34:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:mime-version:content-type :message-id:cc:content-transfer-encoding:from:subject:date:to :x-mailer; bh=6xcYXdzDS2BE5xZv6b7tyztZorhcA7Oyzghj+5/lk0U=; b=I6kGEA+MeQ7hz8mQ02sPDsN2qFjIiLkXCwP2+98YecidBoBF/kIRMHtcwSRszrNsBW 8naz1wMfZX5JnDSuym6XnWg29jtrEFFXdWSHAZ8N2FoaZ7Am0y4dHnCImf4VePvPMyIH Y1RqLxRAPNoQRLtZ7Z6nJ5h9X7S7lWJcZetgI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:content-type:message-id:cc:content-transfer-encoding :from:subject:date:to:x-mailer; b=VDMYxvGxLc5nlH804t7AXlo24hfi9yOuSNjZM++TdtOoidjN2wPLJi1KdmWifl4TFN uhRsNeL9SXfh/yKzL175xBWTkTrGkV7pR6ajPD4AiO4amFAQAFsS7sJvelGriIgzUU9i U1zOcorL9BWZwOHQ+YHoUWFVSA1kxZRj1RE+M= Received: by 10.210.67.4 with SMTP id p4mr236892eba.193.1232390095932; Mon, 19 Jan 2009 10:34:55 -0800 (PST) Received: from ?192.168.1.101? (h018098.gprs.dnafinland.fi [87.93.18.98]) by mx.google.com with ESMTPS id 10sm347072eyz.59.2009.01.19.10.34.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 19 Jan 2009 10:34:54 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Message-Id: Cc: Ian Eure Content-Transfer-Encoding: quoted-printable From: Adrian Robert Date: Mon, 19 Jan 2009 20:33:03 +0200 To: 1576@debbugs.gnu.org X-Mailer: Apple Mail (2.753.1) > e.g. hitting Option+[ inserts U+201C LEFT DOUBLE QUOTATION MARK, and > Option+Shift+[ inserts U+201D RIGHT DOUBLE QUOTATION MARK. However, in > Emacs, Option+Shift+[ inserts U+007B LEFT CURLY BRACKET, as if the > Option modifier wasn=92t pressed. I cannot replicate this using either a Macbook Pro keyboard in US =20 layout or a PC keyboard connected via USB, same layout. What kind of =20= keyboard are you using and what is your system input method set to? =20 Could you make sure this still happens when you run emacs by: /Applications/Emacs.app/Contents/MacOS/Emacs -Q thanks From unknown Mon Jun 23 02:22:08 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#1576: 23.0.60; Accented character input on OS X doesn't work right Reply-To: Ian Eure , 1576@debbugs.gnu.org Resent-From: Ian Eure Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , owner@debbugs.gnu.org Resent-Date: Mon, 19 Jan 2009 20:25:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 1576 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Received: via spool by 1576-submit@emacsbugs.donarmstrong.com id=B1576.12323962827140 (code B ref 1576); Mon, 19 Jan 2009 20:25:03 +0000 Received: (at 1576) by emacsbugs.donarmstrong.com; 19 Jan 2009 20:18:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from asmtpout026.mac.com (asmtpout026.mac.com [17.148.16.101]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0JKHx7i007134 for <1576@emacsbugs.donarmstrong.com>; Mon, 19 Jan 2009 12:18:00 -0800 MIME-version: 1.0 Content-type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Received: from [192.168.1.100] (adsl-68-124-177-183.dsl.pltn13.pacbell.net [68.124.177.183]) by asmtp026.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0KDQ0060VJ1SJE40@asmtp026.mac.com> for 1576@emacsbugs.donarmstrong.com; Mon, 19 Jan 2009 12:17:53 -0800 (PST) Cc: 1576@debbugs.gnu.org Message-id: <34FE7AE0-EB36-460C-8A4B-D17AD9EBE293@mac.com> From: Ian Eure To: Adrian Robert In-reply-to: Content-transfer-encoding: quoted-printable X-Mailer: Apple Mail (2.930.3) Date: Mon, 19 Jan 2009 12:17:51 -0800 References: On Jan 19, 2009, at 10:33 AM, Adrian Robert wrote: >> e.g. hitting Option+[ inserts U+201C LEFT DOUBLE QUOTATION MARK, and >> Option+Shift+[ inserts U+201D RIGHT DOUBLE QUOTATION MARK. However, =20= >> in >> Emacs, Option+Shift+[ inserts U+007B LEFT CURLY BRACKET, as if the >> Option modifier wasn=92t pressed. > > > I cannot replicate this using either a Macbook Pro keyboard in US =20 > layout or a PC keyboard connected via USB, same layout. What kind =20 > of keyboard are you using and what is your system input method set =20 > to? Could you make sure this still happens when you run emacs by: > > /Applications/Emacs.app/Contents/MacOS/Emacs -Q > Okay, a few things going on here. First off, I=92m using the built-in =20= keyboard on a US MacBook Pro. I=92m using the standard US English =20 layout. The only exotic thing I=92ve done is remapped Caps Lock to be =20= Control (in System Preferences -> Keyboard & Mouse -> Keyboard -> =20 Modifier Keys). Firstly: A bunch of settings are stored in ~/Library/Preferences/=20 org.gnu.Emacs.plist. Even if I start Emacs with -Q, these settings are =20= applied. This seems wrong. The problem happens when the following two conditions are met: 1. In Emacs -> Preferences -> Modifiers, Alt key is set to "None." 2. In custom-set-variables defines: '(ns-alternate-modifier nil t) I removed the customized var, as the docs for it indicated that it =20 wasn't customizable, and things work again. - Ian= From adrian.b.robert@gmail.com Thu Jan 22 12:18:56 2009 Received: (at control) by emacsbugs.donarmstrong.com; 22 Jan 2009 20:18:56 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: ** X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=2.3 required=4.0 tests=MISSING_SUBJECT,NOSUBJECT, VALID_BTS_CONTROL autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-ew0-f10.google.com (mail-ew0-f10.google.com [209.85.219.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0MKIqSs025854 for ; Thu, 22 Jan 2009 12:18:54 -0800 Received: by ewy3 with SMTP id 3so4194236ewy.1 for ; Thu, 22 Jan 2009 12:18:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:mime-version :content-transfer-encoding:message-id:content-type:to:from:subject :date:x-mailer; bh=J3SBPGw0k9dEEBh3iCldJ/b/Ew04LVjcqj7LIzrPYGQ=; b=lBtkOe/yKEb0SsqJ+1ldV+juaecnic3QasXbi3EpwrKmW7CvLtqEhzD3HncFDEXc1q cJfw3hzPhgF4OOI2KUmbCRhtkimHXw2LFnwNEvMY6Rp2qeDpRJJEC+PsOzH35YGMiV6o hkChbMjF2JhL/AZySI4KvbBTRQyF++4A83ZG8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:content-transfer-encoding:message-id:content-type:to :from:subject:date:x-mailer; b=D2lP/f4tOzX7E+I1RRpFCZDqicOhEgKjDx0mwCHkk2kkodaEaT7/U3DsAmox+DJ2x6 VBzEzhWMVtouw/PiTAAaBdyYhWKfjPj/cJRa/tBNEiyudWJ246rSvfEtS21IY4Nwfmde kETx5myUVQ5Vg7/8Dh0hQuUuD//26S8cAVq7M= Received: by 10.210.65.17 with SMTP id n17mr336080eba.112.1232655525763; Thu, 22 Jan 2009 12:18:45 -0800 (PST) Received: from ?192.168.1.101? (h054023.gprs.dnafinland.fi [87.93.54.23]) by mx.google.com with ESMTPS id 5sm2704525eyh.58.2009.01.22.12.18.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 22 Jan 2009 12:18:44 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v753.1) Content-Transfer-Encoding: 7bit Message-Id: <61801AEF-10BC-499D-B76E-62BB72D5B571@gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed To: control@debbugs.gnu.org From: Adrian Robert Subject: Date: Thu, 22 Jan 2009 22:18:45 +0200 X-Mailer: Apple Mail (2.753.1) reassign 1555 ns close 574 close 593 close 824 close 1576 close 1217 close 1171 close 1151 quit