Variable: gnus-search-namazu-remove-prefix

gnus-search-namazu-remove-prefix is a customizable variable defined in gnus-search.el.gz.

Value

"/root/Mail/"

Documentation

The prefix to remove from each file name returned by Namazu in order to get a group name (albeit with / instead of .).

For example, suppose that Namazu returns file names such as
"/home/john/Mail/mail/misc/42". For this example, use the following
setting: (setq gnus-search-namazu-remove-prefix "/home/john/Mail/")
Note the trailing slash. Removing this prefix gives "mail/misc/42". Gnus knows to remove the "/42" and to replace "/" with "." to arrive at the correct group name, "mail.misc".

This variable can also be set per-server.

This variable was added, or its default value changed, in Emacs 28.1.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-search.el.gz
(defcustom gnus-search-namazu-remove-prefix (expand-file-name "Mail/" "~")
  "The prefix to remove from each file name returned by Namazu
in order to get a group name (albeit with / instead of .).

For example, suppose that Namazu returns file names such as
\"/home/john/Mail/mail/misc/42\".  For this example, use the following
setting:  (setq gnus-search-namazu-remove-prefix \"/home/john/Mail/\")
Note the trailing slash.  Removing this prefix gives \"mail/misc/42\".
Gnus knows to remove the \"/42\" and to replace \"/\" with \".\" to
arrive at the correct group name, \"mail.misc\".

This variable can also be set per-server."
  :type 'directory
  :version "28.1")