]> git.eshelyaron.com Git - emacs.git/commit
Teach thing-at-point to recognize bracketed IPv6 URLs
authorF. Jason Park <jp@neverwas.me>
Wed, 13 Jul 2022 08:54:19 +0000 (01:54 -0700)
committerF. Jason Park <jp@neverwas.me>
Wed, 9 Nov 2022 13:15:11 +0000 (05:15 -0800)
commit4bd5ac04a3b11228c8b7a9c7144503267bb8b9b4
treee4ec2a92d30a23135b23e2c425d46c8f1ffbc11d
parentb7e476a3d3023ab954939a68f326616ab970ddda
Teach thing-at-point to recognize bracketed IPv6 URLs

* lisp/thingatpt.el (thing-at-point-bounds-of-url-at-point): Allow
IPv6 addresses as hosts.  Overshoots in the case of bracketed markup
but is rescued by `thing-at-point--bounds-of-well-formed-url'.
* test/lisp/thingatpt-tests.el (thing-at-point-test-data): Add cases
for IPv6 URLs.  Bug#56514.
lisp/thingatpt.el
test/lisp/thingatpt-tests.el