Allow reading Gnus reports from an offline cache
* lisp/gnus/gnus-group.el (gnus-read-ephemeral-bug-group): Allow reading bug reports from an offline cache directory.
This commit is contained in:
parent
16efc8d53f
commit
cb5f690e4a
1 changed files with 5 additions and 1 deletions
|
@ -2448,7 +2448,11 @@ the bug number, and browsing the URL must return mbox output."
|
|||
(with-temp-file tmpfile
|
||||
(mm-disable-multibyte)
|
||||
(dolist (id ids)
|
||||
(url-insert-file-contents (format mbox-url id)))
|
||||
(let ((file (format "~/.emacs.d/debbugs-cache/%s" id)))
|
||||
(if (and (not gnus-plugged)
|
||||
(file-exists-p file))
|
||||
(insert-file-contents file)
|
||||
(url-insert-file-contents (format mbox-url id)))))
|
||||
(goto-char (point-min))
|
||||
;; Add the debbugs address so that we can respond to reports easily.
|
||||
(while (re-search-forward "^To: " nil t)
|
||||
|
|
Loading…
Add table
Reference in a new issue