all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#1576: 23.0.60; Accented character input on OS X doesn't work right
@ 2008-12-16 19:21 Ian Eure
  0 siblings, 0 replies; 3+ messages in thread
From: Ian Eure @ 2008-12-16 19:21 UTC (permalink / raw)
  To: emacs-pretest-bug

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#1576: 23.0.60; Accented character input on OS X doesn't work right
@ 2009-01-19 18:33 Adrian Robert
  2009-01-19 20:17 ` Ian Eure
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Robert @ 2009-01-19 18:33 UTC (permalink / raw)
  To: 1576; +Cc: Ian Eure

> 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







^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#1576: 23.0.60; Accented character input on OS X doesn't work right
  2009-01-19 18:33 bug#1576: 23.0.60; Accented character input on OS X doesn't work right Adrian Robert
@ 2009-01-19 20:17 ` Ian Eure
  0 siblings, 0 replies; 3+ messages in thread
From: Ian Eure @ 2009-01-19 20:17 UTC (permalink / raw)
  To: Adrian Robert; +Cc: 1576

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-01-19 20:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-19 18:33 bug#1576: 23.0.60; Accented character input on OS X doesn't work right Adrian Robert
2009-01-19 20:17 ` Ian Eure
  -- strict thread matches above, loose matches on Subject: below --
2008-12-16 19:21 Ian Eure

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.