1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 06:50:46 -08:00
emacs/doc/misc
F. Jason Park d46c016fbd Sort and dedupe when loading modules in erc-open
* doc/misc/erc.texi: Add new subheading "Module Loading" under the
"Modules" chapter.
* lisp/erc/erc.el (erc--sort-modules): New utility function to sort
and dedupe modules.
(erc-modules): In `custom-set' function, factor out collation into
separate utility `erc--sort-modules'.
(erc-update-modules): Call `erc--update-modules' with an argument, the
current value of `erc-modules'.
(erc--aberrant-modules): New variable, a list of symbols whose modules
ERC suspects of being incorrectly defined.
(erc--warn-about-aberrant-modules): New function to print an error
message and emit a warning prior to connecting when
`erc--aberrant-modules' is non-nil.
(erc--find-mode): Make heuristic more robust by always checking for a
mode activation command rather than just a state variable.  This fixes
a compatibility bug, new in 5.6, affecting third-party modules that
autoload module definitions instead of their corresponding
mode-activation commands.
(erc--update-modules): Add new positional argument `modules'.
(erc--setup-buffer-hook): Add new default member,
`erc--warn-about-aberrant-modules'.
(erc-open): Pass sorted `erc-modules' to `erc--update-modules'.
* test/lisp/erc/erc-tests.el (erc--sort-modules): New test.
(erc-tests--update-modules): New fixture.
(erc--update-modules): Remove and rework as three separate tests
dedicated to specific contexts.  The existing one had poor coverage
and was difficult, if not impossible, to follow.
(erc--update-modules/unknown, erc--update-modules/local,
erc--update-modules/realistic): New tests.  (Bug#57955)
2023-10-13 07:47:00 -07:00
..
auth.texi Replace duplicate text from epa.texi by a reference 2023-07-13 10:51:50 +03:00
autotype.texi Correct many instances of ``allows to'' 2023-09-10 09:33:50 +08:00
bovine.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
calc.texi ; Fix spelling of my name in all source files 2023-10-10 16:31:53 +02:00
cc-mode.texi Fontify C, C++, Objective C identifiers containing $ 2023-06-28 18:29:39 +00:00
ChangeLog.1 ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
cl.texi Document cl-print.el in cl.texi. 2023-10-11 15:03:43 +00:00
dbus.texi Fix setting $DBUS_SESSION_BUS_ADDRESS after Emacs has started 2023-06-12 12:45:38 +02:00
dired-x.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
doclicense.texi
ebrowse.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ede.texi Fix some Texinfo markup in manuals 2023-06-13 15:29:06 +01:00
ediff.texi Doc fix; more consistently refer to "text terminals" 2023-10-01 13:58:53 +02:00
edt.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
efaq-w32.texi Doc fixes for obsolete functions and variables 2023-09-02 15:37:08 +02:00
efaq.texi ; Mention 64-bit first in FAQ on large files 2023-09-28 21:44:10 +02:00
eglot.texi ; Fix typos 2023-09-24 09:04:43 +02:00
eieio.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
emacs-gnutls.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
emacs-mime.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
epa.texi Add basic usage information and fix references 2023-07-13 10:51:10 +03:00
erc.texi Sort and dedupe when loading modules in erc-open 2023-10-13 07:47:00 -07:00
ert.texi Add skip-when macro to ert-deftest 2023-09-04 18:25:18 +02:00
eshell.texi Support Eshell iterative evaluation in the background 2023-10-02 20:49:41 -07:00
eudc.texi Fix some Texinfo markup in manuals 2023-06-13 15:29:06 +01:00
eww.texi ; Fix documentation of last change 2023-08-20 11:48:03 +03:00
flymake.texi Make obsolete flymake proc less prominent in manual 2023-09-17 15:36:35 +02:00
forms.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
gnus-faq.texi Delete redundant question from Gnus FAQ 2023-02-18 13:35:37 +01:00
gnus.texi Merge from origin/emacs-29 2023-10-07 03:46:48 -04:00
gpl.texi
htmlfontify.texi ; Fix last change: remove unused @anchor. 2023-01-15 11:52:46 +02:00
idlwave.texi Correct many instances of ``allows to'' 2023-09-10 09:33:50 +08:00
ido.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
info.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
mairix-el.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
Makefile.in ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
message.texi Allow X-Message-SMTP-Method to include more MTAs 2023-05-06 09:05:28 +08:00
mh-e.texi Delete references to gnuserv 2023-09-02 02:47:46 +02:00
modus-themes.org Update modus-themes to their version 4.3.0 2023-09-19 16:03:11 +03:00
newsticker.texi Run newsticker's ticker only periodically (bug#59856) 2023-01-16 09:20:11 +01:00
nxml-mode.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
octave-mode.texi Delete references to gnuserv 2023-09-02 02:47:46 +02:00
org-setup.org ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
org.org ; Grammar fixes ("allow to" et al) 2023-09-17 16:49:21 +02:00
pcl-cvs.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
pgg.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
rcirc.texi Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
reftex.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
remember.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
sasl.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
sc.texi Merge from origin/emacs-29 2023-01-01 05:47:47 -05:00
sem-user.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
semantic.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ses.texi Correct many instances of ``allows to'' 2023-09-10 09:33:50 +08:00
sieve.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
smtpmail.texi ; Improve SMTPmail documentation about OAuth2 2023-08-24 21:06:26 +03:00
speedbar.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
srecode.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
texinfo.tex Update from Gnulib by running admin/merge-gnulib 2023-08-12 12:57:35 -07:00
todo-mode.texi Fix and improve setting priority of todo-mode items (bug#64433) 2023-07-03 14:19:41 +02:00
tramp.texi ; Grammar fixes ("allow to" et al) 2023-09-17 16:49:21 +02:00
trampver.texi Sync with Tramp 2.6.2-pre 2023-08-05 18:07:58 +02:00
transient.texi ; Reintroduce menus beneath chapters in the Transient manual 2023-09-03 09:12:32 +08:00
url.texi Make url-gateway-broken-resolution obsolete 2023-09-02 02:37:03 +02:00
use-package.texi Merge from origin/emacs-29 2023-06-17 05:02:55 -04:00
vhdl-mode.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
vip.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
viper.texi Doc fix; more consistently refer to "text terminals" 2023-10-01 13:58:53 +02:00
vtable.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
widget.texi A revision to the Widget manual 2023-09-02 14:25:04 +03:00
wisent.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
woman.texi ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00