From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58462 Path: main.gmane.org!not-for-mail From: Steve Youngs Newsgroups: gmane.emacs.gnus.general Subject: Re: text/dns Date: Mon, 13 Sep 2004 15:16:15 +1000 Organization: Linux Users - Fanatics Dept. Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: sea.gmane.org 1095052623 12100 80.91.229.6 (13 Sep 2004 05:17:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 13 Sep 2004 05:17:03 +0000 (UTC) Keywords: xemacs,right,easy-menu-add Original-X-From: ding-owner+M7002@lists.math.uh.edu Mon Sep 13 07:16:48 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 1C6jCp-0007oG-00 for ; Mon, 13 Sep 2004 07:16:48 +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 1C6jCY-0001oU-00; Mon, 13 Sep 2004 00:16:30 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1C6jCQ-0001oO-00 for ding@lists.math.uh.edu; Mon, 13 Sep 2004 00:16:22 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1C6jCQ-00016j-5B for ding@lists.math.uh.edu; Mon, 13 Sep 2004 00:16:22 -0500 Original-Received: from bastard.youngs.au.com (CPE-61-9-212-151.qld.bigpond.net.au [61.9.212.151]) by justine.libertine.org (Postfix) with ESMTP id D1B3B3A020D for ; Mon, 13 Sep 2004 00:16:19 -0500 (CDT) Original-Received: from bastard.youngs.au.com (localhost [127.0.0.1]) by bastard.youngs.au.com (8.12.11/8.12.11) with ESMTP id i8D5GGEg006599 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 13 Sep 2004 15:16:16 +1000 Original-Received: (from steve@localhost) by bastard.youngs.au.com (8.12.11/8.12.11/Submit) id i8D5GGTQ006598; Mon, 13 Sep 2004 15:16:16 +1000 X-Authentication-Warning: bastard.youngs.au.com: steve set sender to steve@youngs.au.com using -f Mail-Copies-To: never Original-To: Gnus List X-Face: #/1'_-|5_1$xjR,mVKhpfMJcRh8"k}_a{EkIO:Ox<]@zl/Yr|H,qH#3jJi6Aw(Mg@"!+Z"C N_S3!3jzW^FnPeumv4l#,E}J.+e%0q(U>#b-#`~>l^A!_j5AEgpU)>t+VYZ$:El7hLa1:%%L=3%B>n K{^jU_{& X-X-Day: Only 2431350 days till X-Day. Got Slack? X-URL: X-Request-PGP: X-OpenPGP-Fingerprint: 1659 2093 19D5 C06E D320 3A20 1D27 DB4B A94B 3003 X-Discordian-Date: Sweetmorn, the 37th day of Bureaucracy, 3170. X-Attribution: SY Mail-Followup-To: Gnus List In-Reply-To: (Katsumi Yamaoka's message of "Mon, 13 Sep 2004 13:47:54 +0900") User-Agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.4 (Security Through Obscurity, linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58462 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58462 --=-=-= * Katsumi Yamaoka writes: >>>>>> 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 get the same thing in XEmacs 21.5 too. > 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. [...] > - (easy-menu-add-item nil nil dns-mode-menu)) > + (easy-menu-add dns-mode-menu dns-mode-map)) This fixes it for me. > However, I suspect there is something wrong in XEmacs 21.4 and I > don't think the above patch is a right solution. Yes I agree that there probably is something amiss in XEmacs, but IMO `easy-menu-add' is better suited for this occasion and I think your patch is the right thing[tm]. -- |---------------------| | Te audire no possum. | | Musa sapientum fixa est in aure. | |-------------------------------------| --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Eicq - The XEmacs ICQ Client iEYEABECAAYFAkFFLSAACgkQHSfbS6lLMAONvACgke8I9BPrWPTxEwYOiXuhcwQ6 fUcAoJCniglXJtv+rNNItvBtJaUCfHFC =FTOc -----END PGP SIGNATURE----- --=-=-=--