[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: nnimap-0.100 and emacs-20.3
;;; Simon Josefsson <jas@pdc.kth.se> writes:
| Fritz Heinrichmeyer <fritz.heinrichmeyer@fernuni-hagen.de> writes:
| > subst-char-in-string (used in nnimap.el) is not defined in emacs-20.3, i
| > tried my own version, but with this the group buffer showed nothing
| > useful ..
| Oops. Anyone know if there is a portable function for that? I'll
| rewrite that section anyway.
How about using `nsubstitute' instead?
BTW, as of XEmacs 21.0 or later, `concat' does not accept indivisual
integers as arguments, but `nnimap-split-articles' passes article number
directly.
Here is patch against it.
--- nnimap.el.orig Mon May 17 22:22:01 1999
+++ nnimap.el Mon May 17 22:21:43 1999
@@ -616,7 +616,7 @@
;; copy article to right group(s)
(setq removeorig nil)
(dolist (to-group (nnimap-split-to-groups rule))
- (if (imap-message-copy article to-group nil nil t)
+ (if (imap-message-copy (number-to-string article) to-group nil nil t)
(progn
(message "IMAP split moved %s:%s:%d to %s" server inbox
article to-group)
Regards,
--
Daiki Ueno (ueno@ueda.info.waseda.ac.jp)
Information Science Course, School of Science and Engineering
Waseda University, Tokyo, Japan.