From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/6983 Path: news.gmane.org!not-for-mail From: Andreas Seltenreich Newsgroups: gmane.emacs.gnus.user Subject: Re: Problems with `nnweb' mode Date: Wed, 05 Apr 2006 02:22:27 +0200 Message-ID: <87zmj0vpks.fsf@gate450.dyndns.org> References: <87slownfqt.fsf@anfi.homeunix.net> <87zmj28ruc.fsf@anfi.homeunix.net> <87lkul2l5w.fsf@baldur.nicundtas.de> <87u0999f33.fsf@gate450.dyndns.org> <874q19nd32.fsf@baldur.nicundtas.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1144196567 5721 80.91.229.2 (5 Apr 2006 00:22:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 Apr 2006 00:22:47 +0000 (UTC) Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Wed Apr 05 02:22:44 2006 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FQvnF-00060G-Qj for gegu-info-gnus-english@m.gmane.org; Wed, 05 Apr 2006 02:22:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FQvnE-0001ug-VR for gegu-info-gnus-english@m.gmane.org; Tue, 04 Apr 2006 20:22:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FQvnB-0001u5-Rd for info-gnus-english@gnu.org; Tue, 04 Apr 2006 20:22:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FQvn8-0001tk-5R for info-gnus-english@gnu.org; Tue, 04 Apr 2006 20:22:36 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FQvn8-0001th-0N for info-gnus-english@gnu.org; Tue, 04 Apr 2006 20:22:34 -0400 Original-Received: from [129.13.185.217] (helo=smtp1.rz.uni-karlsruhe.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1FQvqW-0004IT-4K for info-gnus-english@gnu.org; Tue, 04 Apr 2006 20:26:04 -0400 Original-Received: from rzstud1.stud.uni-karlsruhe.de (rzstud1.stud.uni-karlsruhe.de [193.196.41.33]) by smtp1.rz.uni-karlsruhe.de with esmtp (Exim 4.50 #1) id 1FQvn3-0008QJ-Pt; Wed, 05 Apr 2006 02:22:31 +0200 Original-Received: from uwi7 by rzstud1.stud.uni-karlsruhe.de with local (Exim 3.36 #1) id 1FQvn5-0003Q7-00 for info-gnus-english@gnu.org; Wed, 05 Apr 2006 02:22:32 +0200 Original-To: info-gnus-english@gnu.org X-PGP-Key: 0x2C006B340F8C8C1B X-Now-Playing: Various Artists / Descent II Soundtrack X-Face: $:F<87a[gD1?#R6S3j21cr1&C&7bd63GHC.tSdskUb}hhwG(ci*=D5kJ<_N+p9q(7-, PnG. Et.Yh (Tassilo Horn's message of "Wed, 05 Apr 2006 01:19:29 +0200") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:6983 Archived-At: Tassilo Horn schrob: > Andreas Seltenreich writes: > >> It should work again for both google and gmane in the upcoming >> releases. The current version of No Gnus from CVS works for >> me. Although, there might still be some value/version combination of >> mm-url-program which wasn't tested yet. > > I've seen your patch at <871wwdb5ew.fsf@gate450.dyndns.org> and couldn't > believe this was the fix for this problem Right, it isn't, but that was not the only patch I sent concerning nnweb :-). > I updated my NoGnus CVS copy, but Gnus still fetches only empty > messages. > > To get a little more concrete: I tried fetching the message > > <419g22duprrhohcfaf84srcl0bdrljsjnl@4ax.com> > > by pressing RET on this message-id. *Messages* says: > > ,----[ *Messages* ] > | Opening nnweb server on google...done > | No matching articles > | No such article (may have expired or been canceled) > `---- Hmm, right, I'm getting the same when mm-url-use-external is nil. The cause seems to be that there now are two redirects (302 Found). Too bad mm-url doesn't support redirects when doing internal fetching. I don't see how one can avoid all redirects, since the last one turns the message-id into some internal id :-(. So, referring articles by message-id is basically broken when mm-url-use-external is nil, until it is taught how to deal with redirects. > Now I browse groups.google.com and enter the message-id in the search > field, and google finds the article. The search-string visible in my > browser's address bar is > > http://groups.google.com/groups?q=+ > > If I type in the url defined in nnweb.el (id) into my browser and > replace "%s" with the (escaped) message-id, the result page states: > > "The requested message, > <419g22duprrhohcfaf84srcl0bdrljsjnl@4ax.com>, could not be found." Try again without the angle brackets :-). > Here are some infos about my system. > > With wget (1.10.2) it does not work. > > ,----[ C-h v mm-url-program RET ] > | mm-url-program is a variable defined in `mm-url.el'. > | Its value is wget > | > | Documentation: > | The url grab program. > | Likely values are `wget', `w3m', `lynx' and `curl'. > `---- > > I tested this, too. (Doesn't work, w3m-0.5.1, emacs-w3m-1.4.4) Did you set mm-url-use-external to t when testing? If you did to no avail, then does the following request work? (works for me) --8<---------------cut here---------------start------------->8--- (let ((url "http://www.google.com/groups?as_umsgid=419g22duprrhohcfaf84srcl0bdrljsjnl@4ax.com&hl=en&dmode=source") (mm-url-use-external t) (mm-url-program 'wget)) (mm-url-insert url t)) --8<---------------cut here---------------end--------------->8--- > Can I provide any additional infos? I would volunteer to spend some time > with testing to get this fixed (before the release, if possible). Hmm, do web groups work for you (G w in the Group Buffer)? They work for me for both, internal and external fetching. Thanks for the feedback! Andreas