]> git.eshelyaron.com Git - emacs.git/commitdiff
Add more erc-message-type choices
authorCorwin Brust <corwin@bru.st>
Sat, 20 Jan 2024 05:51:36 +0000 (23:51 -0600)
committerEshel Yaron <me@eshelyaron.com>
Thu, 25 Jan 2024 18:05:19 +0000 (19:05 +0100)
* lisp/erc/erc.el (erc-message-type): Add more of the possible
IRC message types to customize widget for `erc-*hide-list'.
New options have tags informed by these descriptions:
https://modern.ircdocs.horse/#numerics   (Bug#68601)

(cherry picked from commit 1ba8d1c43702cf8ddd5d7159401d7b3ebc51f4fe)

lisp/erc/erc.el

index 0da211a5f28895a204649c223883a2decd2ca222..edac1060c3e1afdf6f953d1a0b1d8730f9cc13fe 100644 (file)
@@ -386,6 +386,16 @@ If nil, only \"> \" will be shown."
           (const "PART")
           (const "QUIT")
           (const "MODE")
+          (const :tag "Away notices (RPL_AWAY 301)" "301")
+          (const :tag "Self back notice (REP_UNAWAY 305)" "305")
+          (const :tag "Self away notice (REP_NOWAWAY 306)" "306")
+          (const :tag "Channel modes on join (RPL_CHANNELMODEIS 324)" "324")
+          (const :tag "Channel creation time (RPL_CREATIONTIME 329)" "329")
+          (const :tag "Channel no-topic on join (RPL_NOTOPIC 331)" "331")
+          (const :tag "Channel topic on join (RPL_TOPIC 332)" "332")
+          (const :tag "Topic author and time on join (RPL_TOPICWHOTIME 333)" "333")
+          (const :tag "Invitation success notice (RPL_INVITING 341)" "341")
+          (const :tag "Channel member names (353 RPL_NAMEREPLY)" "353")
           (repeat :inline t :tag "Others" (string :tag "IRC Message Type"))))
 
 (defcustom erc-hide-list nil