summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/edebug-resources/edebug-test-code.el
diff options
context:
space:
mode:
authorEric Abrahamsen <eric@ericabrahamsen.net>2020-03-17 20:53:05 -0700
committerEric Abrahamsen <eric@ericabrahamsen.net>2021-01-18 13:05:36 -0800
commit20add1cd22f9775a4475148b300cf2a4de4bd54a (patch)
treeeae5c0109d2012605d64d73cdfbf2b8d2edb7f3f /test/lisp/emacs-lisp/edebug-resources/edebug-test-code.el
parent8f4b3b812aab62a5a205bc2f8690c3b4c460ba09 (diff)
downloademacs-20add1cd22f9775a4475148b300cf2a4de4bd54a.tar.gz
emacs-20add1cd22f9775a4475148b300cf2a4de4bd54a.tar.bz2
emacs-20add1cd22f9775a4475148b300cf2a4de4bd54a.zip
Allow gnus-retrieve-headers to return headers directly
Previously, all Gnus backends returned header information by writing nov lines into the nntp-server-buffer, which was later parsed. This commit allows the backends to return their header information as a list of already-parsed headers, though so far none of the backends actually do that. The agent, cache, cloud etc. now operate on parsed headers rather than nov text, ie. they use gnus-fetch-headers instead of gnus-retrieve-headers. * lisp/gnus/gnus-sum.el (gnus-fetch-headers): Handle the case in which gnus-retrieve-headers returns headers directly. * lisp/gnus/nnvirtual.el (nnvirtual-retrieve-headers): Use gnus-fetch-headers rather than gnus-retrieve-headers to get headers, meaning we're operating on already-parsed headers. (nnvirtual-convert-headers): Remove now-unnecessary function. (nnvirtual-update-xref-header): Rewrite to operate on parsed header. * lisp/gnus/gnus-cloud.el (gnus-cloud-available-chunks): Use gnus-fetch-headers instead of gnus-retrieve-headers. * lisp/gnus/gnus-cache.el (gnus-cache-retrieve-headers): Use gnus-fetch-headers. (gnus-cache-braid-nov, gnus-cache-braid-heads): Delete unnecessary functions -- we now do this work on a list of parsed headers. * lisp/gnus/gnus-agent.el (gnus-agent-retrieve-headers): Use gnus-fetch-headers. (gnus-agent-braid-nov): Remove unnecessary function. (gnus-agent-fetch-headers): Use gnus-fetch-headers.
Diffstat (limited to 'test/lisp/emacs-lisp/edebug-resources/edebug-test-code.el')
0 files changed, 0 insertions, 0 deletions