Update citations of Internet RFCs
For example, RFC 822 has been obsoleted by RFC 2822, which in turn has been obsoleted by RFC 5322. * doc/emacs/ack.texi, doc/lispref/os.texi: * doc/misc/emacs-mime.texi, doc/misc/gnus-coding.texi: * doc/misc/gnus.texi, doc/misc/sc.texi: * lisp/calendar/parse-time.el, lisp/gnus/gnus-cite.el: * lisp/gnus/gnus-util.el, lisp/gnus/message.el: * lisp/gnus/mm-bodies.el, lisp/gnus/nnrss.el: * lisp/mail/feedmail.el, lisp/mail/ietf-drums.el: * lisp/mail/mail-extr.el, lisp/mail/mail-utils.el: * lisp/mail/mailclient.el, lisp/mail/mailheader.el: * lisp/mail/rfc2047.el, lisp/mail/rfc822.el, lisp/mail/rmail.el: * lisp/mail/sendmail.el, lisp/mail/smtpmail.el: * lisp/mail/supercite.el, lisp/mh-e/mh-e.el: * lisp/mh-e/mh-utils.el, lisp/net/imap.el: * lisp/net/newst-backend.el, lisp/org/org-id.el: * lisp/ps-samp.el, lisp/simple.el, lisp/url/url-util.el: Update RFC citations.
This commit is contained in:
parent
57ece2a052
commit
b5e66f46a6
32 changed files with 159 additions and 151 deletions
|
@ -256,7 +256,7 @@ The list is in preference order.")
|
|||
(fullname-end (point-marker)))
|
||||
(goto-char fullname-start)
|
||||
;; Look for a character that cannot appear unquoted
|
||||
;; according to RFC 822.
|
||||
;; according to RFC 822 or its successors.
|
||||
(if (re-search-forward "[^- !#-'*+/-9=?A-Z^-~]"
|
||||
fullname-end 1)
|
||||
(progn
|
||||
|
@ -274,8 +274,9 @@ The list is in preference order.")
|
|||
(insert fullname)
|
||||
(let ((fullname-end (point-marker)))
|
||||
(goto-char fullname-start)
|
||||
;; RFC 822 says \ and nonmatching parentheses
|
||||
;; must be escaped in comments.
|
||||
;; RFC 822 and its successors say \ and
|
||||
;; nonmatching parentheses must be
|
||||
;; escaped in comments.
|
||||
;; Escape every instance of ()\ ...
|
||||
(while (re-search-forward "[()\\]" fullname-end 1)
|
||||
(replace-match "\\\\\\&" t))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue