aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/gnus
diff options
context:
space:
mode:
authorMiles Bader2008-09-25 15:38:29 +0000
committerMiles Bader2008-09-25 15:38:29 +0000
commite52cac880512b377df736dff328243ba2d82be22 (patch)
treeb86ad23aaab236732683bcd4492e7db1d5c02199 /lisp/gnus
parent4b8643d33e86312ad0c2bb4c289b653ba4da8b3a (diff)
downloademacs-e52cac880512b377df736dff328243ba2d82be22.tar.gz
emacs-e52cac880512b377df736dff328243ba2d82be22.zip
Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1429
Diffstat (limited to 'lisp/gnus')
-rw-r--r--lisp/gnus/ChangeLog14
-rw-r--r--lisp/gnus/message.el10
-rw-r--r--lisp/gnus/mm-view.el14
3 files changed, 28 insertions, 10 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 068821d4bdb..e53a6a52452 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,17 @@
12008-09-24 Teodor Zlatanov <tzz@lifelogs.com>
2
3 * message.el (message-confirm-send): Add appropriate version.
4
52008-09-22 Teodor Zlatanov <tzz@lifelogs.com>
6
7 * mm-view.el (mm-pkcs7-enveloped-magic): Fix extra parenthesis in
8 defvar.
9
102008-09-22 Daiki Ueno <ueno@unixuser.org>
11
12 * mm-view.el (mm-pkcs7-signed-magic): Use literals.
13 (mm-pkcs7-enveloped-magic): Ditto.
14
12008-09-17 Simon Josefsson <simon@josefsson.org> 152008-09-17 Simon Josefsson <simon@josefsson.org>
2 16
3 * sieve-manage.el (sieve-manage-is-string): Accept literals too. 17 * sieve-manage.el (sieve-manage-is-string): Accept literals too.
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
index 60144932416..3ec15d00831 100644
--- a/lisp/gnus/message.el
+++ b/lisp/gnus/message.el
@@ -445,6 +445,7 @@ nil means let mailer mail back a message to report errors."
445 "Non-nil means when sending a message ask for y/n confirmation." 445 "Non-nil means when sending a message ask for y/n confirmation."
446 :group 'message-sending 446 :group 'message-sending
447 :group 'message-mail 447 :group 'message-mail
448 :version "22.3" ;; No Gnus
448 :link '(custom-manual "(message)Sending Variables") 449 :link '(custom-manual "(message)Sending Variables")
449 :type 'boolean) 450 :type 'boolean)
450 451
@@ -6296,13 +6297,22 @@ are not included."
6296 (if (gnus-alive-p) 6297 (if (gnus-alive-p)
6297 (setq message-draft-article 6298 (setq message-draft-article
6298 (nndraft-request-associate-buffer "drafts")) 6299 (nndraft-request-associate-buffer "drafts"))
6300
6301 ;; If Gnus were alive, draft messages would be saved in the drafts folder.
6302 ;; But Gnus is not alive, so arrange to save the draft message in a
6303 ;; regular file in message-auto-save-directory. Append a unique
6304 ;; time-based suffix to the filename to allow multiple drafts to be saved
6305 ;; simultaneously without overwriting each other (which mimics the
6306 ;; functionality of the Gnus drafts folder).
6299 (setq buffer-file-name (expand-file-name 6307 (setq buffer-file-name (expand-file-name
6308 (concat
6300 (if (memq system-type 6309 (if (memq system-type
6301 '(ms-dos ms-windows windows-nt 6310 '(ms-dos ms-windows windows-nt
6302 cygwin cygwin32 win32 w32 6311 cygwin cygwin32 win32 w32
6303 mswindows)) 6312 mswindows))
6304 "message" 6313 "message"
6305 "*message*") 6314 "*message*")
6315 (format-time-string "-%Y%m%d-%H%M%S"))
6306 message-auto-save-directory)) 6316 message-auto-save-directory))
6307 (setq buffer-auto-save-file-name (make-auto-save-file-name))) 6317 (setq buffer-auto-save-file-name (make-auto-save-file-name)))
6308 (clear-visited-file-modtime) 6318 (clear-visited-file-modtime)
diff --git a/lisp/gnus/mm-view.el b/lisp/gnus/mm-view.el
index bfadd47200d..473948e19c5 100644
--- a/lisp/gnus/mm-view.el
+++ b/lisp/gnus/mm-view.el
@@ -599,20 +599,14 @@
599;; id-signedData OBJECT IDENTIFIER ::= { iso(1) member-body(2) 599;; id-signedData OBJECT IDENTIFIER ::= { iso(1) member-body(2)
600;; us(840) rsadsi(113549) pkcs(1) pkcs7(7) 2 } 600;; us(840) rsadsi(113549) pkcs(1) pkcs7(7) 2 }
601(defvar mm-pkcs7-signed-magic 601(defvar mm-pkcs7-signed-magic
602 (funcall (if (fboundp 'unibyte-string) 'unibyte-string 'string) 602 "\x30\x5c\x28\x80\x5c\x7c\x81\x2e\x5c\x7c\x82\x2e\x2e\x5c\x7c\x83\x2e\x2e\
603 ?\x30 ?\x5c ?\x28 ?\x80 ?\x5c ?\x7c ?\x81 ?\x2e ?\x5c 603\x2e\x5c\x29\x06\x09\x5c\x2a\x86\x48\x86\xf7\x0d\x01\x07\x02")
604 ?\x7c ?\x82 ?\x2e ?\x2e ?\x5c ?\x7c ?\x83 ?\x2e ?\x2e
605 ?\x2e ?\x5c ?\x29 ?\x06 ?\x09 ?\x5c ?\x2a ?\x86 ?\x48
606 ?\x86 ?\xf7 ?\x0d ?\x01 ?\x07 ?\x02))
607 604
608;; id-envelopedData OBJECT IDENTIFIER ::= { iso(1) member-body(2) 605;; id-envelopedData OBJECT IDENTIFIER ::= { iso(1) member-body(2)
609;; us(840) rsadsi(113549) pkcs(1) pkcs7(7) 3 } 606;; us(840) rsadsi(113549) pkcs(1) pkcs7(7) 3 }
610(defvar mm-pkcs7-enveloped-magic 607(defvar mm-pkcs7-enveloped-magic
611 (funcall (if (fboundp 'unibyte-string) 'unibyte-string 'string) 608 "\x30\x5c\x28\x80\x5c\x7c\x81\x2e\x5c\x7c\x82\x2e\x2e\x5c\x7c\x83\x2e\x2e\
612 ?\x30 ?\x5c ?\x28 ?\x80 ?\x5c ?\x7c ?\x81 ?\x2e ?\x5c 609\x2e\x5c\x29\x06\x09\x5c\x2a\x86\x48\x86\xf7\x0d\x01\x07\x03")
613 ?\x7c ?\x82 ?\x2e ?\x2e ?\x5c ?\x7c ?\x83 ?\x2e ?\x2e
614 ?\x2e ?\x5c ?\x29 ?\x06 ?\x09 ?\x5c ?\x2a ?\x86 ?\x48
615 ?\x86 ?\xf7 ?\x0d ?\x01 ?\x07 ?\x03))
616 610
617(defun mm-view-pkcs7-get-type (handle) 611(defun mm-view-pkcs7-get-type (handle)
618 (mm-with-unibyte-buffer 612 (mm-with-unibyte-buffer