+2004-05-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
+
+ * nneething.el (nneething-file-name): Don't create spurions
+ files.
+
+ * gnus-msg.el (gnus-inews-do-gcc): Ignore read-only groups.
+ (gnus-inews-do-gcc): Remove sleep.
+
+ * gnus-art.el (gnus-mime-delete-part): Error message when no MIME
+ part under point.
+
+ * gnus-agent.el (gnus-agent-synchronize-flags): Default to nil.
+ (gnus-agent-regenerate-group): Using nil messages aren't valid.
+
2004-05-15 Teodor Zlatanov <tzz@lifelogs.com>
* spam.el (spam-summary-prepare-exit): oops, forgot (length)
:type '(choice (const nil)
(integer :tag "Number")))
-(defcustom gnus-agent-synchronize-flags 'ask
+(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."
:version "21.1"
(when regenerated
(gnus-agent-update-files-total-fetched-for group nil)))
- (gnus-message 5 nil)
+ (gnus-message 5 "")
regenerated)))
;;;###autoload
(or (mail-content-type-get (mm-handle-disposition data) 'filename)
none))
(type (mm-handle-media-type data)))
+ (unless data
+ (error "No MIME part under point"))
(with-current-buffer (mm-handle-buffer data)
(let ((bsize (format "%s" (buffer-size))))
(erase-buffer)
(concat "^" (regexp-quote mail-header-separator) "$")
nil t)
(replace-match "" t t ))
- (unless (setq group-art
- (gnus-request-accept-article group method t t))
+ (when (or (gnus-group-read-only-p group)
+ (not (setq group-art
+ (gnus-request-accept-article
+ group method t t))))
(gnus-message 1 "Couldn't store article in group %s: %s"
- group (gnus-status-message method))
- (sit-for 2))
+ group (gnus-status-message method)))
(when (and group-art
;; FIXME: Should gcc-mark-as-read work when
;; Gnus is not running?
(if (numberp article)
(if (setq fname (cadr (assq article nneething-map)))
(expand-file-name fname dir)
- (mm-make-temp-file (expand-file-name "nneething" dir)))
+ (make-temp-name (expand-file-name "nneething" dir)))
(expand-file-name article dir))))
(provide 'nneething)