From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#8176: 24.0.50; GUI toolkit differences Date: Mon, 04 Jul 2011 16:05:17 +0200 Message-ID: References: <8762ry8arr.fsf@rapttech.com.au> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1309788492 3908 80.91.229.12 (4 Jul 2011 14:08:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 4 Jul 2011 14:08:12 +0000 (UTC) Cc: 8176@debbugs.gnu.org To: Tim Cross Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 04 16:08:08 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qdjok-0001fK-Ns for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Jul 2011 16:08:07 +0200 Original-Received: from localhost ([::1]:51573 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qdjoj-0003pN-Ol for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Jul 2011 10:08:05 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:40943) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qdjnm-0003hx-Vr for bug-gnu-emacs@gnu.org; Mon, 04 Jul 2011 10:07:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qdjnk-0003aW-5H for bug-gnu-emacs@gnu.org; Mon, 04 Jul 2011 10:07:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59761) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qdjnj-0003aF-Q8 for bug-gnu-emacs@gnu.org; Mon, 04 Jul 2011 10:07:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Qdjni-0000o6-Vq; Mon, 04 Jul 2011 10:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Jul 2011 14:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8176 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8176-submit@debbugs.gnu.org id=B8176.13097884133077 (code B ref 8176); Mon, 04 Jul 2011 14:07:02 +0000 Original-Received: (at 8176) by debbugs.gnu.org; 4 Jul 2011 14:06:53 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QdjnZ-0000nX-0F for submit@debbugs.gnu.org; Mon, 04 Jul 2011 10:06:53 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QdjnW-0000n5-Ug for 8176@debbugs.gnu.org; Mon, 04 Jul 2011 10:06:51 -0400 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1QdjnL-000304-Eb; Mon, 04 Jul 2011 16:06:39 +0200 In-Reply-To: <8762ry8arr.fsf@rapttech.com.au> (Tim Cross's message of "Sat, 05 Mar 2011 15:13:44 +1100") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-Now-Playing: Joanna Newsom's _Have One On Me (2)_: "Go Long" X-Hashcash: 1:23:110704:8176@debbugs.gnu.org::xTd+PIOZ7bREmjCw:00000000000000000000000000000000000000000B7YY X-Hashcash: 1:23:110704:theophilusx@gmail.com::hsbOn1zKJhnrMlOP:0000000000000000000000000000000000000001FJbs X-MailScanner-ID: 1QdjnL-000304-Eb MailScanner-NULL-Check: 1310393199.62304@DRd4Q4rivWrje/6um9GRbw X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 04 Jul 2011 10:07:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:47945 Archived-At: Tim Cross 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/