+Tue Sep 8 07:09:28 1998 Lars Magne Ingebrigtsen <larsi@menja.ifi.uio.no>
+
+ * gnus.el: Pterodactyl Gnus v0.19 is released.
+
+1998-09-08 04:51:39 Lars Magne Ingebrigtsen <larsi@gnus.org>
+
+ * base64.el (base64-encode-region): Accept no-line-break.
+
+ * mm-util.el (mm-mime-charset): New function.
+
+ * gnus-draft.el (gnus-draft-edit-message): Delete article.
+
Tue Sep 8 04:29:23 1998 Lars Magne Ingebrigtsen <larsi@menja.ifi.uio.no>
* gnus.el: Pterodactyl Gnus v0.18 is released.
;;(message "Decoding base64... done")
)
-(defun base64-encode-region (start end)
+(defun base64-encode-region (start end &optional no-line-break)
(interactive "r")
(message "Encoding base64...")
(let ((work-buffer nil)
(aref alphabet (logand bits 63))
1 nil work-buffer)
(setq cols (+ cols 4))
- (cond ((= cols 72)
+ (cond ((and (= cols 72)
+ (not no-line-break))
(base64-insert-char ?\n 1 nil work-buffer)
(setq cols 0)))
(setq bits 0 counter 0))
(base64-insert-char (aref alphabet (logand (lsh bits -6) 63))
1 nil work-buffer)
(base64-insert-char ?= 1 nil work-buffer)))
- ;;;!!! LMI removed this, because he didn't like having
- ;;;!!! newlines added to the end of the encoding.
- ;;(if (> cols 0)
- ;; (base64-insert-char ?\n 1 nil work-buffer))
- )
+ (if (and (> cols 0)
+ (not no-line-break))
+ (base64-insert-char ?\n 1 nil work-buffer)))
(or (markerp end) (setq end (set-marker (make-marker) end)))
(goto-char start)
(insert-buffer-substring work-buffer)
(let ((article (gnus-summary-article-number)))
(gnus-summary-mark-as-read article gnus-canceled-mark)
(gnus-draft-setup article gnus-newsgroup-name)
+ (let ((gnus-verbose-backends nil))
+ (gnus-request-expire-articles (list article) gnus-newsgroup-name t))
(push
`((lambda ()
(when (gnus-buffer-exists-p ,gnus-summary-buffer)
:link '(custom-manual "(gnus)Exiting Gnus")
:group 'gnus)
-(defconst gnus-version-number "0.18"
+(defconst gnus-version-number "0.19"
"Version number for this version of Gnus.")
(defconst gnus-version (format "Pterodactyl Gnus v%s" gnus-version-number)
set-buffer-multibyte
find-non-ascii-charset-region char-charset
mule-write-region-no-coding-system
- find-charset-region base64-decode-string))
+ find-charset-region base64-decode-string
+ find-coding-systems-region get-charset-property
+ coding-system-get))
(maybe-bind '(global-face-data
mark-active transient-mark-mode mouse-selection-click-count
mouse-selection-click-count-buffer buffer-display-table
charsets)
;; We encode.
(t
- (let ((mime-charset
- (or
- (coding-system-get
- (get-charset-property (car charsets) 'prefered-coding-system)
- 'mime-charset)
- (car (memq (car charsets)
- (find-coding-systems-region
- (point-min) (point-max))))))
+ (let ((mime-charset
+ (mm-mime-charset (car charsets) (point-min) (point-max)))
start)
(when (or t
;; We always decode.
(when (string-match "charset *= *\"? *\\([-0-9a-zA-Z_]+\\)\"? *$" header)
(intern (downcase (match-string 1 header)))))
+
+(defun mm-mime-charset (charset b e)
+ (if (fboundp 'coding-system-get)
+ (or
+ (coding-system-get
+ (get-charset-property charset 'prefered-coding-system)
+ 'mime-charset)
+ (car (memq charset (find-coding-systems-region
+ (point-min) (point-max)))))
+ (mm-mule-charset-to-mime-charset charset)))
+
(provide 'mm-util)
;;; mm-util.el ends here
(defun rfc2047-encode (b e charset)
"Encode the word in the region with CHARSET."
(let* ((mime-charset
- (or
- (coding-system-get
- (get-charset-property charset 'prefered-coding-system)
- 'mime-charset)
- (car (memq charset (find-coding-systems-region b e)))))
+ (mm-mime-charset charset b e))
(encoding (or (cdr (assq mime-charset
rfc2047-charset-encoding-alist))
'B))
\input texinfo @c -*-texinfo-*-
@setfilename gnus
-@settitle Pterodactyl Gnus 0.18 Manual
+@settitle Pterodactyl Gnus 0.19 Manual
@synindex fn cp
@synindex vr cp
@synindex pg cp
@tex
@titlepage
-@title Pterodactyl Gnus 0.18 Manual
+@title Pterodactyl Gnus 0.19 Manual
@author by Lars Magne Ingebrigtsen
@page
spool or your mbox file. All at the same time, if you want to push your
luck.
-This manual corresponds to Pterodactyl Gnus 0.18.
+This manual corresponds to Pterodactyl Gnus 0.19.
@end ifinfo
\input texinfo @c -*-texinfo-*-
@setfilename message
-@settitle Pterodactyl Message 0.18 Manual
+@settitle Pterodactyl Message 0.19 Manual
@synindex fn cp
@synindex vr cp
@synindex pg cp
@tex
@titlepage
-@title Pterodactyl Message 0.18 Manual
+@title Pterodactyl Message 0.19 Manual
@author by Lars Magne Ingebrigtsen
@page
* Key Index:: List of Message mode keys.
@end menu
-This manual corresponds to Pterodactyl Message 0.18. Message is
+This manual corresponds to Pterodactyl Message 0.19. Message is
distributed with the Gnus distribution bearing the same version number
as this manual has.