[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
([16777315] . " (H-c)") in a menu-item
From: |
David Reitter |
Subject: |
([16777315] . " (H-c)") in a menu-item |
Date: |
Sun, 1 May 2005 11:06:30 +0100 |
Since the list server is down this weekend, I'm sending this to you
FYI. The effect is very robust and very annoying, because after
changing some menu items, stuff in the Edit menu doesn't work any more
and gives me an error (wrong argument commandp).
I've been poking around trying to trace this bug for hours, but no luck
so far.
I'm trying hard to put together an Aquamacs release that works on Tiger
quickly.
D
---
This is a little strange.
(assq 'copy (lookup-key global-map [menu-bar edit]))
--> (copy "Copy" "Copy text in region to the clipboard" ([16777315] . "
(H-c)") . clipboard-kill-ring-save)
What does this 16777315 do there? Is it supposed to be there??
Interestingly, it doesn't happen consistently. This is what it usually
looks like:
(copy "Copy" "Copy text in region to the clipboard" .
clipboard-kill-ring-save)
Now, at some point during my startup phase (many customizations), the
menu item changes to the 'strange' entry. It is not easy to analyze
when that change occurs. If I delete this and that in my init file, the
bug just occurs at a later point. Either way, the keymap ends up being
corrupted (or "augmented). The final result, however, very regular.
One suspect is define-key, such as in
(setq apple-char (string (decode-char 'ucs #X2318)))
; redefine New
(define-key menu-bar-file-menu [new-file]
'(menu-item (format "New %sN"
apple-char) new-frame-with-new-scratch
:enable (not (window-minibuffer-p
(frame-selected-window menu-updating-frame)))
:help "Read or create a file and edit it"))
(which works on OS X)
Is this a bug?
If not, is 16777315 a code for a keyboard shortcut or something?
I get this with a recent (but patched) build on OS X 10.3.9
Any help appreciated!!!
For what it's worth...:
In GNU Emacs 22.0.50.1 (powerpc-apple-darwin7.9.0)
of 2005-04-29 on madonna - Aquamacs Distribution 0.9.1 beta-6
Distributor `Apple Computers', version 10.3.9
configured using `configure '--enable-carbon-app' '--without-x''
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
locale-coding-system: iso-latin-1
default-enable-multibyte-characters: t
Major mode: Fundamental
Minor modes in effect:
mouse-sel-mode: t
cua-mode: t
auto-compression-mode: t
show-paren-mode: t
recentf-mode: t
encoded-kbd-mode: t
osx-key-mode: t
msb-mode: t
tool-bar-mode: t
mouse-wheel-mode: t
tooltip-mode: t
menu-bar-mode: t
global-font-lock-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
next-error-follow-minor-mode: Fol
smime.p7s
Description: S/MIME cryptographic signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- ([16777315] . " (H-c)") in a menu-item,
David Reitter <=