diff options
author | Tassilo Horn <tsdh@gnu.org> | 2020-07-23 19:03:25 +0200 |
---|---|---|
committer | Tassilo Horn <tsdh@gnu.org> | 2020-07-23 19:03:25 +0200 |
commit | 0d7d422b767cdfa1278235ea914ec78252d04a40 (patch) | |
tree | 58474a3d6ba423c388cd0f59db19effb0e1143d5 /etc | |
parent | 84ec57fe06e187f41a3546131d5dae3b185c3511 (diff) | |
download | emacs-0d7d422b767cdfa1278235ea914ec78252d04a40.tar.gz |
bug-reference auto-setup for IRC, implementation for ERC
* lisp/progmodes/bug-reference.el (bug-reference-setup-from-irc-alist):
Change SERVER-REGEXP to NETWORK-REGEXP in docstring.
* lisp/progmodes/bug-reference.el (bug-reference--maybe-setup-from-irc):
Change semantics from requiring a match of channel OR server to
requiring a match of both (if both are configured).
* lisp/progmodes/bug-reference.el (bug-reference-try-setup-from-erc):
New defun doing the auto-setup for ERC.
(bug-reference--run-auto-setup): Run bug-reference-try-setup-from-erc.
* etc/NEWS: Extend entry describing bug-reference auto-setup.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -566,8 +566,8 @@ appropriate values for those two variables. There are three guessing mechanisms so far: based on version control information of the current buffer's file, based on newsgroup/mail-folder name and several news and mail message headers in Gnus buffers, and based on IRC channel and -server in rcirc buffers. All mechanisms are extensible with custom -rules, see the variables 'bug-reference-setup-from-vc-alist', +network in rcirc and ERC buffers. All mechanisms are extensible with +custom rules, see the variables 'bug-reference-setup-from-vc-alist', 'bug-reference-setup-from-mail-alist', and 'bug-reference-setup-from-irc-alist'. |