[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: domain=.google.cn



>>>>> In [emacs-w3m : No.09954] Lazycat Manatee wrote:

> The rule of construct the top level domain name in China is,
> example about google.
>       www.google.com or www.google.cn don't like Japanese's www.google.co.jp
>       don't have any website use like foo.com.cn bar.net.cn, only will use
> like:
>       name.cn name.com name.net.

Thanks.  So, this patch will do the trick.  Could you try it?

--8<---------------cut here---------------start------------->8---
--- w3m-cookie.el~	2007-10-17 11:15:57 +0000
+++ w3m-cookie.el	2008-01-22 08:34:44 +0000
@@ -50,7 +50,8 @@
 
 (defconst w3m-cookie-two-dot-domains-regexp
   (concat "\\.\\(?:"
-	  (mapconcat 'identity (list "com" "edu" "net" "org" "gov" "mil" "int")
+	  (mapconcat 'identity
+		     (list "com" "edu" "net" "org" "gov" "mil" "int" "cn")
 		     "\\|")
 	  "\\)$")
   "A regular expression of top-level domains that only require two matching
--8<---------------cut here---------------end--------------->8---

> About second:
>       i used to use Emacs-22, and now i use Emacs 23.0.60.20, so i delete all
> file under /usr/share/emacs/site-lisp/w3m, and load-path from ~/MyEmacs/
> Site-Lisp/emacs-w3m-for-emacs-23/ and "emacs-w3m-for-emacs-23" is the cvs of
> emacs-w3m, maybe i delete import file under /usr/share/emacs/site-listp/w3m.

Fine.  It will never cause the problem concerned with the
incompatibility of the byte code between Emacs Unicode-2 and the
others.

>      But i browser website use emacs-w3m is normal, can you tell me emacs-23
> need other files except files under "emacs-w3m"?

I believe there is no extra requirement for emacs-w3m running on
Emacs Unicode-2.

Regards,