[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r101341: nnmh.el (nnmh-request-list-1
From: |
Katsumi Yamaoka |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r101341: nnmh.el (nnmh-request-list-1): Output active lines also for empty directories. This makes the draft queue directory work. |
Date: |
Sun, 05 Sep 2010 00:38:39 +0000 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 101341
author: Lars Magne Ingebrigtsen <address@hidden>
committer: Katsumi Yamaoka <address@hidden>
branch nick: trunk
timestamp: Sun 2010-09-05 00:38:39 +0000
message:
nnmh.el (nnmh-request-list-1): Output active lines also for empty
directories. This makes the draft queue directory work.
modified:
lisp/gnus/ChangeLog
lisp/gnus/nnmh.el
=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog 2010-09-05 00:34:16 +0000
+++ b/lisp/gnus/ChangeLog 2010-09-05 00:38:39 +0000
@@ -1,5 +1,8 @@
2010-09-04 Lars Magne Ingebrigtsen <address@hidden>
+ * nnmh.el (nnmh-request-list-1): Output active lines also for empty
+ directories. This makes the draft queue directory work.
+
* gnus-start.el (gnus-get-unread-articles): Rewrite the way we request
data from the backends, so that we only request the list of groups from
each method once. This should speed things up considerably.
=== modified file 'lisp/gnus/nnmh.el'
--- a/lisp/gnus/nnmh.el 2010-09-05 00:34:16 +0000
+++ b/lisp/gnus/nnmh.el 2010-09-05 00:38:39 +0000
@@ -230,25 +230,25 @@
(nnmh-request-list-1 rdir))))
;; For each directory, generate an active file line.
(unless (string= (expand-file-name nnmh-toplev) dir)
- (when min
- (with-current-buffer nntp-server-buffer
- (goto-char (point-max))
- (insert
- (format
- "%s %.0f %.0f y\n"
- (progn
- (string-match
- (regexp-quote
- (file-truename (file-name-as-directory
- (expand-file-name nnmh-toplev))))
- dir)
- (mm-string-to-multibyte ;Why? Isn't it multibyte already?
- (mm-encode-coding-string
- (nnheader-replace-chars-in-string
- (substring dir (match-end 0))
- ?/ ?.)
- nnmail-pathname-coding-system)))
- max min))))))
+ (with-current-buffer nntp-server-buffer
+ (goto-char (point-max))
+ (insert
+ (format
+ "%s %.0f %.0f y\n"
+ (progn
+ (string-match
+ (regexp-quote
+ (file-truename (file-name-as-directory
+ (expand-file-name nnmh-toplev))))
+ dir)
+ (mm-string-to-multibyte ;Why? Isn't it multibyte already?
+ (mm-encode-coding-string
+ (nnheader-replace-chars-in-string
+ (substring dir (match-end 0))
+ ?/ ?.)
+ nnmail-pathname-coding-system)))
+ (or max 0)
+ (or min 0))))))
t)
(deffoo nnmh-request-newgroups (date &optional server)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r101341: nnmh.el (nnmh-request-list-1): Output active lines also for empty directories. This makes the draft queue directory work.,
Katsumi Yamaoka <=