unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#13688: 24.2; read-event does not read S-SPC on Mac OS X
@ 2013-02-11 16:36 Christopher Genovese
  2013-02-13 17:29 ` Jan Djärv
  0 siblings, 1 reply; 5+ messages in thread
From: Christopher Genovese @ 2013-02-11 16:36 UTC (permalink / raw)
  To: 13688

[-- Attachment #1: Type: text/plain, Size: 3741 bytes --]

S-SPC is not being processed correctly when running Emacs -Q
(version 24.2 on Mac OS X 10.7.5 next step, installed via
homebrew --cocoa --srgb). Specifically, the shift modifier is being
dropped/ignored.  For example, doing

  (read-event)

followed by S-SPC returns 32, whereas with other modifiers of SPC
it does the correct thing. S-SPC does not appear to be being caught
and translated by any of the intervening translation maps
and the current-input-method is nil. Also, emacs 23.2 handles
S-SPC properly on the same machine, so the key sequence does not
appear to have been affected by the OS.

This is an issue for me because I use that sequence in several
modes, including icicles.

Thanks for your help.


If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
/usr/local/Cellar/emacs/24.2/share/emacs/24.2/etc/DEBUG.


In GNU Emacs 24.2.1 (x86_64-apple-darwin11.4.2, NS apple-appkit-1138.51)
 of 2013-02-08 on Christophers-MacBook-Pro.local
Windowing system distributor `Apple', version 10.3.1138
Configured using:
 `configure '--prefix=/usr/local/Cellar/emacs/24.2' '--without-dbus'
 '--enable-locallisppath=/usr/local/share/emacs/site-lisp'
 '--infodir=/usr/local/Cellar/emacs/24.2/share/info/emacs' '--with-ns'
 '--disable-ns-self-contained' 'CC=cc''

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: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
s-: C-g : <backspace> ( r e a d - e v e n t ) C-a C-x
SPC C-g C-g <escape> C-x C-g C-h c e C-h c <escape>
C-x C-e C-j C-g C-p C-e C-h c C-j C-g C-j SPC C-p C-p
C-e C-j C-SPC C-p C-p C-e C-a C-o C-y C-j C-n C-e C-j
M-SPC C-p C-p C-e C-j SPC C-p C-p C-e C-j SPC C-h f
b <backspace> r e p o r <tab> - e <tab> m <tab> <return>
<menu-bar> <help-menu> <send-emacs-bug-report>

Recent messages:

Quit
e runs the command self-insert-command
C-M-x (translated from <escape> C-x) runs the command eval-defun
Quit
C-j runs the command eval-print-last-sexp
Quit
Mark set
Making completion list...
Type C-x 1 to delete the help window.

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils help-mode easymenu view help-fns ispell
time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win
tool-bar dnd fontset image fringe lisp-mode register page menu-bar
rfn-eshadow timer select scroll-bar 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 minibuffer loaddefs button faces
cus-face files text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget hashtable-print-readable backquote
make-network-process ns multi-tty emacs)

[-- Attachment #2: Type: text/html, Size: 4306 bytes --]

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

* bug#13688: 24.2; read-event does not read S-SPC on Mac OS X
  2013-02-11 16:36 bug#13688: 24.2; read-event does not read S-SPC on Mac OS X Christopher Genovese
@ 2013-02-13 17:29 ` Jan Djärv
  2013-02-13 18:39   ` Glenn Morris
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Djärv @ 2013-02-13 17:29 UTC (permalink / raw)
  To: Christopher Genovese; +Cc: 13688

Hello.

I can not reproduce this on Emacs from the trunk or the emacs-24 branch, so whatever it
was it is fixed now.

	Jan D.

11 feb 2013 kl. 17:36 skrev Christopher Genovese <genovese.cr@gmail.com>:

> S-SPC is not being processed correctly when running Emacs -Q 
> (version 24.2 on Mac OS X 10.7.5 next step, installed via 
> homebrew --cocoa --srgb). Specifically, the shift modifier is being 
> dropped/ignored.  For example, doing
> 
>   (read-event)
> 
> followed by S-SPC returns 32, whereas with other modifiers of SPC
> it does the correct thing. S-SPC does not appear to be being caught
> and translated by any of the intervening translation maps
> and the current-input-method is nil. Also, emacs 23.2 handles 
> S-SPC properly on the same machine, so the key sequence does not 
> appear to have been affected by the OS.
> 
> This is an issue for me because I use that sequence in several
> modes, including icicles.
> 
> Thanks for your help.
> 
> 
> If Emacs crashed, and you have the Emacs process in the gdb debugger,
> please include the output from the following gdb commands:
>     `bt full' and `xbacktrace'.
> For information about debugging Emacs, please read the file
> /usr/local/Cellar/emacs/24.2/share/emacs/24.2/etc/DEBUG.
> 
> 
> In GNU Emacs 24.2.1 (x86_64-apple-darwin11.4.2, NS apple-appkit-1138.51)
>  of 2013-02-08 on Christophers-MacBook-Pro.local
> Windowing system distributor `Apple', version 10.3.1138
> Configured using:
>  `configure '--prefix=/usr/local/Cellar/emacs/24.2' '--without-dbus'
>  '--enable-locallisppath=/usr/local/share/emacs/site-lisp'
>  '--infodir=/usr/local/Cellar/emacs/24.2/share/info/emacs' '--with-ns'
>  '--disable-ns-self-contained' 'CC=cc''
> 
> 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: en_US.UTF-8
>   value of $XMODIFIERS: nil
>   locale-coding-system: utf-8-unix
>   default enable-multibyte-characters: t
> 
> Major mode: Lisp Interaction
> 
> Minor modes in effect:
>   tooltip-mode: t
>   mouse-wheel-mode: t
>   tool-bar-mode: t
>   menu-bar-mode: t
>   file-name-shadow-mode: t
>   global-font-lock-mode: t
>   font-lock-mode: t
>   blink-cursor-mode: t
>   auto-composition-mode: t
>   auto-encryption-mode: t
>   auto-compression-mode: t
>   line-number-mode: t
>   transient-mark-mode: t
> 
> Recent input:
> s-: C-g : <backspace> ( r e a d - e v e n t ) C-a C-x 
> SPC C-g C-g <escape> C-x C-g C-h c e C-h c <escape> 
> C-x C-e C-j C-g C-p C-e C-h c C-j C-g C-j SPC C-p C-p 
> C-e C-j C-SPC C-p C-p C-e C-a C-o C-y C-j C-n C-e C-j 
> M-SPC C-p C-p C-e C-j SPC C-p C-p C-e C-j SPC C-h f 
> b <backspace> r e p o r <tab> - e <tab> m <tab> <return> 
> <menu-bar> <help-menu> <send-emacs-bug-report>
> 
> Recent messages:
> 
> Quit
> e runs the command self-insert-command
> C-M-x (translated from <escape> C-x) runs the command eval-defun
> Quit
> C-j runs the command eval-print-last-sexp
> Quit
> Mark set
> Making completion list...
> Type C-x 1 to delete the help window.
> 
> Load-path shadows:
> None found.
> 
> Features:
> (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
> mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
> gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045 ietf-drums
> mm-util mail-prsvr mail-utils help-mode easymenu view help-fns ispell
> time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win
> tool-bar dnd fontset image fringe lisp-mode register page menu-bar
> rfn-eshadow timer select scroll-bar 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 minibuffer loaddefs button faces
> cus-face files text-properties overlay sha1 md5 base64 format env
> code-pages mule custom widget hashtable-print-readable backquote
> make-network-process ns multi-tty emacs)
> 






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

* bug#13688: 24.2; read-event does not read S-SPC on Mac OS X
  2013-02-13 17:29 ` Jan Djärv
@ 2013-02-13 18:39   ` Glenn Morris
  2013-02-14  8:13     ` Jan Djärv
  0 siblings, 1 reply; 5+ messages in thread
From: Glenn Morris @ 2013-02-13 18:39 UTC (permalink / raw)
  To: Jan Djärv; +Cc: 13688, Christopher Genovese

Jan Djärv wrote:

> I can not reproduce this on Emacs from the trunk or the emacs-24
> branch, so whatever it was it is fixed now.

But can you reproduce it in 24.2? :)





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

* bug#13688: 24.2; read-event does not read S-SPC on Mac OS X
  2013-02-13 18:39   ` Glenn Morris
@ 2013-02-14  8:13     ` Jan Djärv
  2013-02-14  8:19       ` Glenn Morris
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Djärv @ 2013-02-14  8:13 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 13688@debbugs.gnu.org, Christopher Genovese

Hello.

13 feb 2013 kl. 19:39 skrev Glenn Morris <rgm@gnu.org>:

> Jan Djärv wrote:
> 
>> I can not reproduce this on Emacs from the trunk or the emacs-24
>> branch, so whatever it was it is fixed now.
> 
> But can you reproduce it in 24.2? :)

Yes I can.

     Jan D.




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

* bug#13688: 24.2; read-event does not read S-SPC on Mac OS X
  2013-02-14  8:13     ` Jan Djärv
@ 2013-02-14  8:19       ` Glenn Morris
  0 siblings, 0 replies; 5+ messages in thread
From: Glenn Morris @ 2013-02-14  8:19 UTC (permalink / raw)
  To: 13688-done

Version: 24.3

Jan Djärv wrote:

>>> I can not reproduce this on Emacs from the trunk or the emacs-24
>>> branch, so whatever it was it is fixed now.
>> 
>> But can you reproduce it in 24.2? :)
>
> Yes I can.

Awesome, so it is definitely fixed then.





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

end of thread, other threads:[~2013-02-14  8:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-11 16:36 bug#13688: 24.2; read-event does not read S-SPC on Mac OS X Christopher Genovese
2013-02-13 17:29 ` Jan Djärv
2013-02-13 18:39   ` Glenn Morris
2013-02-14  8:13     ` Jan Djärv
2013-02-14  8:19       ` Glenn Morris

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).