From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58461 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: text/dns Date: Mon, 13 Sep 2004 13:47:54 +0900 Organization: Emacsen advocacy group Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1095050974 9553 80.91.229.6 (13 Sep 2004 04:49:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 13 Sep 2004 04:49:34 +0000 (UTC) Original-X-From: ding-owner+M7001@lists.math.uh.edu Mon Sep 13 06:49:19 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C6imF-0006vS-00 for ; Mon, 13 Sep 2004 06:49:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1C6il8-0001iO-00; Sun, 12 Sep 2004 23:48:10 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1C6il3-0001iD-00 for ding@lists.math.uh.edu; Sun, 12 Sep 2004 23:48:05 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1C6il3-0000u0-1s for ding@lists.math.uh.edu; Sun, 12 Sep 2004 23:48:05 -0500 Original-Received: from washington.hostforweb.net (washington.hostforweb.net [69.61.11.2]) by justine.libertine.org (Postfix) with ESMTP id 579963A020D for ; Sun, 12 Sep 2004 23:48:02 -0500 (CDT) Original-Received: from localhost ([127.0.0.1]) by washington.hostforweb.net with asmtp (Exim 4.41) id 1C6il5-0004E9-80 for ding@gnus.org; Mon, 13 Sep 2004 00:48:07 -0400 Original-To: ding@gnus.org X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:NRyrY9rQbijoG1UPfLqzYtkfiV0= X-Hashcash: 0:040913:ding@gnus.org:33b2a80d9d561c42 X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58461 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58461 --=-=-= >>>>> In Steve Youngs wrote: > I've just discovered another problem. Once `dns-mode' is invoked, I > get a `DNS' menu in every new buffer (there's one in my message buffer > right now). That occurs only in XEmacs 21.4. I have nothing to indicate but found using easy-menu-add instead of easy-menu-add-item helps. This is what message-mode (which is derived from text-mode as well) does. --=-=-= Content-Type: text/x-patch Content-Disposition: inline --- dns-mode.el~ 2004-09-12 04:44:11 +0000 +++ dns-mode.el 2004-09-13 04:46:17 +0000 @@ -131,7 +131,7 @@ (unless (featurep 'xemacs) (set (make-local-variable 'font-lock-defaults) '(dns-mode-font-lock-keywords nil nil ((?_ . "w"))))) - (easy-menu-add-item nil nil dns-mode-menu)) + (easy-menu-add dns-mode-menu dns-mode-map)) ;; Tools. --=-=-= Content-Disposition: inline However, I suspect there is something wrong in XEmacs 21.4 and I don't think the above patch is a right solution. In relation to this, the same problem occurs in XEmacs 21.4 also by sieve-mode and sieve-manage-mode-menu. --=-=-=--