GNU bug report logs -
#1576
23.0.60; Accented character input on OS X doesn't work right
Previous Next
Reported by: Ian Eure <ian <at> digg.com>
Date: Wed, 17 Dec 2008 06:30:21 UTC
Severity: normal
Done: Adrian Robert <adrian.b.robert <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1576 in the body.
You can then email your comments to 1576 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1576
; Package
emacs
.
(Wed, 17 Dec 2008 06:30:22 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ian Eure <ian <at> digg.com>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Wed, 17 Dec 2008 06:30:23 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
It seems like some modifiers are lost when using the standard OS X
accented keys.
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’t pressed.
Further, the Option modifier is lost when using Meta (which I have
mapped to the Command key). For example, I have M-“ bound to (insert-
pair):
(define-key ime-bindings-map [?\M-“] 'insert-pair)
When I press Opt-M-[, I get a pair of square brackets, as if I hadn’t
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
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 <return> C-n C-p C-n C-p C-p C-b C-b C-n
C-e M-p C-g <M-return> f o r e SPC $ w <backspace>
s h a r d s <tab> $ s <tab> e c h o SPC M-` M-` $ s
- > d b SPC . SPC M-" \ n C-e ; C-x C-s M-` <switch-frame>
M-> <switch-frame> C-c C-o M-p <return> M-v M-` C-x
b <return> C-x b <return> M-` M-> c d SPC m o d u l
e s / D I <backspace> <backspace> I D D B <return>
s v n s <return> s v n r SPC - R SPC . C-a C-j C-_
C-a C-k s v n d <return> 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-> <return> c d SPC . . / . . <return> b <backspace>
! b i n <return> 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 <return> <help-echo> <down-mouse-1>
<mouse-1> <down-mouse-1> <mouse-1> M-` M-` M-p M-b
M-b C-M-k A l l T e s t s <return> <switch-frame> <switch-frame>
<switch-frame> ‘ 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 <return>
“ { “ { “ { ‘ } ‘ } C-a C-k <help-echo> <help-echo>
<down-mouse-1> <mouse-movement> <mouse-1> <menu-bar>
<help-menu> <emacs-tutorial> <down-mouse-1> <mouse-1>
C-g C-x k RET n <menu-bar> <help-menu> <send-emacs
-bug-report>
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
bug reassigned from package `emacs' to `emacs,ns'.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Wed, 17 Dec 2008 18:50:04 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
:
bug#1576
; Package
emacs,ns
.
(Mon, 19 Jan 2009 18:40:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Adrian Robert <adrian.b.robert <at> gmail.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
.
(Mon, 19 Jan 2009 18:40:05 GMT)
Full text and
rfc822 format available.
Message #12 received at 1576 <at> emacsbugs.donarmstrong.com (full text, mbox):
> 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’t pressed.
I cannot replicate this using either a Macbook Pro keyboard in US
layout or a PC keyboard connected via USB, same layout. What kind of
keyboard are you using and what is your system input method set to?
Could you make sure this still happens when you run emacs by:
/Applications/Emacs.app/Contents/MacOS/Emacs -Q
thanks
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
:
bug#1576
; Package
emacs,ns
.
(Mon, 19 Jan 2009 20:25:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ian Eure <ieure <at> mac.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
.
(Mon, 19 Jan 2009 20:25:04 GMT)
Full text and
rfc822 format available.
Message #17 received at 1576 <at> emacsbugs.donarmstrong.com (full text, mbox):
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,
>> in
>> Emacs, Option+Shift+[ inserts U+007B LEFT CURLY BRACKET, as if the
>> Option modifier wasn’t pressed.
>
>
> I cannot replicate this using either a Macbook Pro keyboard in US
> layout or a PC keyboard connected via USB, same layout. What kind
> of keyboard are you using and what is your system input method set
> 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’m using the built-in
keyboard on a US MacBook Pro. I’m using the standard US English
layout. The only exotic thing I’ve done is remapped Caps Lock to be
Control (in System Preferences -> Keyboard & Mouse -> Keyboard ->
Modifier Keys).
Firstly: A bunch of settings are stored in ~/Library/Preferences/
org.gnu.Emacs.plist. Even if I start Emacs with -Q, these settings are
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
wasn't customizable, and things work again.
- Ian
bug closed, send any further explanations to Ian Eure <ian <at> digg.com>
Request was from
Adrian Robert <adrian.b.robert <at> gmail.com>
to
control <at> emacsbugs.donarmstrong.com
.
(Thu, 22 Jan 2009 20:25:05 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Fri, 20 Feb 2009 15:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 16 years and 126 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.