+2004-05-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
+
+ * imap.el: Add compiler directives.
+
+ * gnus-score.el (gnus-score-edit-done): run-hook->run-hooks.
+
+ * gnus-art.el (article-decode-idna-rhs): Don't use
+ message-idna-inside-rhs-p.
+
2004-05-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
* message.el (message-idna-inside-rhs-p): Removed.
buffer-read-only)
(article-narrow-to-head)
(goto-char (point-min))
- (while (re-search-forward "\\(xn--[-A-Za-z0-9.]*\\)[ \t\n\r,>]" nil t)
+ (while (re-search-forward "@.*\\(xn--[-A-Za-z0-9.]*\\)[ \t\n\r,>]" nil t)
(let (ace unicode)
(when (save-match-data
(and (setq ace (match-string 1))
(save-excursion
(and (re-search-backward "^[^ \t]" nil t)
(looking-at "From\\|To\\|Cc")))
- (save-excursion (backward-char)
- (message-idna-inside-rhs-p))
(setq unicode (idna-to-unicode ace))))
(unless (string= ace unicode)
(replace-match unicode nil nil nil 1)))))))))
(when winconf
(set-window-configuration winconf))
(gnus-score-remove-from-cache bufnam)
- (gnus-score-load-file bufnam)))
+ (gnus-score-load-file bufnam)
+ (run-hooks 'gnus-score-edit-done-hook)))
(defun gnus-score-find-trace ()
"Find all score rules that applies to the current article."
(concat "LOGIN anonymous \"" (concat (user-login-name) "@"
(system-name)) "\"")))))
+;;; Compiler directives.
+
+(defvar imap-sasl-client)
+(defvar imap-sasl-step)
+
(defun imap-sasl-make-mechanisms (buffer)
(let ((mecs '()))
(mapc (lambda (sym)
(1+ max)))))
(message-sort-headers-1))))
+(defun message-delete-address ()
+ "Delete the address under point."
+ (interactive)
+ (let ((start (point))
+ (quote nil))
+ (message-narrow-to-field)
+ (while (and (not (eobp))
+ (or (not (eq (setq char (following-char)) ?,))
+ (not quote)))
+ ())))
+
\f
;;;