+2004-09-13 Simon Josefsson <jas@extundo.com>
+
+ * nnimap.el (nnimap-demule): Revert 2004-08-30 change.
+
+ * dns-mode.el (dns-mode): Fix menu for XEmacs, reported by Steve
+ Youngs <steve@youngs.au.com> and suggested by Katsumi Yamaoka
+ <yamaoka@jpl.org>.
+ (dns-mode-font-lock-keywords): Fix faces, reported by Steve Youngs
+ <steve@youngs.au.com> and suggested by Katsumi Yamaoka
+ <yamaoka@jpl.org>.
+
+ * sieve.el (sieve-manage-mode): Ditto.
+
2004-09-13 Reiner Steib <Reiner.Steib@gmx.de>
* gnus-sum.el (gnus-summary-copy-article): Fixed doc string.
;;; Release history:
-;; 2004-09-11 posted on gnu.emacs.sources
+;; 2004-09-11 Posted on gnu.emacs.sources.
+;; 2004-09-13 Ported to XEmacs.
;;; Code:
"Name of face used for DNS classes, e.g., IN.")
(defcustom dns-mode-font-lock-keywords
- `(("^$ORIGIN" 0 dns-mode-control-entity-face)
- ("^$INCLUDE" 0 dns-mode-control-entity-face)
- ("^$[a-z0-9A-Z]+" 0 dns-mode-bad-control-entity-face)
- (,(regexp-opt dns-mode-classes) 0 dns-mode-class-face)
- (,(regexp-opt dns-mode-types) 0 dns-mode-type-face))
+ `(("^$ORIGIN" 0 ,dns-mode-control-entity-face)
+ ("^$INCLUDE" 0 ,dns-mode-control-entity-face)
+ ("^$[a-z0-9A-Z]+" 0 ,dns-mode-bad-control-entity-face)
+ (,(regexp-opt dns-mode-classes) 0 ,dns-mode-class-face)
+ (,(regexp-opt dns-mode-types) 0 ,dns-mode-type-face))
"Font lock keywords used to highlight text in DNS master file mode."
:type 'sexp
:group 'dns-mode)
(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.
;; BEWARE: we used to use string-as-multibyte here which is braindead
;; because it will turn accidental emacs-mule-valid byte sequences
;; into multibyte chars. --Stef
- (funcall (if (and (fboundp 'string-to-multibyte)
- (subrp (symbol-function 'string-to-multibyte)))
- 'string-to-multibyte
+ ;; Reverted, braindead got 7.5 out of 10 on imdb, so it can't be
+ ;; that bad. --Simon
+ (funcall (if (and (fboundp 'string-as-multibyte)
+ (subrp (symbol-function 'string-as-multibyte)))
+ 'string-as-multibyte
'identity)
(or string "")))
;;; sieve.el --- Utilities to manage sieve scripts
-;; Copyright (C) 2001, 2003 Free Software Foundation, Inc.
+;; Copyright (C) 2001, 2003, 2004 Free Software Foundation, Inc.
;; Author: Simon Josefsson <simon@josefsson.org>
(setq mode-name "SIEVE")
(buffer-disable-undo (current-buffer))
(setq truncate-lines t)
- (easy-menu-add-item nil nil sieve-manage-mode-menu))
+ (easy-menu-add sieve-manage-mode-menu sieve-manage-mode-map))
(put 'sieve-manage-mode 'mode-class 'special)