GNU bug report logs - #5295
23.1.91; special-event-map bug

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Sun, 3 Jan 2010 11:08:02 UTC

Severity: normal

Done: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>

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 5295 in the body.
You can then email your comments to 5295 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5295; Package emacs. (Sun, 03 Jan 2010 11:08:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo <sdl.web <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 03 Jan 2010 11:08:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo <sdl.web <at> gmail.com>
To: emacs-pretest-bug <at> gnu.org
Cc: mituharu+bug-gnu-emacs-mac <at> math.s.chiba-u.ac.jp
Subject: 23.1.91; special-event-map bug
Date: Sun, 03 Jan 2010 11:07:14 +0000
>>>>> On Sat, 02 Jan 2010 20:56:03 +0000, Leo <sdl.web <at> gmail.com> said:

> I configured Emacs.app as the default mailer and found a bug. Here's how
> to reproduce:

>  1. Emacs -q
>  2. Click a mailto link on any website for example
>     http://www.ianr.unl.edu/internet/mailto.html and A mail buffer will
>     pop up.
>  3. C-c C-k

> And you will see 'C-c C-k is undefined' in the echo area. Subsequent
> 'C-c C-k' will do what it is supposed to do in the mail buffer. But the
> first one is tested in the buffer before the mail buffer. For example,
> if before the mail buffer appears, the point is in an rcirc buffer, the
> fist C-c C-k in the mail buffer will invoke rcirc-cmd-kick.

This seems to be because Apple event handlers are bound in
special-event-map.  A similar behavior can be observed with
dran-and-drop, which is also bound in special-event-map, even on
the GTK+ build.

  1. emacs -Q
  2. Drag-and-drop some C file (such as foo.c) into the Emacs frame.
  3. Click the Emacs frame title bar to get focus.
  4. C-c C-e
     => not found though it is bound to c-macro-expand
  5. C-c C-e
     => handled correctly

				     YAMAMOTO Mitsuharu



In GNU Emacs 23.1.91.2 (i386-apple-darwin9.8.0, Carbon Version 1.6.0 AppKit 949.54)
 of 2010-01-01 on victoria.local
Windowing system distributor `Apple Inc.', version 10.5.8
configured using `configure  '--with-mac' '--prefix=/usr/local/opensource/emacs''

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: iso-latin-1-unix
  default enable-multibyte-characters: t




Reply sent to YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>:
You have taken responsibility. (Tue, 12 Jan 2010 10:19:01 GMT) Full text and rfc822 format available.

Notification sent to Leo <sdl.web <at> gmail.com>:
bug acknowledged by developer. (Tue, 12 Jan 2010 10:19:01 GMT) Full text and rfc822 format available.

Message #10 received at 5295-done <at> debbugs.gnu.org (full text, mbox):

From: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
To: Jan Djärv <jan.h.d <at> swipnet.se>
Cc: 5295-done <at> debbugs.gnu.org, Leo <sdl.web <at> gmail.com>, emacs-devel <at> gnu.org
Subject: Re: Emacs 23 Mac port
Date: Tue, 12 Jan 2010 19:18:08 +0900
>>>>> On Tue, 12 Jan 2010 10:28:46 +0100, Jan Djärv <jan.h.d <at> swipnet.se> said:

>>> I've checked in a fix for this.  Keymaps weren't recalculated after
>>> a command from the special event map was run.
>> 
>> Thanks.  But then a special event such as SIGUSR1 cancels an
>> incomplete key sequence being typed.  How about doing this only when
>> the current buffer is changed by the special event?
>> 

> It makes sense.  Can you install it?

Done, and Bug#5295 closed.
(Oops, I should have added the bug# to the commit log.)

				     YAMAMOTO Mitsuharu
				mituharu <at> math.s.chiba-u.ac.jp




bug archived. Request was from Debbugs Internal Request <bug-gnu-emacs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 09 Feb 2010 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 135 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.