* gnus-fun.el (gnus-respond-to-confirmation): New command.
2002-02-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
* nnultimate.el (nnultimate-retrieve-headers): Clean up.
+2002-02-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
+
+ * gnus-fun.el (gnus-respond-to-confirmation): New command.
+
+2002-02-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
+
+ * nnultimate.el (nnultimate-retrieve-headers): Clean up.
+
2002-02-18 Paul Jarc <prj@po.cwru.edu>
* gnus-util.el (gnus-parent-id): Ignore trailing whitespace in the
(gnus-convert-image-to-gray-x-face (concat file ".gif") 3)
(delete-file (concat file ".gif"))))
+(defun gnus-respond-to-confirmation ()
+ "Respond to a Gmane confirmation message."
+ (interactive)
+ (gnus-summary-show-article 'raw)
+ (set-buffer gnus-article-buffer)
+ (let ((buffer-read-only nil))
+ (goto-char (point-min))
+ (gnus-article-goto-header "Original-To")
+ (replace-match "To:"))
+ (message-wide-reply)
+ (goto-char (point-min))
+ (gnus-article-goto-header "Cc")
+ (replace-match "From:")
+ (message-goto-body)
+ (delete-region (point) (point-max)))
+
(provide 'gnus-fun)
;;; gnus-fun.el ends here
datel nil))
(pop datel))
(when date
- (setq date (delete "" (split-string
- date "[-, \n\t\r ]")))
- (if (or (member "AM" date)
- (member "PM" date))
- (setq date (format
- "%s %s %s %s"
- (nth 1 date)
- (if (and (>= (length (nth 0 date)) 3)
- (assoc (downcase
- (substring (nth 0 date) 0 3))
- parse-time-months))
- (substring (nth 0 date) 0 3)
- (car (rassq (string-to-number (nth 0 date))
- parse-time-months)))
- (nth 2 date) (nth 3 date)))
- (setq date (format "%s %s %s %s"
- (car (rassq (string-to-number (nth 1 date))
- parse-time-months))
- (nth 0 date) (nth 2 date) (nth 3 date)))))
+ (setq date (delete "" (split-string date "[-, \n\t\r ]")))
+ (setq date
+ (if (or (member "AM" date)
+ (member "PM" date))
+ (format
+ "%s %s %s %s"
+ (nth 1 date)
+ (if (and (>= (length (nth 0 date)) 3)
+ (assoc (downcase
+ (substring (nth 0 date) 0 3))
+ parse-time-months))
+ (substring (nth 0 date) 0 3)
+ (car (rassq (string-to-number (nth 0 date))
+ parse-time-months)))
+ (nth 2 date) (nth 3 date))
+ (format "%s %s %s %s"
+ (car (rassq (string-to-number (nth 1 date))
+ parse-time-months))
+ (nth 0 date) (nth 2 date) (nth 3 date)))))
(push
(cons
article