diff options
| author | Glenn Morris | 2010-09-10 18:58:42 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-09-10 18:58:42 -0700 |
| commit | a5cda60e9a224d57390a2a4fc975f47278d60b42 (patch) | |
| tree | d16bfc6aa536ab02855b1cdc550042a43001adeb /lisp | |
| parent | a9ec34f4c483f5d501c2f6db16e3423b22385cc9 (diff) | |
| download | emacs-a5cda60e9a224d57390a2a4fc975f47278d60b42.tar.gz emacs-a5cda60e9a224d57390a2a4fc975f47278d60b42.zip | |
lisp/url tiny fixes.
* url-cache.el, url-gw.el, url-history.el, url-irc.el, url-util.el:
* url-vars.el: Remove leading `*' from defcustom docs.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/url/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/url/url-cache.el | 8 | ||||
| -rw-r--r-- | lisp/url/url-gw.el | 22 | ||||
| -rw-r--r-- | lisp/url/url-history.el | 10 | ||||
| -rw-r--r-- | lisp/url/url-irc.el | 9 | ||||
| -rw-r--r-- | lisp/url/url-util.el | 2 | ||||
| -rw-r--r-- | lisp/url/url-vars.el | 40 |
7 files changed, 51 insertions, 45 deletions
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index e3f76e72e37..170bedd3b28 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-09-11 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * url-cache.el, url-gw.el, url-history.el, url-irc.el, url-util.el: | ||
| 4 | * url-vars.el: Remove leading `*' from defcustom docs. | ||
| 5 | |||
| 1 | 2010-07-27 Michael Albinus <michael.albinus@gmx.de> | 6 | 2010-07-27 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 7 | ||
| 3 | * url-http (url-http-parse-headers): Disable file name handlers at | 8 | * url-http (url-http-parse-headers): Disable file name handlers at |
diff --git a/lisp/url/url-cache.el b/lisp/url/url-cache.el index 71841c9a0ca..7cff9aa923d 100644 --- a/lisp/url/url-cache.el +++ b/lisp/url/url-cache.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; url-cache.el --- Uniform Resource Locator retrieval tool | 1 | ;;; url-cache.el --- Uniform Resource Locator retrieval tool |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1996, 1997, 1998, 1999, 2004, | 3 | ;; Copyright (C) 1996, 1997, 1998, 1999, 2004, 2005, 2006, 2007, 2008, |
| 4 | ;; 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. | 4 | ;; 2009, 2010 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Keywords: comm, data, processes, hypermedia | 6 | ;; Keywords: comm, data, processes, hypermedia |
| 7 | 7 | ||
| @@ -28,7 +28,7 @@ | |||
| 28 | 28 | ||
| 29 | (defcustom url-cache-directory | 29 | (defcustom url-cache-directory |
| 30 | (expand-file-name "cache" url-configuration-directory) | 30 | (expand-file-name "cache" url-configuration-directory) |
| 31 | "*The directory where cache files should be stored." | 31 | "The directory where cache files should be stored." |
| 32 | :type 'directory | 32 | :type 'directory |
| 33 | :group 'url-file) | 33 | :group 'url-file) |
| 34 | 34 | ||
| @@ -165,7 +165,7 @@ Very fast if you have an `md5' primitive function, suitably fast otherwise." | |||
| 165 | url-cache-directory)))))) | 165 | url-cache-directory)))))) |
| 166 | 166 | ||
| 167 | (defcustom url-cache-creation-function 'url-cache-create-filename-using-md5 | 167 | (defcustom url-cache-creation-function 'url-cache-create-filename-using-md5 |
| 168 | "*What function to use to create a cached filename." | 168 | "What function to use to create a cached filename." |
| 169 | :type '(choice (const :tag "MD5 of filename (low collision rate)" | 169 | :type '(choice (const :tag "MD5 of filename (low collision rate)" |
| 170 | :value url-cache-create-filename-using-md5) | 170 | :value url-cache-create-filename-using-md5) |
| 171 | (const :tag "Human readable filenames (higher collision rate)" | 171 | (const :tag "Human readable filenames (higher collision rate)" |
diff --git a/lisp/url/url-gw.el b/lisp/url/url-gw.el index 9915ccc6781..714d12f3f10 100644 --- a/lisp/url/url-gw.el +++ b/lisp/url/url-gw.el | |||
| @@ -37,50 +37,50 @@ | |||
| 37 | :group 'url) | 37 | :group 'url) |
| 38 | 38 | ||
| 39 | (defcustom url-gateway-local-host-regexp nil | 39 | (defcustom url-gateway-local-host-regexp nil |
| 40 | "*A regular expression specifying local hostnames/machines." | 40 | "A regular expression specifying local hostnames/machines." |
| 41 | :type '(choice (const nil) regexp) | 41 | :type '(choice (const nil) regexp) |
| 42 | :group 'url-gateway) | 42 | :group 'url-gateway) |
| 43 | 43 | ||
| 44 | (defcustom url-gateway-prompt-pattern | 44 | (defcustom url-gateway-prompt-pattern |
| 45 | "^[^#$%>;]*[#$%>;] *" ;; "bash\\|\$ *\r?$\\|> *\r?" | 45 | "^[^#$%>;]*[#$%>;] *" ;; "bash\\|\$ *\r?$\\|> *\r?" |
| 46 | "*A regular expression matching a shell prompt." | 46 | "A regular expression matching a shell prompt." |
| 47 | :type 'regexp | 47 | :type 'regexp |
| 48 | :group 'url-gateway) | 48 | :group 'url-gateway) |
| 49 | 49 | ||
| 50 | (defcustom url-gateway-rlogin-host nil | 50 | (defcustom url-gateway-rlogin-host nil |
| 51 | "*What hostname to actually rlog into before doing a telnet." | 51 | "What hostname to actually rlog into before doing a telnet." |
| 52 | :type '(choice (const nil) string) | 52 | :type '(choice (const nil) string) |
| 53 | :group 'url-gateway) | 53 | :group 'url-gateway) |
| 54 | 54 | ||
| 55 | (defcustom url-gateway-rlogin-user-name nil | 55 | (defcustom url-gateway-rlogin-user-name nil |
| 56 | "*Username to log into the remote machine with when using rlogin." | 56 | "Username to log into the remote machine with when using rlogin." |
| 57 | :type '(choice (const nil) string) | 57 | :type '(choice (const nil) string) |
| 58 | :group 'url-gateway) | 58 | :group 'url-gateway) |
| 59 | 59 | ||
| 60 | (defcustom url-gateway-rlogin-parameters '("telnet" "-8") | 60 | (defcustom url-gateway-rlogin-parameters '("telnet" "-8") |
| 61 | "*Parameters to `url-open-rlogin'. | 61 | "Parameters to `url-open-rlogin'. |
| 62 | This list will be used as the parameter list given to rsh." | 62 | This list will be used as the parameter list given to rsh." |
| 63 | :type '(repeat string) | 63 | :type '(repeat string) |
| 64 | :group 'url-gateway) | 64 | :group 'url-gateway) |
| 65 | 65 | ||
| 66 | (defcustom url-gateway-telnet-host nil | 66 | (defcustom url-gateway-telnet-host nil |
| 67 | "*What hostname to actually login to before doing a telnet." | 67 | "What hostname to actually login to before doing a telnet." |
| 68 | :type '(choice (const nil) string) | 68 | :type '(choice (const nil) string) |
| 69 | :group 'url-gateway) | 69 | :group 'url-gateway) |
| 70 | 70 | ||
| 71 | (defcustom url-gateway-telnet-parameters '("exec" "telnet" "-8") | 71 | (defcustom url-gateway-telnet-parameters '("exec" "telnet" "-8") |
| 72 | "*Parameters to `url-open-telnet'. | 72 | "Parameters to `url-open-telnet'. |
| 73 | This list will be executed as a command after logging in via telnet." | 73 | This list will be executed as a command after logging in via telnet." |
| 74 | :type '(repeat string) | 74 | :type '(repeat string) |
| 75 | :group 'url-gateway) | 75 | :group 'url-gateway) |
| 76 | 76 | ||
| 77 | (defcustom url-gateway-telnet-login-prompt "^\r*.?login:" | 77 | (defcustom url-gateway-telnet-login-prompt "^\r*.?login:" |
| 78 | "*Prompt that tells us we should send our username when loggin in w/telnet." | 78 | "Prompt that tells us we should send our username when loggin in w/telnet." |
| 79 | :type 'regexp | 79 | :type 'regexp |
| 80 | :group 'url-gateway) | 80 | :group 'url-gateway) |
| 81 | 81 | ||
| 82 | (defcustom url-gateway-telnet-password-prompt "^\r*.?password:" | 82 | (defcustom url-gateway-telnet-password-prompt "^\r*.?password:" |
| 83 | "*Prompt that tells us we should send our password when loggin in w/telnet." | 83 | "Prompt that tells us we should send our password when loggin in w/telnet." |
| 84 | :type 'regexp | 84 | :type 'regexp |
| 85 | :group 'url-gateway) | 85 | :group 'url-gateway) |
| 86 | 86 | ||
| @@ -95,7 +95,7 @@ This list will be executed as a command after logging in via telnet." | |||
| 95 | :group 'url-gateway) | 95 | :group 'url-gateway) |
| 96 | 96 | ||
| 97 | (defcustom url-gateway-broken-resolution nil | 97 | (defcustom url-gateway-broken-resolution nil |
| 98 | "*Whether to use nslookup to resolve hostnames. | 98 | "Whether to use nslookup to resolve hostnames. |
| 99 | This should be used when your version of Emacs cannot correctly use DNS, | 99 | This should be used when your version of Emacs cannot correctly use DNS, |
| 100 | but your machine can. This usually happens if you are running a statically | 100 | but your machine can. This usually happens if you are running a statically |
| 101 | linked Emacs under SunOS 4.x." | 101 | linked Emacs under SunOS 4.x." |
| @@ -103,7 +103,7 @@ linked Emacs under SunOS 4.x." | |||
| 103 | :group 'url-gateway) | 103 | :group 'url-gateway) |
| 104 | 104 | ||
| 105 | (defcustom url-gateway-nslookup-program "nslookup" | 105 | (defcustom url-gateway-nslookup-program "nslookup" |
| 106 | "*If non-nil then a string naming nslookup program." | 106 | "If non-nil then a string naming nslookup program." |
| 107 | :type '(choice (const :tag "None" :value nil) string) | 107 | :type '(choice (const :tag "None" :value nil) string) |
| 108 | :group 'url-gateway) | 108 | :group 'url-gateway) |
| 109 | 109 | ||
diff --git a/lisp/url/url-history.el b/lisp/url/url-history.el index 5b4f330ed2e..0cc891b32b7 100644 --- a/lisp/url/url-history.el +++ b/lisp/url/url-history.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; url-history.el --- Global history tracking for URL package | 1 | ;;; url-history.el --- Global history tracking for URL package |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1996, 1997, 1998, 1999, 2004, | 3 | ;; Copyright (C) 1996, 1997, 1998, 1999, 2004, 2005, 2006, 2007, 2008, |
| 4 | ;; 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. | 4 | ;; 2009, 2010 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Keywords: comm, data, processes, hypermedia | 6 | ;; Keywords: comm, data, processes, hypermedia |
| 7 | 7 | ||
| @@ -35,7 +35,7 @@ | |||
| 35 | :group 'url) | 35 | :group 'url) |
| 36 | 36 | ||
| 37 | (defcustom url-history-track nil | 37 | (defcustom url-history-track nil |
| 38 | "*Controls whether to keep a list of all the URLs being visited. | 38 | "Controls whether to keep a list of all the URLs being visited. |
| 39 | If non-nil, the URL package will keep track of all the URLs visited. | 39 | If non-nil, the URL package will keep track of all the URLs visited. |
| 40 | If set to t, then the list is saved to disk at the end of each Emacs | 40 | If set to t, then the list is saved to disk at the end of each Emacs |
| 41 | session." | 41 | session." |
| @@ -49,14 +49,14 @@ session." | |||
| 49 | :group 'url-history) | 49 | :group 'url-history) |
| 50 | 50 | ||
| 51 | (defcustom url-history-file nil | 51 | (defcustom url-history-file nil |
| 52 | "*The global history file for the URL package. | 52 | "The global history file for the URL package. |
| 53 | This file contains a list of all the URLs you have visited. This file | 53 | This file contains a list of all the URLs you have visited. This file |
| 54 | is parsed at startup and used to provide URL completion." | 54 | is parsed at startup and used to provide URL completion." |
| 55 | :type '(choice (const :tag "Default" :value nil) file) | 55 | :type '(choice (const :tag "Default" :value nil) file) |
| 56 | :group 'url-history) | 56 | :group 'url-history) |
| 57 | 57 | ||
| 58 | (defcustom url-history-save-interval 3600 | 58 | (defcustom url-history-save-interval 3600 |
| 59 | "*The number of seconds between automatic saves of the history list. | 59 | "The number of seconds between automatic saves of the history list. |
| 60 | Default is 1 hour. Note that if you change this variable outside of | 60 | Default is 1 hour. Note that if you change this variable outside of |
| 61 | the `customize' interface after `url-do-setup' has been run, you need | 61 | the `customize' interface after `url-do-setup' has been run, you need |
| 62 | to run the `url-history-setup-save-timer' function manually." | 62 | to run the `url-history-setup-save-timer' function manually." |
diff --git a/lisp/url/url-irc.el b/lisp/url/url-irc.el index 1469cb9eb8b..715eecd211c 100644 --- a/lisp/url/url-irc.el +++ b/lisp/url/url-irc.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; url-irc.el --- IRC URL interface | 1 | ;;; url-irc.el --- IRC URL interface |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1996, 1997, 1998, 1999, 2004, | 3 | ;; Copyright (C) 1996, 1997, 1998, 1999, 2004, 2005, 2006, 2007, 2008, |
| 4 | ;; 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. | 4 | ;; 2009, 2010 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Keywords: comm, data, processes | 6 | ;; Keywords: comm, data, processes |
| 7 | 7 | ||
| @@ -22,7 +22,8 @@ | |||
| 22 | 22 | ||
| 23 | ;;; Commentary: | 23 | ;;; Commentary: |
| 24 | 24 | ||
| 25 | ;; IRC URLs are defined in http://www.w3.org/Addressing/draft-mirashi-url-irc-01.txt | 25 | ;; IRC URLs are defined in |
| 26 | ;; http://www.w3.org/Addressing/draft-mirashi-url-irc-01.txt | ||
| 26 | 27 | ||
| 27 | ;;; Code: | 28 | ;;; Code: |
| 28 | 29 | ||
| @@ -32,7 +33,7 @@ | |||
| 32 | (defconst url-irc-default-port 6667 "Default port for IRC connections.") | 33 | (defconst url-irc-default-port 6667 "Default port for IRC connections.") |
| 33 | 34 | ||
| 34 | (defcustom url-irc-function 'url-irc-rcirc | 35 | (defcustom url-irc-function 'url-irc-rcirc |
| 35 | "*Function to actually open an IRC connection. | 36 | "Function to actually open an IRC connection. |
| 36 | The function should take the following arguments: | 37 | The function should take the following arguments: |
| 37 | HOST - the hostname of the IRC server to contact | 38 | HOST - the hostname of the IRC server to contact |
| 38 | PORT - the port number of the IRC server to contact | 39 | PORT - the port number of the IRC server to contact |
diff --git a/lisp/url/url-util.el b/lisp/url/url-util.el index e92ccc76285..8beffe60a7f 100644 --- a/lisp/url/url-util.el +++ b/lisp/url/url-util.el | |||
| @@ -43,7 +43,7 @@ | |||
| 43 | 43 | ||
| 44 | ;;;###autoload | 44 | ;;;###autoload |
| 45 | (defcustom url-debug nil | 45 | (defcustom url-debug nil |
| 46 | "*What types of debug messages from the URL library to show. | 46 | "What types of debug messages from the URL library to show. |
| 47 | Debug messages are logged to the *URL-DEBUG* buffer. | 47 | Debug messages are logged to the *URL-DEBUG* buffer. |
| 48 | 48 | ||
| 49 | If t, all messages will be logged. | 49 | If t, all messages will be logged. |
diff --git a/lisp/url/url-vars.el b/lisp/url/url-vars.el index 65622a06e02..74192478224 100644 --- a/lisp/url/url-vars.el +++ b/lisp/url/url-vars.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; url-vars.el --- Variables for Uniform Resource Locator tool | 1 | ;;; url-vars.el --- Variables for Uniform Resource Locator tool |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1996, 1997, 1998, 1999, 2001, 2004, | 3 | ;; Copyright (C) 1996, 1997, 1998, 1999, 2001, 2004, 2005, 2006, 2007, |
| 4 | ;; 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. | 4 | ;; 2008, 2009, 2010 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Keywords: comm, data, processes, hypermedia | 6 | ;; Keywords: comm, data, processes, hypermedia |
| 7 | 7 | ||
| @@ -68,7 +68,7 @@ | |||
| 68 | )) | 68 | )) |
| 69 | 69 | ||
| 70 | (defcustom url-honor-refresh-requests t | 70 | (defcustom url-honor-refresh-requests t |
| 71 | "*Whether to do automatic page reloads. | 71 | "Whether to do automatic page reloads. |
| 72 | These are done at the request of the document author or the server via | 72 | These are done at the request of the document author or the server via |
| 73 | the `Refresh' header in an HTTP response. If nil, no refresh | 73 | the `Refresh' header in an HTTP response. If nil, no refresh |
| 74 | requests will be honored. If t, all refresh requests will be honored. | 74 | requests will be honored. If t, all refresh requests will be honored. |
| @@ -79,14 +79,14 @@ If non-nil and not t, the user will be asked for each refresh request." | |||
| 79 | :group 'url-hairy) | 79 | :group 'url-hairy) |
| 80 | 80 | ||
| 81 | (defcustom url-automatic-caching nil | 81 | (defcustom url-automatic-caching nil |
| 82 | "*If non-nil, all documents will be automatically cached to the local disk." | 82 | "If non-nil, all documents will be automatically cached to the local disk." |
| 83 | :type 'boolean | 83 | :type 'boolean |
| 84 | :group 'url-cache) | 84 | :group 'url-cache) |
| 85 | 85 | ||
| 86 | ;; Fixme: sanitize this. | 86 | ;; Fixme: sanitize this. |
| 87 | (defcustom url-cache-expired | 87 | (defcustom url-cache-expired |
| 88 | (lambda (t1 t2) (>= (- (car t2) (car t1)) 5)) | 88 | (lambda (t1 t2) (>= (- (car t2) (car t1)) 5)) |
| 89 | "*A function determining if a cached item has expired. | 89 | "A function determining if a cached item has expired. |
| 90 | It takes two times (numbers) as its arguments, and returns non-nil if | 90 | It takes two times (numbers) as its arguments, and returns non-nil if |
| 91 | the second time is 'too old' when compared to the first time." | 91 | the second time is 'too old' when compared to the first time." |
| 92 | :type 'function | 92 | :type 'function |
| @@ -96,14 +96,14 @@ the second time is 'too old' when compared to the first time." | |||
| 96 | "Where to send bug reports.") | 96 | "Where to send bug reports.") |
| 97 | 97 | ||
| 98 | (defcustom url-personal-mail-address nil | 98 | (defcustom url-personal-mail-address nil |
| 99 | "*Your full email address. | 99 | "Your full email address. |
| 100 | This is what is sent to HTTP servers as the FROM field in an HTTP | 100 | This is what is sent to HTTP servers as the FROM field in an HTTP |
| 101 | request." | 101 | request." |
| 102 | :type '(choice (const :tag "Unspecified" nil) string) | 102 | :type '(choice (const :tag "Unspecified" nil) string) |
| 103 | :group 'url) | 103 | :group 'url) |
| 104 | 104 | ||
| 105 | (defcustom url-directory-index-file "index.html" | 105 | (defcustom url-directory-index-file "index.html" |
| 106 | "*The filename to look for when indexing a directory. | 106 | "The filename to look for when indexing a directory. |
| 107 | If this file exists, and is readable, then it will be viewed instead of | 107 | If this file exists, and is readable, then it will be viewed instead of |
| 108 | using `dired' to view the directory." | 108 | using `dired' to view the directory." |
| 109 | :type 'string | 109 | :type 'string |
| @@ -166,14 +166,14 @@ variable." | |||
| 166 | (".hqx" . "x-hqx") | 166 | (".hqx" . "x-hqx") |
| 167 | (".Z" . "x-compress") | 167 | (".Z" . "x-compress") |
| 168 | (".bz2" . "x-bzip2")) | 168 | (".bz2" . "x-bzip2")) |
| 169 | "*An alist of file extensions and appropriate content-transfer-encodings." | 169 | "An alist of file extensions and appropriate content-transfer-encodings." |
| 170 | :type '(repeat (cons :format "%v" | 170 | :type '(repeat (cons :format "%v" |
| 171 | (string :tag "Extension") | 171 | (string :tag "Extension") |
| 172 | (string :tag "Encoding"))) | 172 | (string :tag "Encoding"))) |
| 173 | :group 'url-mime) | 173 | :group 'url-mime) |
| 174 | 174 | ||
| 175 | (defcustom url-mail-command 'compose-mail | 175 | (defcustom url-mail-command 'compose-mail |
| 176 | "*This function will be called whenever URL needs to send mail. | 176 | "This function will be called whenever URL needs to send mail. |
| 177 | It should enter a mail-mode-like buffer in the current window. | 177 | It should enter a mail-mode-like buffer in the current window. |
| 178 | The commands `mail-to' and `mail-subject' should still work in this | 178 | The commands `mail-to' and `mail-subject' should still work in this |
| 179 | buffer, and it should use `mail-header-separator' if possible." | 179 | buffer, and it should use `mail-header-separator' if possible." |
| @@ -181,7 +181,7 @@ buffer, and it should use `mail-header-separator' if possible." | |||
| 181 | :group 'url) | 181 | :group 'url) |
| 182 | 182 | ||
| 183 | (defcustom url-proxy-services nil | 183 | (defcustom url-proxy-services nil |
| 184 | "*An alist of schemes and proxy servers that gateway them. | 184 | "An alist of schemes and proxy servers that gateway them. |
| 185 | Looks like ((\"http\" . \"hostname:portnumber\") ...). This is set up | 185 | Looks like ((\"http\" . \"hostname:portnumber\") ...). This is set up |
| 186 | from the ACCESS_proxy environment variables." | 186 | from the ACCESS_proxy environment variables." |
| 187 | :type '(repeat (cons :format "%v" | 187 | :type '(repeat (cons :format "%v" |
| @@ -190,7 +190,7 @@ from the ACCESS_proxy environment variables." | |||
| 190 | :group 'url) | 190 | :group 'url) |
| 191 | 191 | ||
| 192 | (defcustom url-standalone-mode nil | 192 | (defcustom url-standalone-mode nil |
| 193 | "*Rely solely on the cache?" | 193 | "Rely solely on the cache?" |
| 194 | :type 'boolean | 194 | :type 'boolean |
| 195 | :group 'url-cache) | 195 | :group 'url-cache) |
| 196 | 196 | ||
| @@ -202,7 +202,7 @@ from the ACCESS_proxy environment variables." | |||
| 202 | 202 | ||
| 203 | (defcustom url-bad-port-list | 203 | (defcustom url-bad-port-list |
| 204 | '("25" "119" "19") | 204 | '("25" "119" "19") |
| 205 | "*List of ports to warn the user about connecting to. | 205 | "List of ports to warn the user about connecting to. |
| 206 | Defaults to just the mail, chargen, and NNTP ports so you cannot be | 206 | Defaults to just the mail, chargen, and NNTP ports so you cannot be |
| 207 | tricked into sending fake mail or forging messages by a malicious HTML | 207 | tricked into sending fake mail or forging messages by a malicious HTML |
| 208 | document." | 208 | document." |
| @@ -255,7 +255,7 @@ given priority 1 and the rest are given priority 0.5.") | |||
| 255 | 255 | ||
| 256 | ;; Fixme: set from the locale. | 256 | ;; Fixme: set from the locale. |
| 257 | (defcustom url-mime-language-string nil | 257 | (defcustom url-mime-language-string nil |
| 258 | "*String to send in the Accept-language: field in HTTP requests. | 258 | "String to send in the Accept-language: field in HTTP requests. |
| 259 | 259 | ||
| 260 | Specifies the preferred language when servers can serve documents in | 260 | Specifies the preferred language when servers can serve documents in |
| 261 | several languages. Use RFC 1766 abbreviations, e.g.: `en' for | 261 | several languages. Use RFC 1766 abbreviations, e.g.: `en' for |
| @@ -284,20 +284,20 @@ get the first available language (as opposed to the default)." | |||
| 284 | "What OS we are on.") | 284 | "What OS we are on.") |
| 285 | 285 | ||
| 286 | (defcustom url-max-password-attempts 5 | 286 | (defcustom url-max-password-attempts 5 |
| 287 | "*Maximum number of times a password will be prompted for. | 287 | "Maximum number of times a password will be prompted for. |
| 288 | Applies when a protected document is denied by the server." | 288 | Applies when a protected document is denied by the server." |
| 289 | :type 'integer | 289 | :type 'integer |
| 290 | :group 'url) | 290 | :group 'url) |
| 291 | 291 | ||
| 292 | (defcustom url-temporary-directory (or (getenv "TMPDIR") "/tmp") | 292 | (defcustom url-temporary-directory (or (getenv "TMPDIR") "/tmp") |
| 293 | "*Where temporary files go." | 293 | "Where temporary files go." |
| 294 | :type 'directory | 294 | :type 'directory |
| 295 | :group 'url-file) | 295 | :group 'url-file) |
| 296 | (make-obsolete-variable 'url-temporary-directory | 296 | (make-obsolete-variable 'url-temporary-directory |
| 297 | 'temporary-file-directory "23.1") | 297 | 'temporary-file-directory "23.1") |
| 298 | 298 | ||
| 299 | (defcustom url-show-status t | 299 | (defcustom url-show-status t |
| 300 | "*Whether to show a running total of bytes transferred. | 300 | "Whether to show a running total of bytes transferred. |
| 301 | Can cause a large hit if using a remote X display over a slow link, or | 301 | Can cause a large hit if using a remote X display over a slow link, or |
| 302 | a terminal with a slow modem." | 302 | a terminal with a slow modem." |
| 303 | :type 'boolean | 303 | :type 'boolean |
| @@ -308,7 +308,7 @@ a terminal with a slow modem." | |||
| 308 | http://www.example.com/") | 308 | http://www.example.com/") |
| 309 | 309 | ||
| 310 | (defcustom url-news-server nil | 310 | (defcustom url-news-server nil |
| 311 | "*The default news server from which to get newsgroups/articles. | 311 | "The default news server from which to get newsgroups/articles. |
| 312 | Applies if no server is specified in the URL. Defaults to the | 312 | Applies if no server is specified in the URL. Defaults to the |
| 313 | environment variable NNTPSERVER or \"news\" if NNTPSERVER is | 313 | environment variable NNTPSERVER or \"news\" if NNTPSERVER is |
| 314 | undefined." | 314 | undefined." |
| @@ -320,13 +320,13 @@ undefined." | |||
| 320 | "A regular expression that will match an absolute URL.") | 320 | "A regular expression that will match an absolute URL.") |
| 321 | 321 | ||
| 322 | (defcustom url-max-redirections 30 | 322 | (defcustom url-max-redirections 30 |
| 323 | "*The maximum number of redirection requests to honor in a HTTP connection. | 323 | "The maximum number of redirection requests to honor in a HTTP connection. |
| 324 | A negative number means to honor an unlimited number of redirection requests." | 324 | A negative number means to honor an unlimited number of redirection requests." |
| 325 | :type 'integer | 325 | :type 'integer |
| 326 | :group 'url) | 326 | :group 'url) |
| 327 | 327 | ||
| 328 | (defcustom url-confirmation-func 'y-or-n-p | 328 | (defcustom url-confirmation-func 'y-or-n-p |
| 329 | "*What function to use for asking yes or no functions. | 329 | "What function to use for asking yes or no functions. |
| 330 | Possible values are `yes-or-no-p' or `y-or-n-p', or any function that | 330 | Possible values are `yes-or-no-p' or `y-or-n-p', or any function that |
| 331 | takes a single argument (the prompt), and returns t only if a positive | 331 | takes a single argument (the prompt), and returns t only if a positive |
| 332 | answer is given." | 332 | answer is given." |
| @@ -336,7 +336,7 @@ answer is given." | |||
| 336 | :group 'url-hairy) | 336 | :group 'url-hairy) |
| 337 | 337 | ||
| 338 | (defcustom url-gateway-method 'native | 338 | (defcustom url-gateway-method 'native |
| 339 | "*The type of gateway support to use. | 339 | "The type of gateway support to use. |
| 340 | Should be a symbol specifying how to get a connection from the local machine. | 340 | Should be a symbol specifying how to get a connection from the local machine. |
| 341 | 341 | ||
| 342 | Currently supported methods: | 342 | Currently supported methods: |