diff options
| author | Chong Yidong | 2012-05-10 14:27:12 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-05-10 14:27:12 +0800 |
| commit | 9f9aa0448aa1b5317d8903e33db1e3bb27e98ece (patch) | |
| tree | 326360d5b258a5c269c20f12a19a9cead3fbf0f7 /lisp/url/ChangeLog | |
| parent | 97107e2e531ee355f517990eed735fa657b7105b (diff) | |
| download | emacs-9f9aa0448aa1b5317d8903e33db1e3bb27e98ece.tar.gz emacs-9f9aa0448aa1b5317d8903e33db1e3bb27e98ece.zip | |
Cleanups and improvements for FFAP and URL.
* ffap.el (ffap-url-unwrap-local): Make it work right.
Use url-generic-parse-url, and handle host names and Windows
filenames properly.
(ffap-url-unwrap-remote): Use url-generic-parse-url.
(ffap-url-unwrap-remote): Accept list values, specifying a list of
URL schemes to work on.
(ffap--toggle-read-only): New function.
(ffap-read-only, ffap-read-only-other-window)
(ffap-read-only-other-frame): Use it.
(ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
necessary for ffap-url-unwrap-remote.
* url-parse.el (url-path-and-query, url-port-if-non-default): New
functions.
(url-generic-parse-url): Don't set the portspec slot if it is not
specified; that is what `url-port' is for.
(url-port): Only require the scheme to be specified to call
url-scheme-get-property.
* url-util.el (url-encode-url): Use url-path-and-query.
* url-vars.el (url-mime-charset-string): Load mm-util lazily.
Fixes: debbugs:9131
Diffstat (limited to 'lisp/url/ChangeLog')
| -rw-r--r-- | lisp/url/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index b3669a72ac3..c41df0e832b 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog | |||
| @@ -1,3 +1,16 @@ | |||
| 1 | 2012-05-10 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * url-parse.el (url-path-and-query, url-port-if-non-default): New | ||
| 4 | functions. | ||
| 5 | (url-generic-parse-url): Don't set the portspec slot if it is not | ||
| 6 | specified; that is what `url-port' is for. | ||
| 7 | (url-port): Only require the scheme to be specified to call | ||
| 8 | url-scheme-get-property. | ||
| 9 | |||
| 10 | * url-util.el (url-encode-url): Use url-path-and-query. | ||
| 11 | |||
| 12 | * url-vars.el (url-mime-charset-string): Load mm-util lazily. | ||
| 13 | |||
| 1 | 2012-05-09 Chong Yidong <cyd@gnu.org> | 14 | 2012-05-09 Chong Yidong <cyd@gnu.org> |
| 2 | 15 | ||
| 3 | * url-util.el (url-encode-url): New function for URL quoting. | 16 | * url-util.el (url-encode-url): New function for URL quoting. |
| @@ -12,6 +25,7 @@ | |||
| 12 | whole path and query inside the FILENAME slot. Improve docstring. | 25 | whole path and query inside the FILENAME slot. Improve docstring. |
| 13 | (url-recreate-url-attributes): Mark as obsolete. | 26 | (url-recreate-url-attributes): Mark as obsolete. |
| 14 | (url-recreate-url): Handle missing scheme and userinfo. | 27 | (url-recreate-url): Handle missing scheme and userinfo. |
| 28 | (url-path-and-query): New function. | ||
| 15 | 29 | ||
| 16 | * url-http.el (url-http-create-request): Ignore obsolete | 30 | * url-http.el (url-http-create-request): Ignore obsolete |
| 17 | attributes slot of url-object. | 31 | attributes slot of url-object. |