From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: zrr Newsgroups: gmane.emacs.devel Subject: "url-handlers.el" is incompatible whih Gnus. Date: Sun, 10 Oct 2004 01:02:56 +0800 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1097341425 13781 80.91.229.6 (9 Oct 2004 17:03:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 9 Oct 2004 17:03:45 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 09 19:03:34 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CGKd4-0006LR-00 for ; Sat, 09 Oct 2004 19:03:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CGKju-0001Ru-CR for ged-emacs-devel@m.gmane.org; Sat, 09 Oct 2004 13:10:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CGKjn-0001Rn-En for emacs-devel@gnu.org; Sat, 09 Oct 2004 13:10:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CGKjn-0001Rb-21 for emacs-devel@gnu.org; Sat, 09 Oct 2004 13:10:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CGKjn-0001RY-05 for emacs-devel@gnu.org; Sat, 09 Oct 2004 13:10:31 -0400 Original-Received: from [216.136.129.91] (helo=smtp201.mail.sc5.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1CGKcU-0006jT-0N for emacs-devel@gnu.org; Sat, 09 Oct 2004 13:02:58 -0400 Original-Received: from unknown (HELO shemale) (beijing?2008?gold@222.163.19.145 with login) by smtp201.mail.sc5.yahoo.com with SMTP; 9 Oct 2004 17:02:53 -0000 Original-To: emacs-devel@gnu.org User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.0 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:28140 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28140 Hello, I use CVS Emacs trunk branch and emacs-unicode-2 brach. When I get messages form web sources in Gnus, such as Web search, slashdot or RSS. I always got this error: Debugger entered--Lisp error: (wrong-type-argument stringp nil) string-match("\\.\\(arc\\|zip\\|lzh\\|zoo\\|jar\\|sx[dmicw]\\|tar\\)\\'" nil) auto-coding-alist-lookup(nil) set-auto-coding(nil 54565) decode-coding-inserted-region(1 54566 nil nil nil nil nil) url-insert-file-contents("http://groups.google.com/groups?q=comp.text.tex&num=100&hq=&hl=&lr=&safe=off&sites=groups") I have examined the "url-handles.el" in which the 'ur-insert-file-contents' is defined. I found this problem might be caused by the codes from line 207 to 211. ;; FIXME: for text/plain data, we sometimes receive a `charset' ;; annotation which we could use as a hint of the locale in use ;; at the remote site. Not sure how/if that should be done. --Stef (decode-coding-inserted-region start (point) buffer-file-name visit beg end replace))) The third argument of 'decode-coding-inserted-region', which should be a file name, is 'nil', for the buffer is not associated whih any file. I'm not sure wheather posting this report to this mail list is appropriate, will you fix this problem? Cheers Tang