Function: gnus-newsgroup-directory-form
gnus-newsgroup-directory-form is a byte-compiled function defined in
gnus-util.el.gz.
Signature
(gnus-newsgroup-directory-form NEWSGROUP)
Documentation
Make hierarchical directory name from NEWSGROUP name.
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-util.el.gz
(defun gnus-newsgroup-directory-form (newsgroup)
"Make hierarchical directory name from NEWSGROUP name."
(let* ((newsgroup (gnus-newsgroup-savable-name newsgroup))
(idx (string-search ":" newsgroup)))
(concat
(if idx (substring newsgroup 0 idx))
(if idx "/")
(nnheader-replace-chars-in-string
(if idx (substring newsgroup (1+ idx)) newsgroup)
?. ?/))))