* lisp/Makefile.in (clever): Use `if test... then' instead of `test... &&'.
Synch with Oort Gnus.
+2001-07-06 KITAGAWA Takurou <i30x1641@ip.media.kyoto-u.ac.jp>
+
+ * lisp/Makefile.in (clever): Use `if test... then' instead of
+ `test... &&'.
+
2001-07-06 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/Makefile.in (clever): Change the quoting style for the
+2001-07-07 Simon Josefsson <jas@extundo.com>
+
+ * rfc2047.el (rfc2047-encode-message-header): Skip header when
+ trying to fold. Thanks to Colin Walters
+ <walters@cis.ohio-state.edu>
+
+2001-07-06 Simon Josefsson <jas@extundo.com>
+
+ * imap.el (imap-parse-address-list, imap-parse-flag-list)
+ (imap-parse-body-extension, imap-parse-body-ext, imap-parse-body):
+ Add information in `assert's.
+
+ * nnimap.el (nnimap-possibly-change-group): Ignore uidvalidity
+ changes. (From nnimaps' point of view, `nnimap-verify-uidvalidity'
+ and `nnimap-group-overview-filename', should handle all
+ change-of-uidvalidity related issues. But there may be other
+ problems.)
+
2001-07-05 Colin Walters <walters@cis.ohio-state.edu>
* rfc2047.el (rfc2047-encode-message-header): Don't include the
GNUS_PRODUCT_NAME = @GNUS_PRODUCT_NAME@
EXPORTING_FILES = $(EMACS_COMP) -f dgnushack-exporting-files 2>/dev/null
+# We should never use `COMMAND && ...' form, use `if COMMAND then ...'
+# form instead. Because, as far as we know, FreeBSD's native make will
+# be discontinued if COMMAND returns a non-zero exit status.
+
all total: clean-some gnus-load.elc
$(EMACS_COMP) -f dgnushack-compile
if test `$(EMACS) -batch -q -no-site-file \
-eval '(prin1 (featurep (quote xemacs)))' \
2>/dev/null` = t; then \
- test ! -f $(srcdir)/gnus-xmas.elc && RM_ELC=t; \
+ if test ! -f $(srcdir)/gnus-xmas.elc; then RM_ELC=t; fi; \
else \
- test -f $(srcdir)/gnus-xmas.elc && RM_ELC=t; \
+ if test -f $(srcdir)/gnus-xmas.elc; then RM_ELC=t; fi; \
fi; \
if test $$RM_ELC = t; then \
echo " => maybe yes;" \
(when (eq (char-after) ?\))
(imap-forward)
(nreverse addresses)))
- (assert (imap-parse-nil))))
+ (assert (imap-parse-nil) t "In imap-parse-address-list")))
;; mailbox = "INBOX" / astring
;; ; INBOX is case-insensitive. All case variants of
(defun imap-parse-flag-list ()
(let (flag-list start)
- (assert (eq (char-after) ?\())
+ (assert (eq (char-after) ?\() t "In imap-parse-flag-list")
(while (and (not (eq (char-after) ?\)))
(setq start (progn
(imap-forward)
(point)))
(> (skip-chars-forward "^ )" (imap-point-at-eol)) 0))
(push (buffer-substring start (point)) flag-list))
- (assert (eq (char-after) ?\)))
+ (assert (eq (char-after) ?\)) t "In imap-parse-flag-list")
(imap-forward)
(nreverse flag-list)))
(while (eq (char-after) ?\ )
(imap-forward)
(push (imap-parse-body-extension) b-e))
- (assert (eq (char-after) ?\)))
+ (assert (eq (char-after) ?\)) t "In imap-parse-body-extension")
(imap-forward)
(nreverse b-e))
(or (imap-parse-number)
(imap-forward)
(push (imap-parse-string-list) dsp)
(imap-forward))
- (assert (imap-parse-nil)))
+ (assert (imap-parse-nil) t "In imap-parse-body-ext"))
(push (nreverse dsp) ext))
(when (eq (char-after) ?\ );; body-fld-lang
(imap-forward)
(push (and (imap-parse-nil) nil) body))
(setq body
(append (imap-parse-body-ext) body)));; body-ext-...
- (assert (eq (char-after) ?\)))
+ (assert (eq (char-after) ?\)) t "In imap-parse-body")
(imap-forward)
(nreverse body))
(push (imap-parse-nstring) body);; body-fld-md5
(setq body (append (imap-parse-body-ext) body)));; body-ext-1part..
- (assert (eq (char-after) ?\)))
+ (assert (eq (char-after) ?\)) t "In imap-parse-body 2")
(imap-forward)
(nreverse body)))))
(if (or (nnimap-verify-uidvalidity
group (or server nnimap-current-server))
(zerop (imap-mailbox-get 'exists group))
+ t ;; for OGnus to see if ignoring uidvalidity
+ ;; changes has any bad effects.
(yes-or-no-p
(format
"nnimap: Group %s is not uidvalid. Continue? " group)))
(rfc2047-fold-region (save-excursion
(goto-char (point-min))
(skip-chars-forward "^:")
+ (and (looking-at ": ")
+ (forward-char 2))
(point)) (point-max)))
;; We found something that may perhaps be encoded.
(setq method nil