2005-09-22 Reiner Steib <Reiner.Steib@gmx.de>
+ * spam-report.el (spam-report-url-ping-plain): Use
+ gnus-extended-version as User-Agent.
+
+ * gnus-agent.el (gnus-agent-synchronize-flags): Explain why the
+ default value is nil.
+
+ * mm-uu.el (mm-uu-type-alist): Added slrn style verbatim-marks.
+ (mm-uu-verbatim-marks-extract): New function.
+ (mm-uu-extract): New face.
+ (mm-uu-copy-to-buffer): Use it.
+
* spam-report.el (spam-report-gmane-ham): Renamed from
`spam-report-gmane-unspam'.
(spam-report-gmane-internal): Renamed from `spam-report-gmane'.
(spam-report-gmane): changed to take a single article and do
unspam registration
-2005-09-21 Katsumi Yamaoka <yamaoka@jpl.org>
-
- * mm-view.el (mm-inline-text-html-render-with-w3m): Revert.
-
-2005-09-21 Katsumi Yamaoka <yamaoka@jpl.org>
-
- * mm-view.el (mm-inline-text-html-render-with-w3m): Bind
- w3m-treat-image-size to avoid inserting excessive newlines.
-
2005-09-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
* gnus-agent.el (gnus-agent-synchronize-flags): Switch the
(defcustom gnus-agent-synchronize-flags nil
"Indicate if flags are synchronized when you plug in.
If this is `ask' the hook will query the user."
+ ;; If the default switches to something else than nil, then the function
+ ;; should be fixed not be exceedingly slow. See 2005-09-20 ChangeLog entry.
:version "21.1"
:type '(choice (const :tag "Always" t)
(const :tag "Never" nil)
nil
mm-uu-diff-extract
nil
- mm-uu-diff-test)))
+ mm-uu-diff-test)
+ (verbatim-marks
+ ;; slrn-style verbatim marks, see
+ ;; http://www.slrn.org/manual/slrn-manual-6.html#ss6.81
+ "^#v\\+$"
+ "^#v\\-$"
+ mm-uu-verbatim-marks-extract
+ nil)))
(defcustom mm-uu-configure-list '((shar . disabled))
"A list of mm-uu configuration.
(defsubst mm-uu-function-2 (entry)
(nth 5 entry))
-(defun mm-uu-copy-to-buffer (&optional from to)
+(defface mm-uu-extract
+ '((((class color)
+ (background dark))
+ (:background "gray5"))
+ (((class color)
+ (background light))
+ (:background "gray95"))
+ (t
+ ()))
+ "Face for extracted buffers."
+ ;; See `mm-uu-verbatim-marks-extract'.
+ :version "23.0" ;; No Gnus
+ :group 'gnus-article-mime)
+
+(defun mm-uu-copy-to-buffer (&optional from to properties)
"Copy the contents of the current buffer to a fresh buffer.
-Return that buffer."
+Return that buffer.
+
+If PROPERTIES is non-nil, PROPERTIES are applied to the buffer,
+see `set-text-properties'. If PROPERTIES equals t, this means to
+apply the face `mm-uu-extract'."
(let ((obuf (current-buffer))
(coding-system
;; Might not exist in non-MULE XEmacs
(with-current-buffer (generate-new-buffer " *mm-uu*")
(setq buffer-file-coding-system coding-system)
(insert-buffer-substring obuf from to)
+ (cond ((eq properties t)
+ (set-text-properties (point-min) (point-max)
+ '(face mm-uu-extract)))
+ (properties
+ (set-text-properties (point-min) (point-max) properties)))
(current-buffer))))
(defun mm-uu-configure-p (key val)
(mm-make-handle (mm-uu-copy-to-buffer start-point end-point)
'("application/postscript")))
+(defun mm-uu-verbatim-marks-extract ()
+ (mm-make-handle
+ (mm-uu-copy-to-buffer
+ (progn (goto-char start-point) (forward-line) (point))
+ (progn (goto-char end-point) (forward-line -1) (point))
+ t)
+ '("text/verbatim")))
+
(defun mm-uu-emacs-sources-extract ()
(mm-make-handle (mm-uu-copy-to-buffer start-point end-point)
'("application/emacs-lisp")
(Blacklists and Whitelists, BBDB Whitelists)
(Gmane Spam Reporting, Bogofilter, spam-stat spam filtering)
(spam-stat spam filtering, SpamOracle)
- (Extending the Spam ELisp package): removed extra quote symbol for clarity
+ (Extending the Spam ELisp package): Removed extra quote symbol for
+ clarity.
2005-09-20 Reiner Steib <Reiner.Steib@gmx.de>