* etc/ERC-NEWS: Announce deprecation of `erc-spelling-flyspell-verify' and `erc-spelling-unhighlight-word'. A slight behavioral change not worth mentioning is that, previously, ERC arranged for Flyspell to ignore any word immediately following a forward slash anywhere in the prompt input, even those for which the slash served as mere punctuation (a "stroke"), as in "something/misspelt." As of this change, Flyspell only unconditionally exempts an initial slash-prepended word, like "tableflip" in "ERC> /tableflip", and checks all others that follow against known slash commands. * lisp/erc/erc-spelling.el: Change top-level assignment of `erc-mode' symbol-property `flyspell-mode-predicate' from `erc-spelling-flyspell-verify' to `erc-spelling--flyspell-input-p'. (erc-spelling-mode, erc-spelling-disable): Remove local member from `flyspell-incorrect-hook'. (erc-spelling-init): Add `erc-spelling--flyspell-check' to `flyspell-incorrect-hook' locally. Don't bother explicitly setting `flyspell-generic-check-word-predicate' because Flyspell already does that for clients using the `flyspell-mode-predicte' interface. (erc-spelling-flyspell-verify, erc-spelling-unhighlight-word): Mark obsolete. (erc-spelling--flyspell-check, erc-spelling--flyspell-input-p): New functions, essentially the two halves of a reworked and bifurcated `erc-spelling-flyspell-verify'. Though used as a predicate, the first is not named as such because it performs side effects. * test/lisp/erc/erc-scenarios-spelling.el: New file. * test/lisp/erc/resources/spelling/auto-correct.eld: New file. (Bug#75327)
36 lines
2.5 KiB
Plaintext
36 lines
2.5 KiB
Plaintext
;; -*- mode: lisp-data; -*-
|
|
((nick 1 "NICK tester"))
|
|
((user 1 "USER user 0 * :tester")
|
|
(0 ":irc.foonet.org 001 tester :Welcome to the foonet IRC Network tester")
|
|
(0 ":irc.foonet.org 002 tester :Your host is irc.foonet.org, running version oragono-2.6.0-7481bf0385b95b16")
|
|
(0 ":irc.foonet.org 003 tester :This server was created Wed, 05 May 2021 09:05:34 UTC")
|
|
(0 ":irc.foonet.org 004 tester irc.foonet.org oragono-2.6.0-7481bf0385b95b16 BERTZios CEIMRUabefhiklmnoqstuv Iabefhkloqv")
|
|
(0 ":irc.foonet.org 005 tester AWAYLEN=390 BOT=B CASEMAPPING=ascii CHANLIMIT=#:100 CHANMODES=Ibe,k,fl,CEMRUimnstu CHANNELLEN=64 CHANTYPES=# ELIST=U EXCEPTS EXTBAN=,m FORWARD=f INVEX KICKLEN=390 :are supported by this server")
|
|
(0 ":irc.foonet.org 005 tester MAXLIST=beI:60 MAXTARGETS=4 MODES MONITOR=100 NETWORK=foonet NICKLEN=32 PREFIX=(qaohv)~&@%+ STATUSMSG=~&@%+ TARGMAX=NAMES:1,LIST:1,KICK:1,WHOIS:1,USERHOST:10,PRIVMSG:4,TAGMSG:4,NOTICE:4,MONITOR:100 TOPICLEN=390 UTF8MAPPING=rfc8265 UTF8ONLY WHOX :are supported by this server")
|
|
(0 ":irc.foonet.org 005 tester draft/CHATHISTORY=100 :are supported by this server")
|
|
(0 ":irc.foonet.org 251 tester :There are 0 users and 3 invisible on 1 server(s)")
|
|
(0 ":irc.foonet.org 252 tester 0 :IRC Operators online")
|
|
(0 ":irc.foonet.org 254 tester 1 :channels formed")
|
|
(0 ":irc.foonet.org 255 tester :I have 3 clients and 0 servers")
|
|
(0 ":irc.foonet.org 265 tester 3 3 :Current local users 3, max 3")
|
|
(0 ":irc.foonet.org 266 tester 3 3 :Current global users 3, max 3")
|
|
(0 ":irc.foonet.org 422 tester :MOTD File is missing"))
|
|
|
|
((mode-user 10 "MODE tester +i")
|
|
(0 ":irc.foonet.org 221 tester +i")
|
|
(0 ":irc.foonet.org NOTICE tester :This server is in debug mode and is logging all user I/O. If you do not wish for everything you send to be readable by the server owner(s), please disconnect.")
|
|
(0 ":irc.foonet.org 305 tester :You are no longer marked as being away"))
|
|
|
|
((join 10 "JOIN #chan")
|
|
(0 ":tester!~u@247eaxkrufj44.irc JOIN #chan")
|
|
(0 ":irc.foonet.org 353 tester = #chan :alice fsbot @bob tester")
|
|
(0 ":irc.foonet.org 366 tester #chan :End of /NAMES list."))
|
|
|
|
((mode-chan 10 "MODE #chan")
|
|
(0 ":irc.foonet.org 324 tester #chan +nt")
|
|
(0 ":irc.foonet.org 329 tester #chan 1620205534")
|
|
(0 ":alice!~u@yppdd5tt4admc.irc PRIVMSG #chan :tester, welcome!")
|
|
(0 ":bob!~u@yppdd5tt4admc.irc PRIVMSG #chan :tester, welcome!")
|
|
(0 ":bob!~u@yppdd5tt4admc.irc PRIVMSG #chan :alice: Nor I no strength to climb without thy help.")
|
|
(0 ":alice!~u@yppdd5tt4admc.irc PRIVMSG #chan :bob: Nothing, but let him have thanks."))
|