+2000-10-10 08:44:13 ShengHuo ZHU <zsh@cs.rochester.edu>
+
+ * rfc2047.el (rfc2047-fold-region): "=?=" is not a break point.
+
2000-10-10 00:00:28 ShengHuo ZHU <zsh@cs.rochester.edu>
* webmail.el (webmail-init): Use mm-disable-multibyte-mule4.
(narrow-to-region b e)
(goto-char (point-min))
(let ((break nil)
+ (qword-break nil)
(bol (save-restriction
(widen)
(gnus-point-at-bol))))
(while (not (eobp))
- (when (and break (> (- (point) bol) 76))
- (goto-char break)
- (setq break nil)
+ (when (and (or break qword-break) (> (- (point) bol) 76))
+ (goto-char (or break qword-break))
+ (setq break nil
+ qword-break nil)
(insert "\n ")
(setq bol (1- (point)))
;; Don't break before the first non-LWSP characters.
((eq (char-after) ?\n)
(forward-char 1)
(setq bol (point)
- break nil)
+ break nil
+ qword-break nil)
(skip-chars-forward " \t")
(unless (or (eobp) (eq (char-after) ?\n))
(forward-char 1)))
(skip-chars-forward " \t")
(setq break (1- (point))))
((not break)
- (if (not (looking-at "=\\?"))
+ (if (not (looking-at "=\\?[^=]"))
(if (eq (char-after) ?=)
(forward-char 1)
(skip-chars-forward "^ \t\n\r="))
- (setq break (point))
+ (setq qword-break (point))
(skip-chars-forward "^ \t\n\r")))
(t
(skip-chars-forward "^ \t\n\r"))))
- (when (and break (> (- (point) bol) 76))
- (goto-char break)
- (setq break nil)
+ (when (and (or break qword-break) (> (- (point) bol) 76))
+ (goto-char (or break qword-break))
+ (setq break nil
+ qword-break nil)
(insert "\n ")
(setq bol (1- (point)))
;; Don't break before the first non-LWSP characters.