From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/28042 Path: main.gmane.org!not-for-mail From: Shenghuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: nnslashdot groups hang emacs! Date: 10 Dec 1999 02:00:03 -0500 Organization: U of Rochester Sender: owner-ding@hpc.uh.edu Message-ID: <2naenjb7rg.fsf@tiger.jia.vnet> References: <5bd7sfpw94.fsf@giga.cs.rochester.edu> <199912100014.QAA27590@newman.aventail.com> <199912100022.QAA27740@newman.aventail.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1035164958 27713 80.91.224.250 (21 Oct 2002 01:49:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:49:18 +0000 (UTC) Return-Path: Original-Received: from bart.math.uh.edu (bart.math.uh.edu [129.7.128.48]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id CAA27012 for ; Fri, 10 Dec 1999 02:00:58 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by bart.math.uh.edu (8.9.1/8.9.1) with ESMTP id BAB25971; Fri, 10 Dec 1999 01:00:50 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 10 Dec 1999 01:00:55 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id BAA03980 for ; Fri, 10 Dec 1999 01:00:37 -0600 (CST) Original-Received: from mailhop1.nyroc.rr.com (mailhop1-0.nyroc.rr.com [24.92.226.120]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id CAA26998 for ; Fri, 10 Dec 1999 02:00:14 -0500 (EST) Original-Received: from mailout2.nyroc.rr.com ([10.92.226.121]) by mailhop1.nyroc.rr.com (Post.Office MTA v3.5.3 release 223 ID# 0-59787U250000L250000S0V35) with ESMTP id com for ; Fri, 10 Dec 1999 01:58:16 -0500 Original-Received: from heart.cs.rochester.edu ([24.24.58.252]) by mailout2.nyroc.rr.com (Post.Office MTA v3.5.3 release 223 ID# 0-59787U250000L250000S0V35) with ESMTP id com for ; Fri, 10 Dec 1999 01:51:53 -0500 Original-Received: (from zsh@localhost) by heart.cs.rochester.edu (8.9.3/8.9.3) id CAA08418; Fri, 10 Dec 1999 02:00:03 -0500 X-Authentication-Warning: tiger.jia.vnet: zsh set sender to zsh@cs.rochester.edu using -f Original-To: ding@gnus.org X-Attribution: ZSH X-Face: 'IF:e51ib'Qbl^(}l^&4-J`'P!@[4~O|&k#:@Gld#b/]oMq&`&FVY._3+b`mzp~Jeve~/#/ ERD!OTe<86UhyN=l`mrPY)M7_}`Ktt\K+58Z!hu7>qU,i.N7TotU[FYE(f1;}`g2xj!u*l`^&=Q!g{ *q|ddto|nkt"$r,K$[)"|6,elPH= GJ6Q In-Reply-To: wmperry@aventail.com's message of "Thu, 9 Dec 1999 16:22:37 -0800" Original-Lines: 31 User-Agent: Gnus/5.0803 (Gnus v5.8.3) XEmacs/21.2 (Shinjuku) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:28042 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:28042 --=-=-= >>>>> "BP" == William M Perry writes: BP> dave-mlist@bfnet.com writes: >> >> Is there any way to break out of it without killing emacs? >> BP> Well, it is usually in a spin of (while ... (accept-process-output process BP> 1)), and if that is not interruptible, it is a bug in emacs. This should BP> be less of a problem since everything in the new package is asynch by BP> default and doesn't do silly things like those asynch loops. >> >> What do you mean by "everything in the new package?" >> What new package? BP> cvs -d :pserver:anoncvs@anoncvs.gnu.org:/gd/gnu/anoncvsroot/ checkout url Could you please apply this patch? Because HotMail only accepts one line cookie, and Netscape, perl LWP send out one line cookie by default. -- Shenghuo 1999-12-10 01:57:01 Shenghuo ZHU * lisp/url-cookie.el (url-cookie-multiple-line): One line cookie if nil. (url-cookie-generate-header-lines): Use it. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=one-line-cookie.diff Index: url-cookie.el =================================================================== RCS file: /gd/gnu/anoncvsroot/url/lisp/url-cookie.el,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 url-cookie.el --- url-cookie.el 1999/11/26 12:11:47 1.1.1.1 +++ url-cookie.el 1999/12/10 06:53:05 @@ -255,6 +255,10 @@ (setq retval (cons cur retval)))))) retval)) +(defvar url-cookie-multiple-line t + "If nil, use one line cookie. +Some web servers, such as hotmail, only accept one line cookie.") + ;;;###autolaod (defun url-cookie-generate-header-lines (host path secure) (let* ((cookies (url-cookie-retrieve host path secure)) @@ -272,7 +276,8 @@ (setq cur (car cookies) cookies (cdr cookies) chunk (format "%s=%s" (url-cookie-name cur) (url-cookie-value cur)) - retval (if (< 80 (+ (length retval) (length chunk) 4)) + retval (if (and url-cookie-multiple-line + (< 80 (+ (length retval) (length chunk) 4))) (concat retval "\r\nCookie: " chunk) (if retval (concat retval "; " chunk) --=-=-=--