res)
(setq levels (- glen levels))
(dolist (g glist)
- (if (> (length g) 0)
- (push (if (>= (decf levels) 0)
- (substring g 0 1)
- g)
- res)))
+ (push (if (>= (decf levels) 0)
+ (if (zerop (length g))
+ ""
+ (substring g 0 1))
+ g)
+ res))
(concat foreign (mapconcat 'identity (nreverse res) "."))))))
(defun gnus-narrow-to-body ()
(save-excursion
(set-buffer nnslashdot-buffer)
(goto-char (point-min))
+ (when (and (stringp article)
+ (string-match "%\\([0-9]+\\)@" article))
+ (setq article (string-to-number (match-string 1 article))))
(when (numberp article)
(if (= article 1)
(progn
(let ((header (cdr (assq article nnslashdot-headers))))
(nnheader-insert-header header))
(nnheader-report 'nnslashdot "Fetched article %s" article)
- t))))
+ (cons group article)))))
(deffoo nnslashdot-close-server (&optional server)
(when (and (nnslashdot-server-opened server)
(deffoo nnslashdot-request-newgroups (date &optional server)
(nnslashdot-possibly-change-server nil server)
- (nnslashdot-generate-active))
+ (nnslashdot-generate-active)
+ t)
(deffoo nnslashdot-asynchronous-p ()
nil)