diff options
| author | Noah Friedman | 1995-02-01 21:21:29 +0000 |
|---|---|---|
| committer | Noah Friedman | 1995-02-01 21:21:29 +0000 |
| commit | 9a41d08a3412a62410d21d3e2e38ff8d2fc33620 (patch) | |
| tree | 1a465c9b6fd293ecf978b752d35c4dbb99aecaa8 | |
| parent | 4b533b5be6ead8e4749fa75c85246082e919402d (diff) | |
| download | emacs-9a41d08a3412a62410d21d3e2e38ff8d2fc33620.tar.gz emacs-9a41d08a3412a62410d21d3e2e38ff8d2fc33620.zip | |
mail-mailer-swallows-blank-line: Handle full range of legal header names as
specified by RFC822.
| -rw-r--r-- | lisp/mail/sendmail.el | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el index 9287b18d4bd..1c98a9c9083 100644 --- a/lisp/mail/sendmail.el +++ b/lisp/mail/sendmail.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; sendmail.el --- mail sending commands for Emacs. | 1 | ;;; sendmail.el --- mail sending commands for Emacs. |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1985, 1986, 1992, 1993, 1994 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1985, 1986, 1992, 1993, 1994, 1995 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Maintainer: FSF | 5 | ;; Maintainer: FSF |
| 6 | ;; Keywords: mail | 6 | ;; Keywords: mail |
| @@ -170,7 +170,11 @@ is non-nil.") | |||
| 170 | (let ((case-fold-search nil)) | 170 | (let ((case-fold-search nil)) |
| 171 | (re-search-forward "^OR\\>" nil t))) | 171 | (re-search-forward "^OR\\>" nil t))) |
| 172 | (kill-buffer buffer)))) | 172 | (kill-buffer buffer)))) |
| 173 | '(looking-at "[ \t]\\|[-a-zA-Z]+:")) | 173 | ;; According to RFC822, "The field-name must be composed of printable |
| 174 | ;; ASCII characters (i.e. characters that have decimal values between | ||
| 175 | ;; 33 and 126, except colon)", i.e. any chars except ctl chars, | ||
| 176 | ;; space, or colon. | ||
| 177 | '(looking-at "[ \t]\\|[][!\"#$%&'()*+,-./0-9;<=>?@A-Z\\\\^_`a-z{|}~]+:")) | ||
| 174 | "Set this non-nil if the system's mailer runs the header and body together. | 178 | "Set this non-nil if the system's mailer runs the header and body together. |
| 175 | \(This problem exists on Sunos 4 when sendmail is run in remote mode.) | 179 | \(This problem exists on Sunos 4 when sendmail is run in remote mode.) |
| 176 | The value should be an expression to test whether the problem will | 180 | The value should be an expression to test whether the problem will |