* Re: nnslashdot groups hang emacs!
1999-12-10 0:14 ` William M. Perry
@ 1999-12-09 21:18 ` dave-mlist
1999-12-10 0:22 ` William M. Perry
0 siblings, 1 reply; 8+ messages in thread
From: dave-mlist @ 1999-12-09 21:18 UTC (permalink / raw)
Cc: Shenghuo ZHU, ding
>> 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?
Dave
^ permalink raw reply [flat|nested] 8+ messages in thread
* nnslashdot groups hang emacs!
@ 1999-12-09 22:30 dave-mlist
1999-12-09 22:47 ` Shenghuo ZHU
0 siblings, 1 reply; 8+ messages in thread
From: dave-mlist @ 1999-12-09 22:30 UTC (permalink / raw)
I have been using nnslashdot for the last two days. It is great!
However, some groups cause emacs to go into an infinite loop when I
enter them. I see "contacting..." and "1k..." and then "Mark Set" and
then nothing. When I try to Ctl-g out of it, nothing happens. My WS
load average goes to 1. I have to kill emacs to get out.
How can I help you debug this?
Dave
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: nnslashdot groups hang emacs!
1999-12-09 22:30 nnslashdot groups hang emacs! dave-mlist
@ 1999-12-09 22:47 ` Shenghuo ZHU
1999-12-09 23:07 ` dave-mlist
0 siblings, 1 reply; 8+ messages in thread
From: Shenghuo ZHU @ 1999-12-09 22:47 UTC (permalink / raw)
>>>>> "dave-mlist" == dave-mlist <dave-mlist@bfnet.com> writes:
dave-mlist> I have been using nnslashdot for the last two days. It is
dave-mlist> great! However, some groups cause emacs to go into an
dave-mlist> infinite loop when I enter them. I see "contacting..."
dave-mlist> and "1k..." and then "Mark Set" and then nothing. When I
dave-mlist> try to Ctl-g out of it, nothing happens. My WS load
dave-mlist> average goes to 1. I have to kill emacs to get out.
I think it is because URL package is not sensitive to `C-g'.
dave-mlist> How can I help you debug this?
--
Shenghuo ZHU
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: nnslashdot groups hang emacs!
1999-12-09 22:47 ` Shenghuo ZHU
@ 1999-12-09 23:07 ` dave-mlist
1999-12-10 0:14 ` William M. Perry
0 siblings, 1 reply; 8+ messages in thread
From: dave-mlist @ 1999-12-09 23:07 UTC (permalink / raw)
Cc: ding
dave> I see "contacting..." and "1k..." and then "Mark Set" and then
dave> nothing. When I try to Ctl-g out of it, nothing happens. My WS
dave> load average goes to 1. I have to kill emacs to get out.
ZSH> I think it is because URL package is not sensitive to `C-g'.
Is there any way to break out of it without killing emacs?
Dave
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: nnslashdot groups hang emacs!
1999-12-09 23:07 ` dave-mlist
@ 1999-12-10 0:14 ` William M. Perry
1999-12-09 21:18 ` dave-mlist
0 siblings, 1 reply; 8+ messages in thread
From: William M. Perry @ 1999-12-10 0:14 UTC (permalink / raw)
Cc: Shenghuo ZHU, ding
dave-mlist@bfnet.com writes:
> dave> I see "contacting..." and "1k..." and then "Mark Set" and then
> dave> nothing. When I try to Ctl-g out of it, nothing happens. My WS
> dave> load average goes to 1. I have to kill emacs to get out.
>
> ZSH> I think it is because URL package is not sensitive to `C-g'.
>
> Is there any way to break out of it without killing emacs?
Well, it is usually in a spin of (while ... (accept-process-output process
1)), and if that is not interruptible, it is a bug in emacs. This should
be less of a problem since everything in the new package is asynch by
default and doesn't do silly things like those asynch loops.
-bp
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: nnslashdot groups hang emacs!
1999-12-09 21:18 ` dave-mlist
@ 1999-12-10 0:22 ` William M. Perry
1999-12-10 7:00 ` Shenghuo ZHU
0 siblings, 1 reply; 8+ messages in thread
From: William M. Perry @ 1999-12-10 0:22 UTC (permalink / raw)
Cc: Shenghuo ZHU, ding
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?
cvs -d :pserver:anoncvs@anoncvs.gnu.org:/gd/gnu/anoncvsroot/ checkout url
:)
-Bill P.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: nnslashdot groups hang emacs!
1999-12-10 0:22 ` William M. Perry
@ 1999-12-10 7:00 ` Shenghuo ZHU
1999-12-10 16:06 ` William M. Perry
0 siblings, 1 reply; 8+ messages in thread
From: Shenghuo ZHU @ 1999-12-10 7:00 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 959 bytes --]
>>>>> "BP" == William M Perry <wmperry@aventail.com> 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 <zsh@cs.rochester.edu>
* lisp/url-cookie.el (url-cookie-multiple-line): One line cookie
if nil.
(url-cookie-generate-header-lines): Use it.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: one-line-cookie.diff --]
[-- Type: text/x-patch, Size: 1045 bytes --]
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)
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: nnslashdot groups hang emacs!
1999-12-10 7:00 ` Shenghuo ZHU
@ 1999-12-10 16:06 ` William M. Perry
0 siblings, 0 replies; 8+ messages in thread
From: William M. Perry @ 1999-12-10 16:06 UTC (permalink / raw)
Cc: ding
Shenghuo ZHU <zsh@cs.rochester.edu> writes:
> >>>>> "BP" == William M Perry <wmperry@aventail.com> 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.
Applied, will commit this afternoon. Thanks.
-Bill P.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~1999-12-10 16:06 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-09 22:30 nnslashdot groups hang emacs! dave-mlist
1999-12-09 22:47 ` Shenghuo ZHU
1999-12-09 23:07 ` dave-mlist
1999-12-10 0:14 ` William M. Perry
1999-12-09 21:18 ` dave-mlist
1999-12-10 0:22 ` William M. Perry
1999-12-10 7:00 ` Shenghuo ZHU
1999-12-10 16:06 ` William M. Perry
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 NNTP newsgroup(s).