I haven't actually been using nnfolder for months now (I've switched to nnimap/agent), but when I was it annoyed me that if I asked gnus for all the articles in a folder, gnus would search through the file for each article number between the lowest and highest active articles. Most of these had been deleted, but gnus would search through the whole file for each of them, which for a large folder became incredibly slow. This patch improves things so that if we fail to find one article, and see that our pointer into the folder is between articles with lower and higher numbers than the one we are looking for, we also skip any other requested articles in that range. This dramatically sped up requests for all articles in a folder. 2001-11-04 Jason Merrill * nnfolder.el (nnfolder-retrieve-headers): Avoid searching the entire file for each of a sequence of missing articles.