[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 08515350faf 13/15: Add mini modules bufbar and nickbar to ERC
|
From: |
F. Jason Park |
|
Subject: |
master 08515350faf 13/15: Add mini modules bufbar and nickbar to ERC |
|
Date: |
Thu, 13 Jul 2023 21:50:42 -0400 (EDT) |
branch: master
commit 08515350faff03e4206e7ed4dfacffc55a4779cd
Author: F. Jason Park <jp@neverwas.me>
Commit: F. Jason Park <jp@neverwas.me>
Add mini modules bufbar and nickbar to ERC
* doc/misc/erc.texi: Add `bufbar' and `nickbar' to known modules.
Also add `keep-place', which was missing, and remove `bbdb', which is
not part of ERC. Add new section "Auxiliary Modules" for listing
experimental modules or those typically managed by some other feature.
* erc/ERC-NEWS: Mention new mini modules for libraries
erc-status-sidebar.el and erc-speedbar.el.
* lisp/erc/erc.el (erc-modules): Add `bufbar' and `nickbar' to
selection of offered modules.
* test/lisp/erc/erc-tests.el (erc-tests--modules): Add `bufbar' and
`nickbar'. (Bug#63595)
---
doc/misc/erc.texi | 43 ++++++++++++++++++++++++++++++++++++++++---
etc/ERC-NEWS | 16 ++++++++++++++++
lisp/erc/erc.el | 2 ++
test/lisp/erc/erc-tests.el | 4 ++--
4 files changed, 60 insertions(+), 5 deletions(-)
diff --git a/doc/misc/erc.texi b/doc/misc/erc.texi
index 52a1d57fd45..d59c6d8a6c6 100644
--- a/doc/misc/erc.texi
+++ b/doc/misc/erc.texi
@@ -414,9 +414,10 @@ Set away status automatically
@item autojoin
Join channels automatically
-@cindex modules, bbdb
-@item bbdb
-Integrate with the Big Brother Database
+@cindex modules, bufbar
+@item bufbar
+List buffers belonging to a connection in a side window; part of
+Custom group @code{erc-status-sidebar}
@cindex modules, button
@item button
@@ -443,6 +444,10 @@ Launch an identd server on port 8113
@item irccontrols
Highlight or remove IRC control characters
+@cindex modules, keep-place
+@item keep-place
+Remember your position in buffers
+
@cindex modules, log
@item log
Save buffers in logs
@@ -463,6 +468,11 @@ Detect netsplits
@item nicks
Automatically colorize nicks
+@cindex modules, nickbar
+@item nickbar
+List participating nicks for the current target buffer in a side
+window; part of Custom group @code{erc-speedbar}
+
@cindex modules, noncommands
@item noncommands
Don't display non-IRC commands after evaluation
@@ -534,6 +544,33 @@ Translate morse code in messages
@end table
+@anchor{Auxiliary Modules}
+@subheading Auxiliary Modules
+@cindex auxiliary modules
+
+For various reasons, the following modules aren't currently listed in
+the Custom interface for @code{erc-modules}, but feel free to add them
+explicitly. They may be managed by another module or considered more
+useful when toggled interactively or just deemed experimental.
+
+@table @code
+
+@cindex modules, fill-wrap
+@item fill-wrap
+Wrap long lines using @code{visual-line-mode}
+
+@cindex modules, keep-place-indicator
+@item keep-place-indicator
+Remember your place in buffers with a visible reminder; activated
+interactively or via something like @code{erc-join-hook}
+
+@cindex modules, services-regain
+@item services-regain
+Automatically ask NickServ to reclaim your nick when reconnecting;
+experimental as of ERC 5.6
+
+@end table
+
@anchor{Required Modules}
@subheading Required Modules
@cindex required modules
diff --git a/etc/ERC-NEWS b/etc/ERC-NEWS
index fde4c64c32d..65fee9e05cd 100644
--- a/etc/ERC-NEWS
+++ b/etc/ERC-NEWS
@@ -84,6 +84,22 @@ widget has been an age-old annoyance for new users.
Previously
ineffective, this method now actually works, but it also admonishes
users to edit the 'erc-modules' widget instead.
+** ERC's status-sidebar has gained an accompanying module.
+Users can now add 'bufbar' to 'erc-modules' to achieve the same effect
+as toggling 'erc-status-sidebar-open' manually at the start of an IRC
+session. The module has also been outfitted to show channels and
+queries under their respective servers by default. To avoid
+confusion, the major mode used for the sidebar buffer itself,
+'erc-status-sidebar-mode', is no longer available interactively.
+
+** A new spin on a classic integration in erc-speedbar.
+Add 'nickbar' to 'erc-modules' to spawn a dynamically updating side
+window listing all the users in any target buffer. It's powered by
+the same speedbar.el integration you've always known, except this
+one's optionally accessible from the keyboard, just like any other
+side window. Hit '<RET>' over a nick to spawn a "/QUERY" or a
+"Lastlog" (Occur) session. See 'erc-nickbar-mode' for more.
+
** The option 'erc-timestamp-use-align-to' is more versatile.
While this option has always offered to right-align stamps via the
'display' text property, it's now more effective at doing so when set
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el
index 07c62c935c3..03c21059a92 100644
--- a/lisp/erc/erc.el
+++ b/lisp/erc/erc.el
@@ -2046,6 +2046,7 @@ removed from the list will be disabled."
:greedy t
(const :tag "autoaway: Set away status automatically" autoaway)
(const :tag "autojoin: Join channels automatically" autojoin)
+ (const :tag "bufbar: Show ERC buffers in a side window" bufbar)
(const :tag "button: Buttonize URLs, nicknames, and other text" button)
(const :tag "capab: Mark unidentified users on servers supporting CAPAB"
capab-identify)
@@ -2066,6 +2067,7 @@ removed from the list will be disabled."
move-to-prompt)
(const :tag "netsplit: Detect netsplits" netsplit)
(const :tag "networks: Provide data about IRC networks" networks)
+ (const :tag "nickbar: Show nicknames in a dyamic side window" nickbar)
(const :tag "nicks: Uniquely colorize nicknames in target buffers" nicks)
(const :tag "noncommands: Don't display non-IRC commands after evaluation"
noncommands)
diff --git a/test/lisp/erc/erc-tests.el b/test/lisp/erc/erc-tests.el
index cc69641fb0b..b5db5fe8764 100644
--- a/test/lisp/erc/erc-tests.el
+++ b/test/lisp/erc/erc-tests.el
@@ -1951,9 +1951,9 @@
(kill-buffer "#chan")))
(defconst erc-tests--modules
- '( autoaway autojoin button capab-identify completion dcc fill identd
+ '( autoaway autojoin bufbar button capab-identify completion dcc fill identd
imenu irccontrols keep-place list log match menu move-to-prompt netsplit
- networks nicks noncommands notifications notify page readonly
+ networks nickbar nicks noncommands notifications notify page readonly
replace ring sasl scrolltobottom services smiley sound
spelling stamp track truncate unmorse xdcc))
- master updated (4e8d579f3da -> 2716dd13ced), F. Jason Park, 2023/07/13
- master 96785a80377 02/15: Deprecate erc-server-alist and erc-server-select, F. Jason Park, 2023/07/13
- master b95bb644ec2 01/15: Fix command-line parsing regression in erc-cmd-DCC, F. Jason Park, 2023/07/13
- master 4d6ed774fef 03/15: Respect existing invisibility props in erc-stamp, F. Jason Park, 2023/07/13
- master e51e43b7046 09/15: Fix buffer-mismatch bug in erc-scroll-to-bottom, F. Jason Park, 2023/07/13
- master d45770e8d03 06/15: Optionally combine faces in erc-display-message, F. Jason Park, 2023/07/13
- master 08515350faf 13/15: Add mini modules bufbar and nickbar to ERC,
F. Jason Park <=
- master 2716dd13ced 15/15: Decouple keep-place-indicator from global ERC module, F. Jason Park, 2023/07/13
- master 3c70e85d362 11/15: Add preset styles to erc-status-sidebar, F. Jason Park, 2023/07/13
- master b354b3a53bf 07/15: Allow custom display-buffer actions in ERC, F. Jason Park, 2023/07/13
- master 4f3d036957a 04/15: Simplify erc-button-add-nickname-buttons, F. Jason Park, 2023/07/13
- master 9bdc5c62049 08/15: Add module for colorizing nicknames to ERC, F. Jason Park, 2023/07/13
- master 30fe8703e60 10/15: Allow ERC's module toggles access to the prefix arg, F. Jason Park, 2023/07/13
- master 80e5e9ddc8d 14/15: Improve walkthrough and sample config in ERC manual, F. Jason Park, 2023/07/13
- master 6a96b862680 05/15: Add text props for CTCP messages and speakers in ERC, F. Jason Park, 2023/07/13
- master ded35c2da4d 12/15: Add erc-status-sidebar integration to erc-speedbar, F. Jason Park, 2023/07/13