1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-09 05:01:02 -08:00
emacs/lisp/erc
F. Jason Park 4d656ea5ff Don't send empty lines for implicit targets in ERC
* 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).
2021-11-06 03:09:43 +01:00
..
ChangeLog.1
ChangeLog.2
erc-autoaway.el ; Some more docfixes for erc/*.el 2021-09-19 13:21:56 +02:00
erc-backend.el Fix define-erc-response-handler indentation 2021-10-24 18:54:31 +02:00
erc-button.el Obsolete XEmacs compat convention in 'erc-button-press-button' 2021-10-11 09:39:17 -04:00
erc-capab.el Prefer https and fix broken links in ERC 2021-03-20 10:00:28 +01:00
erc-compat.el * lisp/erc/erc-compat.el (format-spec): Remove redundant require. 2021-10-18 01:50:33 +02:00
erc-dcc.el * list/erc/erc-{replace,imenu,dcc}: Tweak copyright format 2021-10-11 20:55:19 -04:00
erc-desktop-notifications.el ; Normalize and add missing first and last lines 2021-04-19 12:21:01 +02:00
erc-ezbounce.el lisp/erc: Use lexical-binding 2021-03-18 23:14:33 -04:00
erc-fill.el ; Stylistic docfixes in erc/*.el found by checkdoc 2021-09-19 12:59:55 +02:00
erc-goodies.el Remove last XEmacs compat code from ERC 2021-10-12 02:41:35 +02:00
erc-ibuffer.el ; Minor stylistic fixes found by checkdoc 2021-09-16 19:37:07 +02:00
erc-identd.el ; Stylistic docfixes in erc/*.el found by checkdoc 2021-09-19 12:59:55 +02:00
erc-imenu.el * list/erc/erc-{replace,imenu,dcc}: Tweak copyright format 2021-10-11 20:55:19 -04:00
erc-join.el ; Stylistic docfixes in erc/*.el found by checkdoc 2021-09-19 12:59:55 +02:00
erc-lang.el lisp/erc: Use lexical-binding 2021-03-18 23:14:33 -04:00
erc-list.el lisp/erc: Use lexical-binding 2021-03-18 23:14:33 -04:00
erc-log.el ; Stylistic docfixes in erc/*.el found by checkdoc 2021-09-19 12:59:55 +02:00
erc-match.el ; Stylistic docfixes in erc/*.el found by checkdoc 2021-09-19 12:59:55 +02:00
erc-menu.el ; Stylistic docfixes in erc/*.el found by checkdoc 2021-09-19 12:59:55 +02:00
erc-netsplit.el ; Minor stylistic fixes found by checkdoc 2021-09-16 19:37:07 +02:00
erc-networks.el Prefer seq-random-elt to nth+random 2021-09-24 19:41:03 +02:00
erc-notify.el ; Stylistic docfixes in erc/*.el found by checkdoc 2021-09-19 12:59:55 +02:00
erc-page.el ; Normalize and add missing first and last lines 2021-04-19 12:21:01 +02:00
erc-pcomplete.el ; Stylistic docfixes in erc/*.el found by checkdoc 2021-09-19 12:59:55 +02:00
erc-replace.el * list/erc/erc-{replace,imenu,dcc}: Tweak copyright format 2021-10-11 20:55:19 -04:00
erc-ring.el ; Minor stylistic fixes found by checkdoc 2021-09-16 19:37:07 +02:00
erc-services.el ERC: NickServ: Prompt for password last, overall simplifications (bug#46777) 2021-09-17 00:31:31 -04:00
erc-sound.el ; Stylistic docfixes in erc/*.el found by checkdoc 2021-09-19 12:59:55 +02:00
erc-speedbar.el ERC: Use 'string-search' only on Emacs 28 and later 2021-09-12 14:32:12 -04:00
erc-spelling.el ; Minor stylistic fixes found by checkdoc 2021-09-16 19:37:07 +02:00
erc-stamp.el ; Stylistic docfixes in erc/*.el found by checkdoc 2021-09-19 12:59:55 +02:00
erc-status-sidebar.el ; Minor stylistic fixes found by checkdoc 2021-09-16 19:37:07 +02:00
erc-track.el ; Stylistic docfixes in erc/*.el found by checkdoc 2021-09-19 12:59:55 +02:00
erc-truncate.el ; Minor stylistic fixes found by checkdoc 2021-09-16 19:37:07 +02:00
erc-xdcc.el ; Minor stylistic fixes found by checkdoc 2021-09-16 19:37:07 +02:00
erc.el Don't send empty lines for implicit targets in ERC 2021-11-06 03:09:43 +01:00