diff options
| author | F. Jason Park | 2022-11-29 22:53:44 -0800 |
|---|---|---|
| committer | F. Jason Park | 2023-02-14 08:25:00 -0800 |
| commit | 4eac80fcc39917c4dbb7d66c9c85003bfd994409 (patch) | |
| tree | a9e6a53e431810396d0198c304102906d22e0ff7 | |
| parent | 4f099a721730b3c5e75133f75d34ff8b379522a1 (diff) | |
| download | emacs-4eac80fcc39917c4dbb7d66c9c85003bfd994409.tar.gz emacs-4eac80fcc39917c4dbb7d66c9c85003bfd994409.zip | |
; Prepare to update ERC version to 5.5
* doc/misc/erc.texi: Mention in various places that ERC is also
available from GNU ELPA.
* etc/ERC-NEWS: Mention Compat dependency and shorten title for
auth-source section.
* lisp/erc/erc-backend.el: (erc-server-reconnect-function,
erc-tags-format): Update package version to 5.5.
(erc--parse-message-tags): Downcase warning "type" to remain
consistent with all other ERC warnings.
* lisp/erc/erc-button.el: (erc-button-alist): Change package-version
to 5.5.
* lisp/erc/erc-match.el (erc-match-quote-when-adding): Update package
version to 5.5.
* lisp/erc/erc-sasl.el: Mention actual info node in Commentary.
(erc-sasl): Update package version to 5.5.
(erc-sasl-password): Reword doc string.
(erc-sasl-auth-source-function): Capitalize "info" in doc string.
* lisp/erc/erc-services.el (erc-auth-source-services-function): Update
package version to 5.5. Capitalize "info" in doc string. Change
choice type from const to function-item.
* lisp/erc/erc.el (erc-password): Capitalize "info" in doc string.
(erc-inhibit-multiline-input, erc-ask-about-multiline-input,
erc-prompt-hidden, erc-hide-prompt, erc-unhide-query-prompt,
erc-join-buffer, erc-reconnect-display, erc-kill-server-hook,
erc-kill-channel-hook, erc-kill-buffer-hook,
erc-url-connect-function): Update package version to 5.5.
(erc-auth-source-server-function, erc-auth-source-join-function):
Update package version to 5.5. Change choice type from const to
function-item. Capitalize "info" in doc string.
(erc-tls): Capitalize "info" in doc string.
| -rw-r--r-- | doc/misc/erc.texi | 12 | ||||
| -rw-r--r-- | etc/ERC-NEWS | 20 | ||||
| -rw-r--r-- | lisp/erc/erc-backend.el | 6 | ||||
| -rw-r--r-- | lisp/erc/erc-button.el | 2 | ||||
| -rw-r--r-- | lisp/erc/erc-match.el | 2 | ||||
| -rw-r--r-- | lisp/erc/erc-sasl.el | 39 | ||||
| -rw-r--r-- | lisp/erc/erc-services.el | 6 | ||||
| -rw-r--r-- | lisp/erc/erc.el | 44 |
8 files changed, 72 insertions, 59 deletions
diff --git a/doc/misc/erc.texi b/doc/misc/erc.texi index 8030dfa4bb7..d5ec0f48e1c 100644 --- a/doc/misc/erc.texi +++ b/doc/misc/erc.texi | |||
| @@ -90,7 +90,8 @@ Advanced Usage | |||
| 90 | @chapter Introduction | 90 | @chapter Introduction |
| 91 | 91 | ||
| 92 | ERC is a powerful, modular, and extensible IRC client for Emacs. | 92 | ERC is a powerful, modular, and extensible IRC client for Emacs. |
| 93 | It is distributed with Emacs since version 22.1. | 93 | It has been included in Emacs since 2006 (@pxref{History}) and is also |
| 94 | available on GNU ELPA. | ||
| 94 | 95 | ||
| 95 | IRC is short for Internet Relay Chat. When using IRC, you can | 96 | IRC is short for Internet Relay Chat. When using IRC, you can |
| 96 | communicate with other users on the same IRC network. There are many | 97 | communicate with other users on the same IRC network. There are many |
| @@ -1463,6 +1464,7 @@ or if you have bugs to report, there are several places you can go. | |||
| 1463 | @item | 1464 | @item |
| 1464 | @uref{https://www.emacswiki.org/emacs/ERC} is the | 1465 | @uref{https://www.emacswiki.org/emacs/ERC} is the |
| 1465 | emacswiki.org page for ERC@. Anyone may add tips, hints, etc.@: to it. | 1466 | emacswiki.org page for ERC@. Anyone may add tips, hints, etc.@: to it. |
| 1467 | If you do so, please help keep it up to date. | ||
| 1466 | 1468 | ||
| 1467 | @item | 1469 | @item |
| 1468 | You can ask questions about using ERC on the Emacs mailing list, | 1470 | You can ask questions about using ERC on the Emacs mailing list, |
| @@ -1471,7 +1473,13 @@ You can ask questions about using ERC on the Emacs mailing list, | |||
| 1471 | @item | 1473 | @item |
| 1472 | You can visit the IRC Libera.Chat channel @samp{#emacs}. Many of the | 1474 | You can visit the IRC Libera.Chat channel @samp{#emacs}. Many of the |
| 1473 | contributors are frequently around and willing to answer your | 1475 | contributors are frequently around and willing to answer your |
| 1474 | questions. | 1476 | questions. You can also try the relatively quiet @samp{#erc}, on the |
| 1477 | same network, for more involved questions. | ||
| 1478 | |||
| 1479 | @item | ||
| 1480 | You can check GNU ELPA between Emacs releases to see if a newer | ||
| 1481 | version is available that might contain a fix for your issue: | ||
| 1482 | @uref{https://elpa.gnu.org/packages/erc.html}. | ||
| 1475 | 1483 | ||
| 1476 | @item | 1484 | @item |
| 1477 | To report a bug in ERC, use @kbd{M-x erc-bug}. | 1485 | To report a bug in ERC, use @kbd{M-x erc-bug}. |
diff --git a/etc/ERC-NEWS b/etc/ERC-NEWS index 9d09172401f..d5e256d9d33 100644 --- a/etc/ERC-NEWS +++ b/etc/ERC-NEWS | |||
| @@ -47,18 +47,18 @@ From now on, only the most essential operations will be officially | |||
| 47 | supported in its absence, and users will see a warning upon | 47 | supported in its absence, and users will see a warning upon |
| 48 | entry-point invocation when it's not present. | 48 | entry-point invocation when it's not present. |
| 49 | 49 | ||
| 50 | ** Tighter auth-source integration with bigger changes on the horizon. | 50 | ** Tighter auth-source integration. |
| 51 | The days of hit-and-miss auth-source queries are hopefully behind us. | 51 | The days of hit-and-miss auth-source queries are hopefully behind us. |
| 52 | With the overhaul of the services module temporarily shelved and the | 52 | With the overhaul of the services module temporarily shelved and the |
| 53 | transition to SASL-based authentication still underway, users may feel | 53 | transition to SASL-based authentication still underway, users may feel |
| 54 | left in the lurch to endure yet another release cycle of backtick | 54 | left in the lurch to endure yet another release cycle of backtick |
| 55 | hell. For some, auth-source may provide a workaround in the form of | 55 | hell. For some, auth-source may provide a workaround in the form of |
| 56 | nonstandard server passwords. See the section titled "auth-source" in | 56 | nonstandard server passwords. See the section entitled "auth-source" |
| 57 | the Integrations chapter of ERC's manual. | 57 | in the Integrations chapter of ERC's manual. |
| 58 | 58 | ||
| 59 | ** Rudimentary SASL support has arrived. | 59 | ** Rudimentary SASL support has arrived. |
| 60 | A new module, 'erc-sasl', now ships with ERC 5.5. See the SASL | 60 | A new module, 'erc-sasl', now ships with ERC. See Info node "(erc) |
| 61 | section in the manual for details. | 61 | SASL" in the manual for details. |
| 62 | 62 | ||
| 63 | ** Username argument for entry-point commands. | 63 | ** Username argument for entry-point commands. |
| 64 | Commands 'erc' and 'erc-tls' now accept a ':user' keyword argument, | 64 | Commands 'erc' and 'erc-tls' now accept a ':user' keyword argument, |
| @@ -88,8 +88,8 @@ off by default, new users are encouraged to enable them. | |||
| 88 | Clicking on 'irc://' and 'ircs://' links elsewhere in Emacs now does | 88 | Clicking on 'irc://' and 'ircs://' links elsewhere in Emacs now does |
| 89 | the right thing most of the time. However, for security reasons, | 89 | the right thing most of the time. However, for security reasons, |
| 90 | users are now prompted to confirm connection parameters prior to lift | 90 | users are now prompted to confirm connection parameters prior to lift |
| 91 | off. See the new '(erc) Integrations' section in the Info manual to | 91 | off. See the new '(erc) Integrations' section in the Info manual for |
| 92 | override this. | 92 | details. |
| 93 | 93 | ||
| 94 | ** Miscellaneous behavioral changes impacting the user experience. | 94 | ** Miscellaneous behavioral changes impacting the user experience. |
| 95 | A bug has been fixed that saw prompts being mangled, doubled, or | 95 | A bug has been fixed that saw prompts being mangled, doubled, or |
| @@ -117,6 +117,12 @@ file called erc-common.el. This was done to further lessen the | |||
| 117 | various complications arising from the mutual dependency between 'erc' | 117 | various complications arising from the mutual dependency between 'erc' |
| 118 | and 'erc-backend'. | 118 | and 'erc-backend'. |
| 119 | 119 | ||
| 120 | ERC now relies on the Compat library from GNU ELPA to supply forward | ||
| 121 | compatibility shims for users running older versions of Emacs. The | ||
| 122 | required Compat version resides atop ERC's main library file, in the | ||
| 123 | 'Package-Requires' header. Third-party ERC modules will benefit | ||
| 124 | automatically from this adoption. | ||
| 125 | |||
| 120 | The function 'erc-network' always returns non-nil in server and target | 126 | The function 'erc-network' always returns non-nil in server and target |
| 121 | buffers belonging to a successfully established IRC connection, even | 127 | buffers belonging to a successfully established IRC connection, even |
| 122 | after that connection has been closed. (Also see the note in the | 128 | after that connection has been closed. (Also see the note in the |
diff --git a/lisp/erc/erc-backend.el b/lisp/erc/erc-backend.el index 1da701aebc4..cf0b734bd28 100644 --- a/lisp/erc/erc-backend.el +++ b/lisp/erc/erc-backend.el | |||
| @@ -425,7 +425,7 @@ Called with a server buffer as its only argument. Potential uses | |||
| 425 | include exponential backoff and probing for connectivity prior to | 425 | include exponential backoff and probing for connectivity prior to |
| 426 | dialing. Use `erc-schedule-reconnect' to instead try again later | 426 | dialing. Use `erc-schedule-reconnect' to instead try again later |
| 427 | and optionally alter the attempts tally." | 427 | and optionally alter the attempts tally." |
| 428 | :package-version '(ERC . "5.4.1") ; FIXME on next release | 428 | :package-version '(ERC . "5.5") |
| 429 | :type '(choice (function-item erc-server-delayed-reconnect) | 429 | :type '(choice (function-item erc-server-delayed-reconnect) |
| 430 | function)) | 430 | function)) |
| 431 | 431 | ||
| @@ -1167,7 +1167,7 @@ Note that future bundled modules providing IRCv3 functionality | |||
| 1167 | will not be compatible with the legacy format. User code should | 1167 | will not be compatible with the legacy format. User code should |
| 1168 | eventually transition to expecting this \"5.5+ variant\" and set | 1168 | eventually transition to expecting this \"5.5+ variant\" and set |
| 1169 | this option to nil." | 1169 | this option to nil." |
| 1170 | :package-version '(ERC . "5.4.1") ; FIXME increment on next release | 1170 | :package-version '(ERC . "5.5") |
| 1171 | :type '(choice (const nil) | 1171 | :type '(choice (const nil) |
| 1172 | (const legacy) | 1172 | (const legacy) |
| 1173 | (const overridable))) | 1173 | (const overridable))) |
| @@ -1201,7 +1201,7 @@ instead, leave them as a single string." | |||
| 1201 | (get 'erc-parse-tags 'erc-v3-warned-p)) | 1201 | (get 'erc-parse-tags 'erc-v3-warned-p)) |
| 1202 | (put 'erc-parse-tags 'erc-v3-warned-p t) | 1202 | (put 'erc-parse-tags 'erc-v3-warned-p t) |
| 1203 | (display-warning | 1203 | (display-warning |
| 1204 | 'ERC | 1204 | 'erc |
| 1205 | (concat | 1205 | (concat |
| 1206 | "Legacy ERC tags behavior is currently in effect, but other modules," | 1206 | "Legacy ERC tags behavior is currently in effect, but other modules," |
| 1207 | " including those bundled with ERC, may override this in future" | 1207 | " including those bundled with ERC, may override this in future" |
diff --git a/lisp/erc/erc-button.el b/lisp/erc/erc-button.el index 1be47c3e665..c28dddefa0e 100644 --- a/lisp/erc/erc-button.el +++ b/lisp/erc/erc-button.el | |||
| @@ -176,7 +176,7 @@ PAR is a number of a regexp grouping whose text will be passed to | |||
| 176 | CALLBACK. There can be several PAR arguments. If REGEXP is | 176 | CALLBACK. There can be several PAR arguments. If REGEXP is |
| 177 | `nicknames', these are ignored, and CALLBACK will be called with | 177 | `nicknames', these are ignored, and CALLBACK will be called with |
| 178 | the nickname matched as the argument." | 178 | the nickname matched as the argument." |
| 179 | :version "29.1" | 179 | :package-version '(ERC . "5.5") |
| 180 | :type '(repeat | 180 | :type '(repeat |
| 181 | (list :tag "Button" | 181 | (list :tag "Button" |
| 182 | (choice :tag "Matches" | 182 | (choice :tag "Matches" |
diff --git a/lisp/erc/erc-match.el b/lisp/erc/erc-match.el index 499bcaf5724..52ee5c855f3 100644 --- a/lisp/erc/erc-match.el +++ b/lisp/erc/erc-match.el | |||
| @@ -244,7 +244,7 @@ server and other miscellaneous functions." | |||
| 244 | "Whether to `regexp-quote' when adding to a match list interactively. | 244 | "Whether to `regexp-quote' when adding to a match list interactively. |
| 245 | When the value is a boolean, the opposite behavior will be made | 245 | When the value is a boolean, the opposite behavior will be made |
| 246 | available via universal argument." | 246 | available via universal argument." |
| 247 | :package-version '(ERC . "5.4.1") ; FIXME increment on next release | 247 | :package-version '(ERC . "5.5") |
| 248 | :type '(choice (const ask) | 248 | :type '(choice (const ask) |
| 249 | (const t) | 249 | (const t) |
| 250 | (const nil))) | 250 | (const nil))) |
diff --git a/lisp/erc/erc-sasl.el b/lisp/erc/erc-sasl.el index 97c7c54a517..ed91f412255 100644 --- a/lisp/erc/erc-sasl.el +++ b/lisp/erc/erc-sasl.el | |||
| @@ -24,13 +24,13 @@ | |||
| 24 | ;; | 24 | ;; |
| 25 | ;; https://lists.gnu.org/archive/html/erc-discuss/2012-02/msg00001.html | 25 | ;; https://lists.gnu.org/archive/html/erc-discuss/2012-02/msg00001.html |
| 26 | ;; | 26 | ;; |
| 27 | ;; See options and Info manual for usage. | 27 | ;; See M-x customize-group RET erc-sasl RET and (info "(erc) SASL") |
| 28 | ;; for usage. | ||
| 28 | ;; | 29 | ;; |
| 29 | ;; TODO: | 30 | ;; TODO: |
| 30 | ;; | 31 | ;; |
| 31 | ;; - Find a way to obfuscate the password in memory (via something | 32 | ;; - Obfuscate non-auth-source passwords in memory. They're currently |
| 32 | ;; like `auth-source--obfuscate'); it's currently visible in | 33 | ;; visible in backtraces. |
| 33 | ;; backtraces. | ||
| 34 | ;; | 34 | ;; |
| 35 | ;; - Implement a proxy mechanism that chooses the strongest available | 35 | ;; - Implement a proxy mechanism that chooses the strongest available |
| 36 | ;; mechanism for you. Requires CAP 3.2 (see bug#49860). | 36 | ;; mechanism for you. Requires CAP 3.2 (see bug#49860). |
| @@ -52,7 +52,7 @@ | |||
| 52 | (defgroup erc-sasl nil | 52 | (defgroup erc-sasl nil |
| 53 | "SASL for ERC." | 53 | "SASL for ERC." |
| 54 | :group 'erc | 54 | :group 'erc |
| 55 | :package-version '(ERC . "5.4.1")) ; FIXME increment on next release | 55 | :package-version '(ERC . "5.5")) |
| 56 | 56 | ||
| 57 | (defcustom erc-sasl-mechanism 'plain | 57 | (defcustom erc-sasl-mechanism 'plain |
| 58 | "SASL mechanism to connect with. | 58 | "SASL mechanism to connect with. |
| @@ -76,19 +76,19 @@ commands, `erc' and `erc-tls'." | |||
| 76 | 76 | ||
| 77 | (defcustom erc-sasl-password :password | 77 | (defcustom erc-sasl-password :password |
| 78 | "Optional account password to send when authenticating. | 78 | "Optional account password to send when authenticating. |
| 79 | When `erc-sasl-auth-source-function' is a function, ERC will | 79 | When `erc-sasl-auth-source-function' is a function, ERC attempts |
| 80 | attempt an auth-source query and prompt for input if it fails. | 80 | an auth-source query and prompts for input if it fails. |
| 81 | Otherwise, when the value is a nonempty string, ERC will use it | 81 | Otherwise, when the value of this option is a nonempty string, |
| 82 | unconditionally for most mechanisms. Likewise with `:password', | 82 | ERC uses it unconditionally for most mechanisms. Likewise with a |
| 83 | except ERC will instead use the \"session password\" on file, if | 83 | value of `:password', except ERC instead uses the \"session |
| 84 | any, which often originates from the entry-point commands `erc' | 84 | password\" on file, if any, which often originates from the |
| 85 | or `erc-tls'. As with auth-source, ERC will prompt for input as | 85 | entry-point commands `erc' or `erc-tls'. As with auth-source, |
| 86 | a fallback. | 86 | ERC prompts for input as a fallback. |
| 87 | 87 | ||
| 88 | Note that, with `:password', ERC will forgo sending a traditional | 88 | Note that, with `:password', ERC forgoes sending a traditional |
| 89 | server password via the IRC \"PASS\" command. Also, when | 89 | server password via the IRC \"PASS\" command. Also, when |
| 90 | `erc-sasl-mechanism' is set to `ecdsa-nist256p-challenge', this | 90 | `erc-sasl-mechanism' is set to `ecdsa-nist256p-challenge', ERC |
| 91 | option should hold the file name of the key." | 91 | expects this option to hold the file name of the key." |
| 92 | :type '(choice (const nil) (const :password) string symbol)) | 92 | :type '(choice (const nil) (const :password) string symbol)) |
| 93 | 93 | ||
| 94 | (defcustom erc-sasl-auth-source-function nil | 94 | (defcustom erc-sasl-auth-source-function nil |
| @@ -100,9 +100,8 @@ though ERC itself only specifies `:user' paired with a | |||
| 100 | ERC binds all options defined in this library, such as | 100 | ERC binds all options defined in this library, such as |
| 101 | `erc-sasl-password', to their values from entry-point invocation. | 101 | `erc-sasl-password', to their values from entry-point invocation. |
| 102 | In return, ERC expects a string to send as the SASL password, or | 102 | In return, ERC expects a string to send as the SASL password, or |
| 103 | nil, in which case, ERC will prompt the for input. See info | 103 | nil, in which case, ERC prompts for input. See Info node `(erc) |
| 104 | node `(erc) auth-source' for details on ERC's auth-source | 104 | auth-source' for details on ERC's auth-source integration." |
| 105 | integration." | ||
| 106 | :type '(choice (function-item erc-sasl-auth-source-password-as-host) | 105 | :type '(choice (function-item erc-sasl-auth-source-password-as-host) |
| 107 | (function-item erc-auth-source-search) | 106 | (function-item erc-auth-source-search) |
| 108 | (const nil) | 107 | (const nil) |
diff --git a/lisp/erc/erc-services.el b/lisp/erc/erc-services.el index 1c2fc2fcdc8..2e6959cc3f0 100644 --- a/lisp/erc/erc-services.el +++ b/lisp/erc/erc-services.el | |||
| @@ -180,9 +180,9 @@ Called with a subset of keyword parameters known to | |||
| 180 | `auth-source-search' and relevant to authenticating to nickname | 180 | `auth-source-search' and relevant to authenticating to nickname |
| 181 | services. In return, ERC expects a string to send as the | 181 | services. In return, ERC expects a string to send as the |
| 182 | password, or nil, to fall through to the next method, such as | 182 | password, or nil, to fall through to the next method, such as |
| 183 | prompting. See info node `(erc) auth-source' for details." | 183 | prompting. See Info node `(erc) auth-source' for details." |
| 184 | :package-version '(ERC . "5.4.1") ; FIXME update when publishing to ELPA | 184 | :package-version '(ERC . "5.5") |
| 185 | :type '(choice (const erc-auth-source-search) | 185 | :type '(choice (function-item erc-auth-source-search) |
| 186 | (const nil) | 186 | (const nil) |
| 187 | function)) | 187 | function)) |
| 188 | 188 | ||
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index ff1820cfaf2..d35907a1677 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el | |||
| @@ -217,8 +217,8 @@ parameters and authentication." | |||
| 217 | 217 | ||
| 218 | This variable only exists for legacy reasons. It's not customizable and | 218 | This variable only exists for legacy reasons. It's not customizable and |
| 219 | is limited to a single server password. Users looking for similar | 219 | is limited to a single server password. Users looking for similar |
| 220 | functionality should consider auth-source instead. See info | 220 | functionality should consider auth-source instead. See Info |
| 221 | node `(auth) Top' and info node `(erc) auth-source'.") | 221 | node `(auth) Top' and Info node `(erc) auth-source'.") |
| 222 | 222 | ||
| 223 | (make-obsolete-variable 'erc-password "use auth-source instead" "29.1") | 223 | (make-obsolete-variable 'erc-password "use auth-source instead" "29.1") |
| 224 | 224 | ||
| @@ -250,19 +250,19 @@ node `(auth) Top' and info node `(erc) auth-source'.") | |||
| 250 | Issue an error when the number of input lines submitted for | 250 | Issue an error when the number of input lines submitted for |
| 251 | sending exceeds this value. The value t means disallow more | 251 | sending exceeds this value. The value t means disallow more |
| 252 | than 1 line of input." | 252 | than 1 line of input." |
| 253 | :package-version '(ERC . "5.4.1") ; FIXME match to next release | 253 | :package-version '(ERC . "5.5") |
| 254 | :group 'erc | 254 | :group 'erc |
| 255 | :type '(choice integer boolean)) | 255 | :type '(choice integer boolean)) |
| 256 | 256 | ||
| 257 | (defcustom erc-ask-about-multiline-input nil | 257 | (defcustom erc-ask-about-multiline-input nil |
| 258 | "Whether to ask to ignore `erc-inhibit-multiline-input' when tripped." | 258 | "Whether to ask to ignore `erc-inhibit-multiline-input' when tripped." |
| 259 | :package-version '(ERC . "5.4.1") ; FIXME match to next release | 259 | :package-version '(ERC . "5.5") |
| 260 | :group 'erc | 260 | :group 'erc |
| 261 | :type 'boolean) | 261 | :type 'boolean) |
| 262 | 262 | ||
| 263 | (defcustom erc-prompt-hidden ">" | 263 | (defcustom erc-prompt-hidden ">" |
| 264 | "Text to show in lieu of the prompt when hidden." | 264 | "Text to show in lieu of the prompt when hidden." |
| 265 | :package-version '(ERC . "5.4.1") ; FIXME increment on next ELPA release | 265 | :package-version '(ERC . "5.5") |
| 266 | :group 'erc-display | 266 | :group 'erc-display |
| 267 | :type 'string) | 267 | :type 'string) |
| 268 | 268 | ||
| @@ -272,7 +272,7 @@ To unhide, type something in the input area. Once revealed, a | |||
| 272 | prompt remains unhidden until the next disconnection. Channel | 272 | prompt remains unhidden until the next disconnection. Channel |
| 273 | prompts are unhidden upon rejoining. See | 273 | prompts are unhidden upon rejoining. See |
| 274 | `erc-unhide-query-prompt' for behavior concerning query prompts." | 274 | `erc-unhide-query-prompt' for behavior concerning query prompts." |
| 275 | :package-version '(ERC . "5.4.1") ; FIXME increment on next ELPA release | 275 | :package-version '(ERC . "5.5") |
| 276 | :group 'erc-display | 276 | :group 'erc-display |
| 277 | :type '(choice (const :tag "Always hide prompt" t) | 277 | :type '(choice (const :tag "Always hide prompt" t) |
| 278 | (set (const server) | 278 | (set (const server) |
| @@ -284,7 +284,7 @@ prompts are unhidden upon rejoining. See | |||
| 284 | Otherwise, prompts in a connection's query buffers remain hidden | 284 | Otherwise, prompts in a connection's query buffers remain hidden |
| 285 | until the user types in the input area or a new message arrives | 285 | until the user types in the input area or a new message arrives |
| 286 | from the target." | 286 | from the target." |
| 287 | :package-version '(ERC . "5.4.1") ; FIXME increment on next ELPA release | 287 | :package-version '(ERC . "5.5") |
| 288 | :group 'erc-display | 288 | :group 'erc-display |
| 289 | ;; Extensions may one day offer a way to discover whether a target | 289 | ;; Extensions may one day offer a way to discover whether a target |
| 290 | ;; is online. When that happens, this can be expanded accordingly. | 290 | ;; is online. When that happens, this can be expanded accordingly. |
| @@ -1479,7 +1479,7 @@ The available choices are: | |||
| 1479 | `bury' - bury it in a new buffer, | 1479 | `bury' - bury it in a new buffer, |
| 1480 | `buffer' - in place of the current buffer, | 1480 | `buffer' - in place of the current buffer, |
| 1481 | any other value - in place of the current buffer." | 1481 | any other value - in place of the current buffer." |
| 1482 | :package-version '(ERC . "5.4.1") ; FIXME increment upon publishing to ELPA | 1482 | :package-version '(ERC . "5.5") |
| 1483 | :group 'erc-buffers | 1483 | :group 'erc-buffers |
| 1484 | :type '(choice (const :tag "Split window and select" window) | 1484 | :type '(choice (const :tag "Split window and select" window) |
| 1485 | (const :tag "Split window, don't select" window-noselect) | 1485 | (const :tag "Split window, don't select" window-noselect) |
| @@ -1495,7 +1495,7 @@ This only affects automatic reconnections and is ignored when | |||
| 1495 | issuing a /reconnect command or reinvoking `erc-tls' with the | 1495 | issuing a /reconnect command or reinvoking `erc-tls' with the |
| 1496 | same args (assuming success, of course). See `erc-join-buffer' | 1496 | same args (assuming success, of course). See `erc-join-buffer' |
| 1497 | for a description of possible values." | 1497 | for a description of possible values." |
| 1498 | :package-version '(ERC . "5.4.1") ; FIXME increment upon publishing to ELPA | 1498 | :package-version '(ERC . "5.5") |
| 1499 | :group 'erc-buffers | 1499 | :group 'erc-buffers |
| 1500 | :type '(choice (const :tag "Use value of `erc-join-buffer'" nil) | 1500 | :type '(choice (const :tag "Use value of `erc-join-buffer'" nil) |
| 1501 | (const :tag "Split window and select" window) | 1501 | (const :tag "Split window and select" window) |
| @@ -2319,7 +2319,7 @@ Example usage: | |||
| 2319 | 2319 | ||
| 2320 | When present, ID should be a symbol or a string to use for naming | 2320 | When present, ID should be a symbol or a string to use for naming |
| 2321 | the server buffer and identifying the connection unequivocally. | 2321 | the server buffer and identifying the connection unequivocally. |
| 2322 | See info node `(erc) Network Identifier' for details. Like USER | 2322 | See Info node `(erc) Network Identifier' for details. Like USER |
| 2323 | and CLIENT-CERTIFICATE, this parameter cannot be specified | 2323 | and CLIENT-CERTIFICATE, this parameter cannot be specified |
| 2324 | interactively." | 2324 | interactively." |
| 2325 | (interactive (let ((erc-default-port erc-default-port-tls)) | 2325 | (interactive (let ((erc-default-port erc-default-port-tls)) |
| @@ -3258,10 +3258,10 @@ if any. In return, ERC expects a string to send as the server | |||
| 3258 | password, or nil, to skip the \"PASS\" command completely. An | 3258 | password, or nil, to skip the \"PASS\" command completely. An |
| 3259 | explicit `:password' argument to entry-point commands `erc' and | 3259 | explicit `:password' argument to entry-point commands `erc' and |
| 3260 | `erc-tls' also inhibits lookup, as does setting this option to | 3260 | `erc-tls' also inhibits lookup, as does setting this option to |
| 3261 | nil. See info node `(erc) auth-source' for details." | 3261 | nil. See Info node `(erc) auth-source' for details." |
| 3262 | :package-version '(ERC . "5.4.1") ; FIXME update when publishing to ELPA | 3262 | :package-version '(ERC . "5.5") |
| 3263 | :group 'erc | 3263 | :group 'erc |
| 3264 | :type '(choice (const erc-auth-source-search) | 3264 | :type '(choice (function-item erc-auth-source-search) |
| 3265 | (const nil) | 3265 | (const nil) |
| 3266 | function)) | 3266 | function)) |
| 3267 | 3267 | ||
| @@ -3272,11 +3272,11 @@ Called with a subset of keyword arguments known to | |||
| 3272 | channel. In return, ERC expects a string to use as the channel | 3272 | channel. In return, ERC expects a string to use as the channel |
| 3273 | \"key\", or nil to just join the channel normally. Setting the | 3273 | \"key\", or nil to just join the channel normally. Setting the |
| 3274 | option itself to nil tells ERC to always forgo consulting | 3274 | option itself to nil tells ERC to always forgo consulting |
| 3275 | auth-source for channel keys. For more information, see info | 3275 | auth-source for channel keys. For more information, see Info |
| 3276 | node `(erc) auth-source'." | 3276 | node `(erc) auth-source'." |
| 3277 | :package-version '(ERC . "5.4.1") ; FIXME update when publishing to ELPA | 3277 | :package-version '(ERC . "5.5") |
| 3278 | :group 'erc | 3278 | :group 'erc |
| 3279 | :type '(choice (const erc-auth-source-search) | 3279 | :type '(choice (function-item erc-auth-source-search) |
| 3280 | (const nil) | 3280 | (const nil) |
| 3281 | function)) | 3281 | function)) |
| 3282 | 3282 | ||
| @@ -6837,8 +6837,8 @@ shortened server name instead." | |||
| 6837 | 6837 | ||
| 6838 | ;; erc-goodies is required at end of this file. | 6838 | ;; erc-goodies is required at end of this file. |
| 6839 | 6839 | ||
| 6840 | ;; FIXME when 29.1 is cut and `format-spec' is added to ELPA Compat, | 6840 | ;; TODO when ERC drops Emacs 28, replace the expressions in the format |
| 6841 | ;; remove the function invocations from the spec form below. | 6841 | ;; spec below with functions. |
| 6842 | (defun erc-update-mode-line-buffer (buffer) | 6842 | (defun erc-update-mode-line-buffer (buffer) |
| 6843 | "Update the mode line in a single ERC buffer BUFFER." | 6843 | "Update the mode line in a single ERC buffer BUFFER." |
| 6844 | (with-current-buffer buffer | 6844 | (with-current-buffer buffer |
| @@ -7213,7 +7213,7 @@ See also `format-spec'." | |||
| 7213 | (defcustom erc-kill-server-hook '(erc-kill-server | 7213 | (defcustom erc-kill-server-hook '(erc-kill-server |
| 7214 | erc-networks-shrink-ids-and-buffer-names) | 7214 | erc-networks-shrink-ids-and-buffer-names) |
| 7215 | "Invoked whenever a live server buffer is killed via `kill-buffer'." | 7215 | "Invoked whenever a live server buffer is killed via `kill-buffer'." |
| 7216 | :package-version '(ERC . "5.4.1") ; FIXME increment upon publishing to ELPA | 7216 | :package-version '(ERC . "5.5") |
| 7217 | :group 'erc-hooks | 7217 | :group 'erc-hooks |
| 7218 | :type 'hook) | 7218 | :type 'hook) |
| 7219 | 7219 | ||
| @@ -7222,7 +7222,7 @@ See also `format-spec'." | |||
| 7222 | erc-networks-shrink-ids-and-buffer-names | 7222 | erc-networks-shrink-ids-and-buffer-names |
| 7223 | erc-networks-rename-surviving-target-buffer) | 7223 | erc-networks-rename-surviving-target-buffer) |
| 7224 | "Invoked whenever a channel-buffer is killed via `kill-buffer'." | 7224 | "Invoked whenever a channel-buffer is killed via `kill-buffer'." |
| 7225 | :package-version '(ERC . "5.4.1") ; FIXME increment upon publishing to ELPA | 7225 | :package-version '(ERC . "5.5") |
| 7226 | :group 'erc-hooks | 7226 | :group 'erc-hooks |
| 7227 | :type 'hook) | 7227 | :type 'hook) |
| 7228 | 7228 | ||
| @@ -7232,7 +7232,7 @@ See also `format-spec'." | |||
| 7232 | "Hook run whenever a query buffer is killed. | 7232 | "Hook run whenever a query buffer is killed. |
| 7233 | 7233 | ||
| 7234 | See also `kill-buffer'." | 7234 | See also `kill-buffer'." |
| 7235 | :package-version '(ERC . "5.4.1") ; FIXME increment upon publishing to ELPA | 7235 | :package-version '(ERC . "5.5") |
| 7236 | :group 'erc-hooks | 7236 | :group 'erc-hooks |
| 7237 | :type 'hook) | 7237 | :type 'hook) |
| 7238 | 7238 | ||
| @@ -7311,7 +7311,7 @@ Called with a string meant to represent a URL scheme, like | |||
| 7311 | \"ircs\", followed by any number of keyword arguments recognized | 7311 | \"ircs\", followed by any number of keyword arguments recognized |
| 7312 | by `erc' and `erc-tls'." | 7312 | by `erc' and `erc-tls'." |
| 7313 | :group 'erc | 7313 | :group 'erc |
| 7314 | :package-version '(ERC . "5.4.1") ; FIXME increment on release | 7314 | :package-version '(ERC . "5.5") |
| 7315 | :type '(choice (const nil) function)) | 7315 | :type '(choice (const nil) function)) |
| 7316 | 7316 | ||
| 7317 | (defun erc--url-default-connect-function (scheme &rest plist) | 7317 | (defun erc--url-default-connect-function (scheme &rest plist) |