diff options
| author | F. Jason Park <jp@neverwas.me> | 2022-07-11 05:14:57 -0700 |
|---|---|---|
| committer | F. Jason Park <jp@neverwas.me> | 2022-11-16 21:34:36 -0800 |
| commit | 5699e43f27ef5ca760a38572928be8a53819a430 (patch) | |
| tree | d1ffc743fd9fddf2fb5b374478ba080c8a669468 /etc/NEWS | |
| parent | d4028ead897464c9799847900b4acb2276acaac6 (diff) | |
| download | emacs-5699e43f27ef5ca760a38572928be8a53819a430.tar.gz | |
Accommodate ircs:// URLs in url-irc and browse-url
* lisp/url/url-irc.el (url-irc-function): Change signature of function
interface to expect a final "scheme" argument, such as "ircs".
(url-irc): Call `url-irc-function' with new positional argument, the
scheme extracted via `url-type' from the input URL.
(url-irc-erc, url-irc-rcirc, url-irc-zenirc): Accept a URL scheme as a
sixth positional arg.
(url-ircs-default-port, url-ircs): Add new autoloaded constant and
alias for `url-scheme-get-property' to recognize. Do this to avoid
having to add another file.
* lisp/net/browse-url.el (browse-url-irc-function): Add new option.
(browse-url--irc): Add new function to call `browse-url-irc-function'.
(browse-url-default-handlers): Add "irc://" entry.
(browse-url-irc): Add new function to serve as general handler for
"irc://" URLS. Accept trailing variadic args to accommodate
non-browse-url interfaces as well.
* test/lisp/net/browse-url-tests.el
(browse-url-tests-select-handler-irc): Add test for "irc://" URL
pattern.
* etc/NEWS: Mention select browse-url and url-irc
changes. (Bug#56514.)
Diffstat (limited to 'etc/NEWS')
| -rw-r--r-- | etc/NEWS | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -440,6 +440,12 @@ The user options 'url-gateway-rlogin-host', are also obsolete. --- +** The user function 'url-irc-function' now takes a 'scheme' argument. +The user option 'url-irc-function' is now called with a sixth argument +corresponding to the scheme portion of the target URL. For example, +this would be "ircs" for a URL like "ircs://irc.libera.chat". + +--- ** The linum.el library is now obsolete. We recommend using either the built-in 'display-line-numbers-mode', or the 'nlinum' package from GNU ELPA instead. The former has better @@ -2643,6 +2649,17 @@ related functions will use by default. For example, you could customize this to "https" to always prefer HTTPS URLs. --- +*** New user option 'browse-url-irc-function'. +This option specifies a function for opening irc:// links. It +defaults to the new function 'browse-url-irc'. + +--- +*** New function 'browse-url-irc'. +This multipurpose autoloaded function can be used for opening irc:// +and ircs:// URLS by any caller that passes a URL string as an initial +arg. + +--- *** Support for the Netscape web browser has been removed. This support has been obsolete since Emacs 25.1. The final version of the Netscape web browser was released in February, 2008. @@ -2869,6 +2886,9 @@ remote host are shown. Alternatively, the user option The old name is still available as an obsolete function alias. --- +*** The url-irc library now understands ircs:// links. + +--- *** New command 'world-clock-copy-time-as-kill' for 'M-x world-clock'. It copies the current line into the kill ring. |
