From: Katsumi Yamaoka <yamaoka@jpl.org>
Subject: Re: text/dns
Date: Mon, 13 Sep 2004 13:47:54 +0900 [thread overview]
Message-ID: <b9ysm9mu64l.fsf@jpl.org> (raw)
In-Reply-To: <microsoft-free.87y8jeubr1.fsf@youngs.au.com>
[-- Attachment #1: Type: text/plain, Size: 438 bytes --]
>>>>> In <microsoft-free.87y8jeubr1.fsf@youngs.au.com> 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.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 353 bytes --]
--- 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.
[-- Attachment #3: Type: text/plain, Size: 222 bytes --]
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.
next prev parent reply other threads:[~2004-09-13 4:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-11 17:28 text/dns Simon Josefsson
2004-09-11 21:49 ` text/dns Andrew A. Raines
2004-09-11 22:21 ` text/dns Romain Francoise
2004-09-11 22:28 ` text/dns Steve Youngs
2004-09-12 11:45 ` text/dns Simon Josefsson
2004-09-12 12:22 ` text/dns Simon Josefsson
2004-09-13 1:11 ` text/dns Katsumi Yamaoka
2004-09-13 2:46 ` text/dns Steve Youngs
2004-09-13 4:47 ` Katsumi Yamaoka [this message]
2004-09-13 5:16 ` text/dns Steve Youngs
2004-09-13 5:23 ` text/dns Katsumi Yamaoka
2004-09-13 11:38 ` text/dns Simon Josefsson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b9ysm9mu64l.fsf@jpl.org \
--to=yamaoka@jpl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).