[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8176: 24.0.50; GUI toolkit differences
From: |
Lars Magne Ingebrigtsen |
Subject: |
bug#8176: 24.0.50; GUI toolkit differences |
Date: |
Mon, 04 Jul 2011 16:05:17 +0200 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) |
Tim Cross <theophilusx@gmail.com> writes:
> Either this is a bug in GTK or how emacs interfaces with the library
> (seems unlikely, more likely a desing constraint of GTK) and should be
> fixed or a footnote added to the manual to let developers know of this
> limitation in some toolkits, noteably GTK based ones.
>
> The following code was evaluated within the scratch buffer. I confirmed
> it works fine under emacs 24 built with lucid, but fails to work when
> built with GTK2+. Others reported it worked find under win32, but failed
> on ns.
>
> (defun tx-greet ()
> (interactive)
> (message "Hello Tim!"))
>
> (defun tx-menu ()
> (interactive)
> (define-key lisp-interaction-mode-map [menu-bar tx]
> '(menu-item "TX Test" tx-greet)))
I can confirm that this doesn't work under GTK Emacs.
Do you have a suggestion where this limitation should be documented?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/