aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/erc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo in ERC DCC code in verbose modeMattias EngdegÄrd2022-03-291-1/+1
| | | | | * lisp/erc/erc-dcc.el (erc-dcc-send-block): Typo causing incorrect message when `erc-dcc-verbose` is set.
* Remove redundant checks in erc--switch-to-bufferGuy Gastineau2022-03-191-6/+1
| | | | | | | | | * lisp/erc/erc.el (erc--switch-to-buffer): Commit f925fc93bac41d7622d1af927e33b0e738ff55b0 "Add `predicate' arg to `read-buffer' and use it for erc-iswitchb" meant to remove this, but it was left behind. (Bug#53617) Copyright-paperwork-exempt: yes
* ERC: Add new comaintainer, F. Jason ParkAmin Bandali2022-01-2436-37/+37
| | | | * lisp/erc/erc*.el: Add J.P. as my comaintainer to headers.
* Add `auth-info-password' and use it instead of ad hoc codeSam Steingold2022-01-072-32/+18
| | | | | | | | | | | | | | | | | | | * lisp/auth-source.el (auth-info-password): Extract from `auth-source-pick-first-password'. (auth-source-pick-first-password, auth-source-secrets-create) (auth-source-user-and-password): Use `auth-info-password'. * lisp/erc/erc-services.el (erc-nickserv-get-password): Use `auth-source-pick-first-password'. * lisp/erc/erc.el (erc-open, erc-server-join-channel): Likewise. * lisp/gnus/mail-source.el (mail-source-set-1): Add a comment. * lisp/gnus/nnimap.el (nnimap-credentials): Use `auth-info-password'. * lisp/gnus/nntp.el (nntp-send-authinfo): Likewise. * lisp/mail/rmail.el (rmail-get-remote-password): Likewise. * lisp/mail/smtpmail.el (smtpmail-try-auth-methods): Likewise. * lisp/net/sieve-manage.el (sieve-sasl-auth): Likewise. * lisp/net/tramp.el (tramp-read-passwd): Likewise. * lisp/net/rcirc.el (rcirc): Likewise (fixes a bug: the possibility that password might be a function was not handled).
* Merge from origin/emacs-28Eli Zaretskii2022-01-0138-38/+38
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 836be7a112 ; * etc/refcards/ru-refcard.tex: Update Copyright year. 86cbc6ee4a * lisp/net/tramp-sh.el: Adapt copyright year ebe8772f65 ; Minor fixes related to copyright years 23c1ee6989 ; * test/manual/etags/ETAGS.good_N: Adjust to copyright ye... 8d3fc7ec89 * src/xfaces.c (face_for_font): Make 'hash' be uintptr_t. 19dcb237b5 ; Add 2022 to copyright years. # Conflicts: # etc/NEWS # etc/refcards/ru-refcard.tex # lib/cdefs.h # lisp/erc/erc-dcc.el # lisp/erc/erc-imenu.el # lisp/erc/erc-replace.el # lisp/image-dired.el # lisp/progmodes/xref.el # m4/alloca.m4 # m4/byteswap.m4 # m4/errno_h.m4 # m4/getopt.m4 # m4/gnulib-common.m4 # m4/inttypes.m4 # m4/stddef_h.m4 # m4/stdint.m4 # m4/sys_socket_h.m4
| * ; Add 2022 to copyright years.Eli Zaretskii2022-01-0138-38/+38
| |
* | Use substitute-command-keys for literal key sequencesStefan Kangas2021-11-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/abbrev.el (expand-region-abbrevs): * lisp/calc/calc-graph.el (calc-graph-show-dumb): * lisp/calc/calc-help.el (calc-help-for-help): * lisp/calc/calc-mode.el (calc-auto-why): * lisp/calc/calc.el (calc-do): * lisp/calculator.el (calculator-mode): * lisp/dired-aux.el (dired-create-files) (dired-do-create-files-regexp, dired-create-files-non-directory): * lisp/dired-x.el (dired-virtual): * lisp/dired.el (dired-mark-region, dired-unmark-all-files): * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p): * lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode): * lisp/epa-ks.el (epa-ks--display-keys): * lisp/erc/erc.el (erc-toggle-debug-irc-protocol): * lisp/files.el (save-some-buffers): * lisp/gnus/gnus-dired.el (gnus-dired-find-file-mailcap) (gnus-dired-print): * lisp/gnus/gnus-group.el (gnus-keep-same-level): * lisp/gnus/gnus-score.el (gnus-score-find-trace): * lisp/gnus/gnus.el (to-list): * lisp/gnus/message.el (message--send-mail-maybe-partially): * lisp/mail/supercite.el (sc-set-variable): * lisp/minibuffer.el (minibuffer-inactive-mode): * lisp/progmodes/etags.el (select-tags-table): * lisp/progmodes/idlw-shell.el (idlwave-shell-mode) (idlwave-shell-char-mode-loop): * lisp/replace.el (query-replace-help): * lisp/simple.el (set-variable): * lisp/subr.el (read-char-from-minibuffer): * lisp/textmodes/ispell.el (ispell-help, ispell-message): * lisp/textmodes/reftex-global.el (reftex-find-duplicate-labels): * lisp/textmodes/reftex-vars.el (reftex-toc-include-file-boundaries) (reftex-toc-include-labels, reftex-toc-include-index-entries) (reftex-toc-include-context, reftex-toc-follow-mode) (reftex-index-include-context, reftex-index-follow-mode) (reftex-enable-partial-scans) (reftex-auto-update-selection-buffers) (reftex-highlight-selection): * lisp/time.el (display-time-update): * lisp/vc/ediff-help.el (ediff-help-for-quick-help): * lisp/vc/ediff-init.el (ediff-keep-variants): * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map) (ediff-patch-file-internal): * lisp/windmove.el (windmove-delete-default-keybindings): Use 'substitute-command-keys' for literal key sequences. * lisp/userlock.el (userlock--fontify-key): Remove function. (ask-user-about-lock, ask-user-about-lock-help) (ask-user-about-supersession-threat) (ask-user-about-supersession-help): Use 'substitute-command-keys' for literal key sequences. * lisp/ibuffer.el (ibuffer-unmark-all): Use 'substitute-command-keys' for command.
* | Make erc-mode noninteractiveLars Ingebrigtsen2021-11-161-0/+1
| | | | | | | | | | * lisp/erc/erc.el (erc-mode): Mark it as noninteractive, because using it from `M-x' will only lead to problems (bug#51841).
* | Merge from origin/emacs-28Stefan Kangas2021-11-131-1/+1
|\ \ | |/ | | | | | | 42d4e24ff3 ; Fix typos 0d0125daae Improve documentation of 'decode-coding-region'
| * ; Fix typosStefan Kangas2021-11-121-1/+1
| |
* | erc: Don't announce broken functionality in /query docstringStefan Kangas2021-11-111-5/+7
| | | | | | | | | | | | | | * lisp/erc/erc.el (erc-cmd-QUERY): Be less enthusiastic about announcing missing/broken functionality. The comment "except this is broken right now" has been there since 2008, and it's not obvious to me that we should ever re-add it.
* | Prefer locate-user-emacs-fileStefan Kangas2021-11-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | * lisp/cmuscheme.el (scheme-start-file): * lisp/erc/erc.el (erc-startup-file-list): * lisp/net/nsm.el (nsm-settings-file): * lisp/net/tramp-crypt.el (tramp-crypt-config-file-name): * lisp/org/org-clock.el (org-clock-persist-file): * lisp/org/org-id.el (org-id-locations-file) * lisp/shell.el (shell): Prefer 'locate-user-emacs-file' to fiddling with 'user-emacs-directory' directly.
* | Don't send empty lines for unknown commands in ERCF. Jason Park2021-11-061-1/+1
| | | | | | | | | | | | | | | | * lisp/erc/erc.el (erc-cmd-default): prevent excess trailing newlines from being sent. * test/lisp/erc/erc-tests.el: Update `erc-process-input-line' test to check for excess line feeds with unknown commands.
* | Deprecate instead of redefine erc-server-reconnectingF. Jason Park2021-11-062-7/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/erc/erc-backend.el (erc-server-reconnecting, erc--server-reconnecting): obsolete and replace the former with new internal variant, which carries a simplified meaning. (erc-server-reconnect-p, erc--server-reconnect-p): Obsolete and replace the former with an internal function, and change behavior to disregard `erc-server-reconnecting' when rendering verdict. (erc-process-sentinel-2): ensure local var `erc--server-reconnecting' is t when timers are scheduled or firing, and nil otherwise, including after retries exhausted. This agrees with the straightforward way `erc-server-reconnecting' has always been used by `erc-cmd-RECONNECT'. (erc-server-connect): set `erc--server-reconnecting'. * lisp/erc/erc.el (erc-cmd-RECONNECT): use `erc--server-reconnecting' instead of `erc-server-reconnecting'.
* | Normalize usage of variable erc-server-reconnectingF. Jason Park2021-11-061-20/+17
| | | | | | | | | | | | | | | | | | | | * lisp/erc/erc-backend.el (erc-server-reconnecting-p): Don't consider erc-server-reconnecting when rendering verdict. (erc-process-sentinel-2): ensure local variable erc-server-reconnecting is t when timers are scheduled or running and trying to reconnect, and nil otherwise, including after no retries remain. Previously, its use and meaning in erc-backend were convoluted and conflicted with its use in erc-cmd-RECONNECT (bug#50007).
* | Don't send empty lines for implicit targets in ERCF. Jason Park2021-11-061-12/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * erc.el (erc-send-input-line): Previously, any line typed into a query or channel buffer without an explicit user-command handler (meaning most lines), would be sent twice because a trailing newline (linefeed) would be appended. This has been verified by checking IRCd server logs. IRCds won't return an error upon receiving an empty message, but they also won't forward them to channel subscribers and DM pals. * erc-tests.el: Add test for erc-process-input-line, which also indirectly tests erc-send-input-line. It also tests the command lookup and dispatch facility (bug#50008).
* | Fix define-erc-response-handler indentationLars Ingebrigtsen2021-10-241-1/+2
| | | | | | | | | | * lisp/erc/erc-backend.el (define-erc-response-handler): Add proper indentation.
* | * lisp/erc/erc-compat.el (format-spec): Remove redundant require.Stefan Kangas2021-10-181-2/+0
| |
* | Release ERC 5.4.1Amin Bandali2021-10-151-3/+4
| | | | | | | | | | | | | | * doc/misc/erc.texi (ERCVER): Bump to 5.4.1. * etc/ERC-NEWS: Add entry for 5.4.1 with explanations. * lisp/erc/erc.el (Version, erc-version): Bump to 5.4.1. (customize-package-emacs-version-alist): Add entry for 5.4.1.
* | Mark def* macros for indentationLars Ingebrigtsen2021-10-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/widget.el (define-widget-keywords): * lisp/vc/pcvs.el (defun-cvs-mode): * lisp/subr.el (defvar-local): (defvar-keymap): * lisp/skeleton.el (define-skeleton): * lisp/simple.el (define-alternatives): * lisp/progmodes/gud.el (gdb-script-mode): * lisp/progmodes/gdb-mi.el (def-gdb-preempt-display-buffer): (def-gdb-auto-update-trigger): (def-gdb-auto-update-handler): (def-gdb-trigger-and-handler): (def-gdb-thread-buffer-command): (def-gdb-thread-buffer-simple-command): (def-gdb-thread-buffer-gud-command): (def-gdb-set-positive-number): (def-gdb-memory-format): (def-gdb-memory-unit): (def-gdb-memory-show-page): * lisp/progmodes/compile.el (define-compilation-mode): * lisp/progmodes/cc-vars.el (defcustom-c-stylevar): * lisp/obsolete/cl.el (define-setf-expander): (defsetf): (define-modify-macro): * lisp/obsolete/cl-compat.el (defkeyword): * lisp/net/hmac-def.el (define-hmac-function): * lisp/international/mule-conf.el (define-iso-single-byte-charset): * lisp/international/ccl.el (define-ccl-program): * lisp/image.el (defimage): * lisp/gnus/gmm-utils.el (defun-gmm): * lisp/ezimage.el (defezimage): * lisp/erc/erc.el (define-erc-module): * lisp/emacs-lisp/shortdoc.el (define-short-documentation-group): * lisp/emacs-lisp/eieio.el (defclass): * lisp/emacs-lisp/eieio-compat.el (defgeneric): (defmethod): * lisp/emacs-lisp/easy-mmode.el (define-minor-mode): (define-globalized-minor-mode): * lisp/emacs-lisp/derived.el (define-derived-mode): * lisp/emacs-lisp/byte-run.el (defsubst): (define-obsolete-function-alias): (define-obsolete-variable-alias): * lisp/custom.el (defcustom): (defface): (defgroup): (deftheme): * lisp/cedet/semantic/wisent.el (define-wisent-lexer): * lisp/cedet/semantic/lex.el (define-lex): (define-lex-analyzer): (define-lex-regex-analyzer): (define-lex-simple-regex-analyzer): (define-lex-block-analyzer): (define-lex-keyword-type-analyzer): (define-lex-sexp-type-analyzer): (define-lex-regex-type-analyzer): (define-lex-string-type-analyzer): (define-lex-block-type-analyzer): * lisp/cedet/semantic/lex-spp.el (define-lex-spp-macro-declaration-analyzer): (define-lex-spp-macro-undeclaration-analyzer): (define-lex-spp-include-analyzer): * lisp/cedet/semantic/dep.el (defcustom-mode-local-semantic-dependency-system-include-path): * lisp/cedet/semantic/decorate/mode.el (define-semantic-decoration-style): * lisp/cedet/mode-local.el (define-child-mode): (define-overloadable-function): (define-mode-local-override): * lisp/calc/calc.el (defcalcmodevar): (defmath): Explicitly mark all macros that have names that start with "def" that should indent defunly-like (bug#43329).
* | * list/erc/erc-{replace,imenu,dcc}: Tweak copyright formatStefan Monnier2021-10-113-6/+3
| | | | | | | | | | | | * lisp/erc/erc-replace.el: * lisp/erc/erc-imenu.el: * lisp/erc/erc-dcc.el: Massage copyright so elpa-admin.el recognizes it
* | Remove last XEmacs compat code from ERCStefan Kangas2021-10-122-4/+2
|/ | | | | | | * lisp/erc/erc-dcc.el (erc-dcc-member): Remove XEmacs compat code. * lisp/erc/erc-goodies.el (erc-move-to-prompt-setup): Doc fix; remove spurious reference to XEmacs; this is needed also for Emacs.
* Release ERC 5.4Amin Bandali2021-10-111-3/+4
| | | | | * lisp/erc/erc.el (Version, erc-version): Bump to 5.4. (customize-package-emacs-version-alist): Add entry for 5.4.
* Add ERC entries for 'customize-package-emacs-version-alist'Amin Bandali2021-10-111-0/+8
| | | | | * lisp/erc/erc.el (customize-package-emacs-version-alist): Add entries for existing ERC versions.
* Obsolete XEmacs compat convention in 'erc-button-press-button'Stefan Kangas2021-10-111-2/+1
| | | | | * lisp/erc/erc-button.el (erc-button-press-button): Advertise new calling convention without XEmacs compatibility.
* Backport: Add ERC version to protocol logF. Jason Park2021-10-111-0/+1
| | | | | | | * lisp/erc/erc.el (erc-toggle-debug-irc-protocol): Include the erc version in the debug logs (bug#51107). (cherry picked from commit 13411346202f86e950bee076a5d528e98695fbb4)
* * lisp/erc/erc.el: Don't error if 'erc-loaddefs' does not exist.Amin Bandali2021-10-061-1/+1
| | | | | | That autoload file is created as part of the Emacs compilation process, however we would like ERC to be usable if used outside emacs.git (e.g. if installed from GNU ELPA).
* Add 'erc-bug' command for reporting ERC bugsAmin Bandali2021-10-061-0/+9
| | | | | | | | * etc/ERC-NEWS: Announce the new command, and mention it at the top of the file along with 'report-emacs-bug'. * lisp/erc/erc.el (erc-bug): New command for reporting ERC bugs. It prompts for a subject, and passes it on to 'report-emacs-bug' along with the current ERC version, with the ERC mailing list in Cc.
* Add 'erc-version' and use it to display ERC version consistentlyAmin Bandali2021-10-061-7/+17
| | | | | | | | | | | | | | * lisp/erc/erc.el (erc-version): New constant holding the current ERC version, now used in the function with the same name to produce a version string for use across ERC for consistency. Also, add another optional argument, 'bold-erc', which when non-nil, marks the "ERC" portion of the string with the control character for bold display. (erc-quit/part-reason-default): Use the 'erc-version' function for a consistent version string. (erc-cmd-SV): Mention the ERC version number from the 'erc-version' constant. (erc-ctcp-query-VERSION): Use the 'erc-version' function for a consistent version string.
* * lisp/erc/erc.el (erc-user-mode): Set "+i" by default.Stefan Kangas2021-10-031-2/+4
|
* ; Oops, fix up last commitAmin Bandali2021-10-011-1/+1
|
* Rename arguments of ERC's '/whois' and simplify doc stringStefan Kangas2021-10-011-15/+13
| | | | | * lisp/erc/erc.el (erc-cmd-WHOIS): Rename arguments and reword the doc string to further clarify and simplify.
* Add new '/wii' convenience ERC commandAmin Bandali2021-09-291-0/+12
| | | | | | | | | * etc/NEWS: Announce the addition of the command. * lisp/erc/erc.el (erc-cmd-WII): Add '/wii' convenience command which calls the '/whois' command with the given nick as both arguments, which is useful for displaying the whois information for the nick along with idle time, even if the nick is on a different server than the one we are currently connected to.
* Restore the previous order of ERC's '/whois' argumentsAmin Bandali2021-09-291-11/+18
| | | | | | | | * etc/NEWS: Remove unneeded entry. * lisp/erc/erc.el (erc-cmd-WHOIS): Restore the previous order of arguments sent to the server, so that there's no change in the function's behavior. Instead, rename the arguments to be more accurate, and expand upon them in the doc string.
* Switch the order of ERC's '/whois' arguments sent to the serverAmin Bandali2021-09-291-3/+6
| | | | | | | | | * lisp/erc/erc.el (erc-cmd-WHOIS): Switch the order of 'server' and 'user' arguments sent to the server. Per RFC 1459 and RFC 2812, the optional 'server' argument command comes before the 'user' argument, not after. While at it, update the doc string to explain why one may want to specify the 'server' argument. * etc/NEWS: Announce the change.
* Unobsolete erc-compat.elAmin Bandali2021-09-281-0/+161
| | | | | | | | * lisp/obsolete/erc-compat.el: Move from here... * lisp/erc/erc-compat.el: ...back to here. ERC will soon be added to GNU ELPA, and erc-compat.el will be used to provide compatibility functions and/or variables for using ERC on older Emacsen. * etc/NEWS: Remove the previously added obsoletion news item.
* ; Adjust overly long docstrings to fit 80 charactersStefan Kangas2021-09-262-4/+4
|
* Buttonize functions in curved quotes in ERCStefan Kangas2021-09-251-1/+1
| | | | | * lisp/erc/erc-button.el (erc-button-alist): Buttonize Emacs functions in curved quotes. (Bug#49964)
* Prefer seq-random-elt to nth+randomStefan Kangas2021-09-241-1/+1
| | | | | | | | | | | | | | | | | * lisp/emacs-lisp/seq.el (seq-random-elt): Autoload. * lisp/avoid.el (mouse-avoidance-random-shape): * lisp/epa-ks.el (epa-ks--query-url): * lisp/erc/erc-networks.el (erc-server-select): * lisp/gnus/gnus-fun.el (gnus--random-face-with-type) (gnus-fun-ppm-change-string): * lisp/net/soap-inspect.el (soap-sample-value-for-xs-simple-type): * lisp/obsolete/landmark.el (landmark-random-move): * lisp/play/mpuz.el (mpuz-build-random-perm): * lisp/play/zone.el (zone-pgm-stress): * lisp/vc/add-log.el (add-change-log-entry): * test/lisp/net/tramp-tests.el (tramp-test44-asynchronous-requests): Prefer seq-random-elt to nth+random.
* ; Some more docfixes for erc/*.elStefan Kangas2021-09-194-12/+11
|
* ; Stylistic docfixes in erc/*.el found by checkdocStefan Kangas2021-09-1915-107/+81
|
* Add new '/opme' and '/deopme' convenience ERC commandsAmin Bandali2021-09-181-0/+18
| | | | | | | | | * lisp/erc/erc.el (erc-cmd-OPME, erc-cmd-DEOPME): Add convenience commands for setting and unsetting the operator status on the current nick in the current channel. 'erc-cmd-OPME' relies on ChanServ for obtaining the operator status (see doc string for more details). * etc/NEWS: Announce the addition of the commands.
* * lisp/erc/erc.el: Add Package-Requires and URL headers.Amin Bandali2021-09-171-3/+4
|
* ERC: NickServ: Prompt for password last, overall simplifications (bug#46777)Olivier Certner2021-09-171-70/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When 'erc-prompt-for-nickserv-password' is non-nil, don't ignore the other forms of identification. Instead, process them first, and prompt for the password last. Separate concerns (determination of the nick to use, of the password to use, and actual message sending). Note that the user can be interactively prompted for a password on reception of a NickServ request, as before (on 'erc-prompt-for-nickserv-password'). * lisp/erc/erc-services.el (erc-nickserv-identify): Make the password argument optional (and don't prompt for it interactively). Further, now take the nick to use for identification (interactively, ask for it, defaulting to the current one). Move the actual message sending into the new 'erc-nickserv-send-identify' function, and the password prompting into 'erc-nickserv-get-password'. (erc-nickserv-send-identify): New function containing the code for sending the identify message to NickServ, given the nick and password. (erc-nickserv-get-password): Try each password source in turn, in the following order: 'erc-nickserv-passwords', auth-source (if 'erc-use-auth-source-for-nickserv-password' is non-nil), and in the end prompt the user interactively (if 'erc-prompt-for-nickserv-password' is non-nil). If one source returns a string, the function returns it, or nil if the string is empty. (erc-nickserv-call-identify-function): Declare obsolete, but retain for backward compatibility. Prefer invoking 'erc-nickserv-identify' directly instead. (erc-nickserv-identify-autodetect, erc-nickserv-identify-on-connect) (erc-nickserv-identify-on-nick-change): Call 'erc-nickserv-identify' directly ('erc-nickserv-call-identify-function' has been obsoleted). For the last two functions, remove the redundant checks on the NickServ identification flags (additionally, it is doubtful they have any measurable impact on performance). * etc/NEWS: Announce the change. Co-authored-by: F. Jason Park <jp@neverwas.me>
* * lisp/erc/erc-button.el (erc-emacswiki-url): Update to shorter address.Amin Bandali2021-09-161-2/+3
|
* ; Minor stylistic fixes found by checkdocStefan Kangas2021-09-1616-75/+78
|
* Allow irc network symbols in erc-autojoin-channels-alistKevin Brubeck Unhammer2021-09-161-16/+37
| | | | | | | | | | | | | | | | | | | | | | * lisp/erc/erc-join.el (erc-autojoin-channels-alist): Explain the extension. (erc-autojoin-server-match): New function. (erc-autojoin-channels): Use it. (erc-autojoin-current-server): New function. (erc-autojoin-add): Use it. (erc-autojoin-remove): Ditto. This can be useful when connecting to an IRC proxy like Weechat that relays several networks under the same server. If we just keyed on the server name, we would end up joining a channel on all networks whenever we join one network on that server. Networks are simply stored as symbols instead of regexes, since that's how `erc-network' works. The `erc-autojoin-add' function will still auto-add servers as strings if the network doesn't have at least one entry in `erc-autojoin-channels-alist'.
* Prefer "website" to "homepage"Stefan Kangas2021-09-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These days, a "home page" is understood to be only "the main web page of a website" or "landing page", whereas a "website" is "a collection of web pages and related content" (Wikipedia). * doc/emacs/emacs.texi (Top): * doc/emacs/package.texi (Package Menu): * doc/lispintro/emacs-lisp-intro.texi (Top): * doc/lispref/elisp.texi (Top): * doc/lispref/tips.texi (Documentation Tips): * doc/misc/ede.texi (ede-project): * doc/misc/efaq-w32.texi (More information): * doc/misc/gnus-faq.texi (FAQ 5-7): * doc/misc/gnus.texi (About mairix): * doc/misc/mairix-el.texi (About): * doc/misc/reftex.texi (AUCTeX, Imprint): * lisp/cedet/ede/base.el (ede-project): * lisp/cedet/ede/system.el (ede-web-browse-home): * lisp/emacs-lisp/package.el (package-menu-mode-menu) (package-browse-url): * lisp/erc/erc-button.el (erc-emacswiki-url): * lisp/filesets.el (filesets-goto-homepage): * lisp/net/mairix.el: * lisp/net/webjump.el (webjump-sample-sites): * lisp/obsolete/vc-arch.el: * lisp/progmodes/idlw-shell.el (idlwave-shell-mode): * lisp/progmodes/idlwave.el (idlwave, idlwave-mode): * lisp/textmodes/reftex-vars.el (reftex): Prefer "website" to "home page". * doc/lispref/tips.texi (Documentation Tips): Sort the "URL" header comment before "Homepage". * lisp/emacs-lisp/lisp-mnt.el (lm-website): Rename from 'lm-homepage'. (lm-homepage): Make into alias for 'lm-website'.
* Change the erc debug logging format to be more repeatableF. Jason Park2021-09-161-27/+52
| | | | | | | | | | | | | | | | | * erc.el (erc-debug-irc-protocol): Fix line-ending mismatch between incoming and outgoing logger lines without changing interface. Do this by adding carriage returns to the latter to improve machine readability. Change printed peer labels to most accurately reflect logical endpoints. (erc-debug-irc-protocol-time-format): Add new variable to support timestamps in protocol logger output. (erc-debug-irc-protocol-version): Add new variable to help tooling track logging format independent of ERC and Emacs versions. (erc-toggle-debug-irc-protocol): Add headers to protocol-log buffer to aid future bug-reproduction tools. Clean up overlong lines (bug#50009).
* Fix erc nick trimmingF. Jason Park2021-09-161-17/+7
| | | | | | | | | | | * lisp/erc/erc.el (erc-lurker-maybe-trim): Prevent warning from showing up in third-party code using this function by autoloading rx.el when needed. Remove trailing chars appended for uniquifying purposes when a nick is already taken. Special thanks to Mattias EngdegÄrd for making this more respectable (Bug#50005). * test/lisp/erc/erc-tests.el: Add tests for the above and require erc-networks.