Variable: bug-reference-setup-from-irc-alist

bug-reference-setup-from-irc-alist is a variable defined in bug-reference.el.gz.

Value

(("#\\<\\(e\\(?:macs\\|rc\\)\\|gnus\\|org-mode\\|rcirc\\)\\>"
  "Libera.Chat" "\\(\\b[Bb]ug ?#?\\([0-9]+\\(?:#[0-9]+\\)?\\)\\)"
  "https://debbugs.gnu.org/%s"))

Documentation

An alist for setting up bug-reference-mode(var)/bug-reference-mode(fun) in IRC modes.

This takes action if bug-reference-mode(var)/bug-reference-mode(fun) is enabled in IRC channels using one of Emacs's IRC clients. Currently, rcirc and ERC are supported.

Each element has the form

  (CHANNEL-REGEXP NETWORK-REGEXP BUG-REGEXP URL-FORMAT)

CHANNEL-REGEXP is a regexp matched against the current IRC channel name (e.g. #emacs). NETWORK-REGEXP is matched against the IRC network name (e.g. Libera.Chat). Both entries are optional. If all given entries match, BUG-REGEXP is set as bug-reference-bug-regexp and URL-FORMAT is set as bug-reference-url-format.

View in manual

Probably introduced at or before Emacs version 28.1.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/bug-reference.el.gz
(defvar bug-reference-setup-from-irc-alist
  `((,(concat "#" (regexp-opt '("emacs" "gnus" "org-mode" "rcirc"
                                "erc") 'words))
     "Libera.Chat"
     "\\(\\b[Bb]ug ?#?\\([0-9]+\\(?:#[0-9]+\\)?\\)\\)"
     "https://debbugs.gnu.org/%s"))
  "An alist for setting up `bug-reference-mode' in IRC modes.

This takes action if `bug-reference-mode' is enabled in IRC
channels using one of Emacs's IRC clients.  Currently, rcirc and
ERC are supported.

Each element has the form

  (CHANNEL-REGEXP NETWORK-REGEXP BUG-REGEXP URL-FORMAT)

CHANNEL-REGEXP is a regexp matched against the current IRC
channel name (e.g. #emacs).  NETWORK-REGEXP is matched against
the IRC network name (e.g. Libera.Chat).  Both entries are
optional.  If all given entries match, BUG-REGEXP is set as
`bug-reference-bug-regexp' and URL-FORMAT is set as
`bug-reference-url-format'.")