Function: gnus-agent-group-path
gnus-agent-group-path is a byte-compiled function defined in
gnus-agent.el.gz.
Signature
(gnus-agent-group-path GROUP)
Documentation
Translate GROUP into a file name.
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-agent.el.gz
(defun gnus-agent-group-path (group)
"Translate GROUP into a file name."
;; NOTE: This is what nnmail-group-pathname does as of Apr 2003.
;; The two methods must be kept synchronized, which is why
;; gnus-agent-group-pathname was added.
(setq group
(nnheader-translate-file-chars
(nnheader-replace-duplicate-chars-in-string
(nnheader-replace-chars-in-string
(gnus-group-real-name group)
?/ ?_)
?. ?_)))
(if (or nnmail-use-long-file-names
(file-directory-p (expand-file-name group (gnus-agent-directory))))
group
(nnheader-replace-chars-in-string group ?. ?/)))