Mercurial > emacs
comparison lisp/mail/mail-extr.el @ 14029:8812f5ef65db
(mail-extr-nuke-outside-range): Fix error message.
(mail-extract-address-components, what-domain): Fix error messages.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 05 Jan 1996 07:14:40 +0000 |
parents | b07ed8bef291 |
children | 83f275dcd93a |
comparison
equal
deleted
inserted
replaced
14028:e8d6c760f796 | 14029:8812f5ef65db |
---|---|
643 ;; deleted from the list. | 643 ;; deleted from the list. |
644 ;; Unless NO-REPLACE is true, at each of the positions in LIST-SYMBOL | 644 ;; Unless NO-REPLACE is true, at each of the positions in LIST-SYMBOL |
645 ;; which lie outside of the range, one character at that position is | 645 ;; which lie outside of the range, one character at that position is |
646 ;; replaced with a SPC. | 646 ;; replaced with a SPC. |
647 (or (memq no-replace '(t nil)) | 647 (or (memq no-replace '(t nil)) |
648 (error "no-replace must be t or nil, evaluable at macroexpand-time.")) | 648 (error "no-replace must be t or nil, evaluable at macroexpand-time")) |
649 (` (let ((temp (, list-symbol)) | 649 (` (let ((temp (, list-symbol)) |
650 ch) | 650 ch) |
651 (while temp | 651 (while temp |
652 (setq ch (car temp)) | 652 (setq ch (car temp)) |
653 (cond ((or (> ch (, end-symbol)) | 653 (cond ((or (> ch (, end-symbol)) |
757 (cond ((stringp address) | 757 (cond ((stringp address) |
758 (insert address)) | 758 (insert address)) |
759 ((bufferp address) | 759 ((bufferp address) |
760 (insert-buffer-substring address)) | 760 (insert-buffer-substring address)) |
761 (t | 761 (t |
762 (error "Illegal address: %s" address))) | 762 (error "Invalid address: %s" address))) |
763 | 763 |
764 ;; stolen from rfc822.el | 764 ;; stolen from rfc822.el |
765 ;; Unfold multiple lines. | 765 ;; Unfold multiple lines. |
766 (goto-char (point-min)) | 766 (goto-char (point-min)) |
767 (while (re-search-forward "\\([^\\]\\(\\\\\\\\\\)*\\)\n[ \t]" nil t) | 767 (while (re-search-forward "\\([^\\]\\(\\\\\\\\\\)*\\)\n[ \t]" nil t) |
1953 (let ((completion-ignore-case t)) | 1953 (let ((completion-ignore-case t)) |
1954 (list (completing-read "Domain: " | 1954 (list (completing-read "Domain: " |
1955 mail-extr-all-top-level-domains nil t)))) | 1955 mail-extr-all-top-level-domains nil t)))) |
1956 (or (setq domain (intern-soft (downcase domain) | 1956 (or (setq domain (intern-soft (downcase domain) |
1957 mail-extr-all-top-level-domains)) | 1957 mail-extr-all-top-level-domains)) |
1958 (error "no such domain")) | 1958 (error "No such domain")) |
1959 (message "%s: %s" (upcase (symbol-name domain)) (get domain 'domain-name))) | 1959 (message "%s: %s" (upcase (symbol-name domain)) (get domain 'domain-name))) |
1960 | 1960 |
1961 | 1961 |
1962 ;(let ((all nil)) | 1962 ;(let ((all nil)) |
1963 ; (mapatoms #'(lambda (x) | 1963 ; (mapatoms #'(lambda (x) |