[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
https by default (English + =?utf-8?b?5pel5pys6KqeKQ==?=
- From: Katsumi Yamaoka <yamaoka@xxxxxxx>
- Date: Tue, 18 Jul 2017 17:30:06 +0900
- X-ml-name: emacs-w3m
- X-mail-count: 12755
Hi emacs-w3m authorities,
Let me ask some questions in relation to the discussion beginning
with [emacs-w3m:12749].
--------
������������������������������
[emacs-w3m:12749] ���������������������������������������������������������������������
���������������
Q1.
========
Why is the constant `w3m-url-fallback-base' "http:///";, not
"http://";? The function `w3m-expand-url' uses it and behaves as
follows:
(w3m-expand-url "www.gnu.org") => "http:///www.gnu.org";
It is invalid. Shouldn't the result be "http://www.gnu.org";?
--------
������������ `w3m-url-fallback-base' ������"http://"; ���������������
"http:///"; ���������������? (w3m-expand-url "www.gnu.org") ���
"http:///www.gnu.org"; ���������������������������������������������������������
"http://www.gnu.org"; ������������������������������������?
Q2.
========
Why does the function `w3m-url-valid' only check if a given
string does not match `w3m-url-invalid-regexp' ("\\`http:///";)?
IOW, why is this judged valid?
(and (w3m-url-valid "ptth://www.gnu.org") 'VALID) => VALID
--------
������������ `w3m-url-valid' ���������������������������������
`w3m-url-invalid-regexp' ("\\`http:///";) ������������������������������
������������������������������������������?������������������������������������������������
���������������������? --- (w3m-url-valid "ptth://www.gnu.org")