unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* "url-handlers.el" is incompatible whih Gnus.
@ 2004-10-09 17:02 zrr
  2004-10-09 17:15 ` Stefan
  0 siblings, 1 reply; 2+ messages in thread
From: zrr @ 2004-10-09 17:02 UTC (permalink / raw)



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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: "url-handlers.el" is incompatible whih Gnus.
  2004-10-09 17:02 "url-handlers.el" is incompatible whih Gnus zrr
@ 2004-10-09 17:15 ` Stefan
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan @ 2004-10-09 17:15 UTC (permalink / raw)
  Cc: emacs-devel

>          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")

Fixed a couple days ago.


        Stefan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-09 17:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-09 17:02 "url-handlers.el" is incompatible whih Gnus zrr
2004-10-09 17:15 ` Stefan

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).