Gnus development mailing list
 help / color / mirror / Atom feed
* nnvirtual problem
@ 2001-01-03 13:04 Paul Stevenson
  2001-01-04  4:26 ` ShengHuo ZHU
  0 siblings, 1 reply; 9+ messages in thread
From: Paul Stevenson @ 2001-01-03 13:04 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 671 bytes --]

Hello,
Since I just advocated using nnvirtual, I thought I'd give it a go.  I
created a new virtual group (G V) and then customized its select
method to be (nnvirtual "^nnfolder"), which I though would be quite
fun as it would then *all* my mail.

It looked like everything was working nicely.  It took about 20
seconds to open the group with about 10MB in c.1000 messages and I
played around to see what I could do.  I tried to see if I could use
it as a poor-man's search engine, and I could, with M-s, then I tried
to leave the group (by pressing 'q') and it started trying to expire
various articles, and I got;
(wrong-type-argument listp 240)

Here's the backtrace:

[-- Attachment #2: backtrace --]
[-- Type: text/plain, Size: 1753 bytes --]

Signaling: (wrong-type-argument listp 240)
  mapcar(#[(article) "Â\b	\"‡" [group article nnvirtual-reverse-map-article] 3] (208 . 240))
  nnvirtual-request-expire-articles((26 221 225 229 233 237 241 245 249 253 257 263 269 275 281 287 293 299 305 311 317 324 331 335 339 343 347 351 355 359 363 367 371 375 379 383 387 391 395 399 403 407 411 415 419 423 428 432 437 441 ... . (446 450 455 459 464 468 473 477 482 486 491 495 500 504 509 513 518 522 527 531 536 540 545 549 554 558 563 567 572 576 581 585 590 594 599 603 608 612 617 621 626 630 635 639 644 648 653 657 662 666 ... . (671 675 680 684 689 693 698 702 707 711 716 720 725 729 734 738 743 747 752 756 761 765 770 774 779 783 788 792 797 801 807 811 817 821 827 831 837 841 847 851 857 861 868 872 879 883 891 895 903 907 ... . ...))) "bear" "^nnfolder" nil)
  gnus-request-expire-articles((26 221 225 229 233 237 241 245 249 253 257 263 269 275 281 287 293 299 305 311 317 324 331 335 339 343 347 351 355 359 363 367 371 375 379 383 387 391 395 399 403 407 411 415 419 423 428 432 437 441 ... . (446 450 455 459 464 468 473 477 482 486 491 495 500 504 509 513 518 522 527 531 536 540 545 549 554 558 563 567 572 576 581 585 590 594 599 603 608 612 617 621 626 630 635 639 644 648 653 657 662 666 ... . (671 675 680 684 689 693 698 702 707 711 716 720 725 729 734 738 743 747 752 756 761 765 770 774 779 783 788 792 797 801 807 811 817 821 827 831 837 841 847 851 857 861 868 872 879 883 891 895 903 907 ... . ...))) "nnvirtual:bear")
  gnus-summary-expire-articles()
  run-hooks(gnus-summary-prepare-exit-hook)
  apply(run-hooks gnus-summary-prepare-exit-hook)
  gnus-run-hooks(gnus-summary-prepare-exit-hook)
  gnus-summary-exit()
  call-interactively(gnus-summary-exit)
î\x11¸0Ÿ¯T

[-- Attachment #3: Type: text/plain, Size: 301 bytes --]


-- 
.  Dr Paul Stevenson   .   Research Fellow   .   University of Surrey   .
.     phone: +44 (0) 1483 876795     .     fax +44 (0) 1483 876781      .
.    p.stevenson@surrey.ac.uk  .  http://www.ph.surrey.ac.uk/~phs3ps    .
.                           I dream in beige                            .

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

* Re: nnvirtual problem
  2001-01-03 13:04 nnvirtual problem Paul Stevenson
@ 2001-01-04  4:26 ` ShengHuo ZHU
  2001-01-05 11:00   ` Paul Stevenson
  0 siblings, 1 reply; 9+ messages in thread
From: ShengHuo ZHU @ 2001-01-04  4:26 UTC (permalink / raw)


Paul Stevenson <p.stevenson@surrey.ac.uk> writes:

> Hello,
> Since I just advocated using nnvirtual, I thought I'd give it a go.  I
> created a new virtual group (G V) and then customized its select
> method to be (nnvirtual "^nnfolder"), which I though would be quite
> fun as it would then *all* my mail.
> 
> It looked like everything was working nicely.  It took about 20
> seconds to open the group with about 10MB in c.1000 messages and I
> played around to see what I could do.  I tried to see if I could use
> it as a poor-man's search engine, and I could, with M-s, then I tried
> to leave the group (by pressing 'q') and it started trying to expire
> various articles, and I got;
> (wrong-type-argument listp 240)

It had been fixed in 2000-11-05.

ShengHuo



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

* Re: nnvirtual problem
  2001-01-04  4:26 ` ShengHuo ZHU
@ 2001-01-05 11:00   ` Paul Stevenson
  2001-01-09  4:10     ` ShengHuo ZHU
  0 siblings, 1 reply; 9+ messages in thread
From: Paul Stevenson @ 2001-01-05 11:00 UTC (permalink / raw)
  Cc: ding

[-- Attachment #1: Type: text/plain, Size: 659 bytes --]

ShengHuo ZHU <zsh@cs.rochester.edu> writes:

> Paul Stevenson <p.stevenson@surrey.ac.uk> writes:
>
> > It looked like [nnvirtual] was working nicely.  It took about 20
> > seconds to open the group with about 10MB in c.1000 messages and I
> > played around to see what I could do.  I tried to see if I could use
> > it as a poor-man's search engine, and I could, with M-s, then I tried
> > to leave the group (by pressing 'q') and it started trying to expire
> > various articles, and I got;
> > (wrong-type-argument listp 240)
> 
> It had been fixed in 2000-11-05.
> 
> ShengHuo

Now I get 
(wrong-type-argument number-or-marker-p nil)

Here's the backtrace

[-- Attachment #2: backtrace --]
[-- Type: text/plain, Size: 1804 bytes --]

Signaling: (wrong-type-argument number-or-marker-p nil)
  <(nil 1116)
  sort((963 965 970 981 986 993 995 997 1002 1013 1018 1025 1032 1037 1048 1053 1060 1071 1076 1087 1092 1099 1113 1115 1120 1131 1136 1143 1165 1166 1167 1168) <)
  nnvirtual-request-expire-articles((51 54 57 60 61 64 65 68 69 72 73 76 77 80 81 84 85 88 89 92 93 96 97 100 101 104 105 108 109 112 113 116 117 120 121 124 125 128 129 132 133 136 137 140 141 144 145 148 149 152 ... . (153 156 157 160 161 164 165 168 169 172 173 176 177 180 181 184 185 188 189 192 193 196 197 200 201 204 205 208 209 212 213 216 217 220 221 224 225 228 229 232 233 236 237 240 241 244 245 248 249 252 ... . (253 256 257 260 261 264 265 268 269 272 273 276 277 280 281 284 285 288 289 292 293 296 297 300 301 304 305 308 309 312 313 316 317 320 321 324 325 328 329 332 333 336 337 340 341 344 345 348 349 352 ... . ...))) "allmail" "^nnfolder\\+mail" nil)
  gnus-request-expire-articles((51 54 57 60 61 64 65 68 69 72 73 76 77 80 81 84 85 88 89 92 93 96 97 100 101 104 105 108 109 112 113 116 117 120 121 124 125 128 129 132 133 136 137 140 141 144 145 148 149 152 ... . (153 156 157 160 161 164 165 168 169 172 173 176 177 180 181 184 185 188 189 192 193 196 197 200 201 204 205 208 209 212 213 216 217 220 221 224 225 228 229 232 233 236 237 240 241 244 245 248 249 252 ... . (253 256 257 260 261 264 265 268 269 272 273 276 277 280 281 284 285 288 289 292 293 296 297 300 301 304 305 308 309 312 313 316 317 320 321 324 325 328 329 332 333 336 337 340 341 344 345 348 349 352 ... . ...))) "nnvirtual:allmail")
  gnus-summary-expire-articles()
  run-hooks(gnus-summary-prepare-exit-hook)
  apply(run-hooks gnus-summary-prepare-exit-hook)
  gnus-run-hooks(gnus-summary-prepare-exit-hook)
  gnus-summary-exit()
  call-interactively(gnus-summary-exit)

[-- Attachment #3: Type: text/plain, Size: 301 bytes --]


-- 
.  Dr Paul Stevenson   .   Research Fellow   .   University of Surrey   .
.     phone: +44 (0) 1483 876795     .     fax +44 (0) 1483 876781      .
.    p.stevenson@surrey.ac.uk  .  http://www.ph.surrey.ac.uk/~phs3ps    .
.                           I dream in beige                            .

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

* Re: nnvirtual problem
  2001-01-05 11:00   ` Paul Stevenson
@ 2001-01-09  4:10     ` ShengHuo ZHU
  2001-01-09  8:54       ` Paul Stevenson
  0 siblings, 1 reply; 9+ messages in thread
From: ShengHuo ZHU @ 2001-01-09  4:10 UTC (permalink / raw)


Paul Stevenson <p.stevenson@surrey.ac.uk> writes:

> Now I get 
> (wrong-type-argument number-or-marker-p nil)
> 
> Here's the backtrace
> 
> Signaling: (wrong-type-argument number-or-marker-p nil)
>   <(nil 1116)
>   sort((963 965 970 981 986 993 995 997 1002 1013 1018 1025 1032 1037 1048 1053 1060 1071 1076 1087 1092 1099 1113 1115 1120 1131 1136 1143 1165 1166 1167 1168) <)

It looks something wrong with sort. Could you evaluate the following
in your version of Emacs, i.e. Emacs 20.3?

(sort '(963 965 970 981 986 993 995 997 1002 1013 1018 1025 1032 1037
1048 1053 1060 1071 1076 1087 1092 1099 1113 1115 1120 1131 1136 1143
1165 1166 1167 1168) '<)

ShengHuo



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

* Re: nnvirtual problem
  2001-01-09  4:10     ` ShengHuo ZHU
@ 2001-01-09  8:54       ` Paul Stevenson
  2001-01-09 22:46         ` Dan Christensen
  0 siblings, 1 reply; 9+ messages in thread
From: Paul Stevenson @ 2001-01-09  8:54 UTC (permalink / raw)


ShengHuo ZHU <zsh@cs.rochester.edu> writes:

> It looks something wrong with sort. Could you evaluate the following
> in your version of Emacs, i.e. Emacs 20.3?
> 
> (sort '(963 965 970 981 986 993 995 997 1002 1013 1018 1025 1032 1037
> 1048 1053 1060 1071 1076 1087 1092 1099 1113 1115 1120 1131 1136 1143
> 1165 1166 1167 1168) '<)
> 
> ShengHuo

No error, just:

(963 965 970 981 986 993 995 997 1002 1013 1018 1025 1032 1037 1048 1053 1060 1071 1076 1087 1092 1099 1113 1115 1120 1131 1136 1143 1165 1166 1167 1168)




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

* Re: nnvirtual problem
  2001-01-09  8:54       ` Paul Stevenson
@ 2001-01-09 22:46         ` Dan Christensen
  2001-01-10  8:32           ` Paul Stevenson
  0 siblings, 1 reply; 9+ messages in thread
From: Dan Christensen @ 2001-01-09 22:46 UTC (permalink / raw)
  Cc: ding

Paul Stevenson <p.stevenson@surrey.ac.uk> writes:

> ShengHuo ZHU <zsh@cs.rochester.edu> writes:
> 
> > It looks something wrong with sort. Could you evaluate the following
> > in your version of Emacs, i.e. Emacs 20.3?
> > 
> > (sort '(963 965 970 981 986 993 995 997 1002 1013 1018 1025 1032 1037
> > 1048 1053 1060 1071 1076 1087 1092 1099 1113 1115 1120 1131 1136 1143
> > 1165 1166 1167 1168) '<)
> > 
> > ShengHuo
> 
> No error, just:
> 
> (963 965 970 981 986 993 995 997 1002 1013 1018 1025 1032 1037 1048 1053 1060 1071 1076 1087 1092 1099 1113 1115 1120 1131 1136 1143 1165 1166 1167 1168)

I had similar problems with calls to sort a long time ago, and this
was the exchange that led Lars to a fix.  Hopefully the same kind
of fix will work here.

Dan

X-From-Line: nobody Mon Nov 24 14:59:37 1997
To: ding@gnus.org
Subject: continuing problem with gnus-change-server
From: jdc@chow.mat.jhu.edu (Dan Christensen)
Date: 24 Nov 1997 14:59:36 -0500
Message-ID: <x767pioyfr.fsf@chow.mat.jhu.edu>
X-Mailer: Quassia Gnus v0.14/Emacs 19.34
Xref: scratchy ding:16521
Status: OR
Lines: 32
X-Gnus-Article-Number: 16521   Tue Nov  9 02:10:52 1999

I've been putting off changing nntp servers for a few months, but now I've
got only 7 days before I lose access to old news server.  However,
gnus-change-server is still giving me problems, with qgnus 0.14 and
emacs 19.34.1.  This has been discussed before, but below there's
something that might provide a hint.  Here's a backtrace:

Signaling: (wrong-type-argument number-or-marker-p nil)
  <(nil nil)
  sort((nil) <)
  gnus-move-group-to-server(("sci.math" 4 ((1 . 210029)) ((cache 171741 173689 199399 199778) (tick 171741 173689 199399 199778))) (nntp "mit" (nntp-address "runge.mit.edu") (nntp-open-connection-function nntp-open-rlogin) (nntp-end-of-line "\n") (nntp-rlogin-user-name "jdchrist") (nntp-rlogin-parameters ("telnet" "galois.mit.edu" "nntp"))) (nntp "news.jhu.edu"))
  gnus-change-server((nntp "mit" (nntp-address "runge.mit.edu") (nntp-open-connection-function nntp-open-rlogin) (nntp-end-of-line "\n") (nntp-rlogin-user-name "jdchrist") (nntp-rlogin-parameters ("telnet" "galois.mit.edu" "nntp"))) (nntp "news.jhu.edu"))
* call-interactively(gnus-change-server)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)

If I execute (sort '(nil) '<), emacs successfully returns (nil).
However, if I execute (sort '(nil nil) '<), emacs complains and gives
me the following backtrace, which looks suspiciously like the above
backtrace.

Signaling: (wrong-type-argument number-or-marker-p nil)
  <(nil nil)
  sort((nil) <)
  eval((sort (quote (nil)) (quote <)))
  eval-expression((sort (quote (nil)) (quote <)))
  call-interactively(eval-expression)

Could gnus be trying to sort a list like (nil nil)?  (And can anyone
explain why in the backtrace it says sort((nil) <) rather than
sort((nil nil) <)?)

Dan

X-From-Line: ding-request@ifi.uio.no  Tue Nov 25 15:47:12 1997
Received: from math.mit.edu (MATH.MIT.EDU [18.87.0.8]) by chow.mat.jhu.edu (8.7.6/8.7.3) with ESMTP id PAA04430 for <jdc@chow.mat.jhu.edu>; Tue, 25 Nov 1997 15:47:11 -0500 (EST)
Received: from ifi.uio.no (ifi.uio.no [129.240.64.2])
	by math.mit.edu (8.8.7/8.8.7) with ESMTP id PAA06072
	for <jdchrist@math.mit.edu>; Tue, 25 Nov 1997 15:47:02 -0500 (EST)
Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23])
	by ifi.uio.no (8.8.8/8.8.7/ifi0.2) with SMTP id UAA05378
	for <ding@ifi.uio.no>; Tue, 25 Nov 1997 20:25:11 +0100 (MET)
Received: (qmail 13822 invoked by uid 504); 25 Nov 1997 19:24:58 -0000
Delivered-To: vdomains-gnus-ding@gnus.org
Received: (qmail 13813 invoked from network); 25 Nov 1997 19:24:57 -0000
Received: from xyplex08.uio.no (HELO sparky.gnus.org) (129.240.154.28)
  by claymore.vcinet.com with SMTP; 25 Nov 1997 19:24:55 -0000
Received: (from larsi@localhost)
	by sparky.gnus.org (8.8.5/8.8.5) id UAA03296;
	Tue, 25 Nov 1997 20:25:11 +0100
Mail-Copies-To: never
To: ding@gnus.org
Subject: Re: continuing problem with gnus-change-server
References: <x767pioyfr.fsf@chow.mat.jhu.edu>
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Date: 25 Nov 1997 19:55:21 +0100
In-Reply-To: jdc@chow.mat.jhu.edu's message of "Mon, 24 Nov 1997 14:59:36 -0500"
Message-ID: <m37m9whkh2.fsf@sparky.gnus.org>
X-Mailer: Quassia Gnus v0.17/XEmacs 19.15
X-Face: &w!^oO<W.WBH]FsTP:P0f9X6M-ygaADlA_)eF$<UwQzj7:C=Gi<a?/_4$LX^@$Qq7-O&XHp
 lDARi8e8iT<(A$LWAZD*xjk^')/wI5nG;1cNB>~dS|}-P0~ge{$c!h\<y
Xref: scratchy ding:16522
Status: OR
Lines: 20
X-Gnus-Article-Number: 16522   Tue Nov  9 02:10:52 1999

jdc@chow.mat.jhu.edu (Dan Christensen) writes:

> Signaling: (wrong-type-argument number-or-marker-p nil)
>   <(nil nil)
>   sort((nil) <)

[...]

> If I execute (sort '(nil) '<), emacs successfully returns (nil).

There is something odd about sort.  It sometimes works, and sometimes
it doesn't.

> Could gnus be trying to sort a list like (nil nil)?

No.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen

X-From-Line: owner-ding@hpc.uh.edu  Fri Nov 28 08:10:34 1997
Received: from math.mit.edu (MATH.MIT.EDU [18.87.0.8]) by chow.mat.jhu.edu (8.7.6/8.7.3) with ESMTP id IAA15534 for <jdc@chow.mat.jhu.edu>; Fri, 28 Nov 1997 08:10:33 -0500 (EST)
Received: from farabi.hpc.uh.edu (farabi.hpc.uh.edu [129.7.102.2])
	by math.mit.edu (8.8.7/8.8.7) with ESMTP id IAA26177
	for <jdchrist@math.mit.edu>; Fri, 28 Nov 1997 08:10:32 -0500 (EST)
Received: from sina.hpc.uh.edu (lists@[10.1.1.1]) by farabi.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id HAD19386; Fri, 28 Nov 1997 07:05:00 -0600 (CST)
Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 28 Nov 1997 07:10:20 -0600 (CST)
Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id HAA11194 for <ding@hpc.uh.edu>; Fri, 28 Nov 1997 07:10:14 -0600 (CST)
Received: (qmail 29321 invoked by uid 504); 28 Nov 1997 13:10:01 -0000
Delivered-To: vdomains-gnus-ding@gnus.org
Received: (qmail 29318 invoked from network); 28 Nov 1997 13:10:00 -0000
Received: from mail1.teleport.com (192.108.254.26)
  by claymore.vcinet.com with SMTP; 28 Nov 1997 13:10:00 -0000
Received: from cygnus.com (ip-pdx03-09.teleport.com [206.163.123.74]) by mail1.teleport.com (8.8.7/8.7.3) with ESMTP id FAA01598 for <ding@gnus.org>; Fri, 28 Nov 1997 05:09:54 -0800 (PST)
Message-Id: <199711281309.FAA01598@mail1.teleport.com>
From: Felix Lee <flee@teleport.com>
Subject: Re: continuing problem with gnus-change-server 
To: ding@gnus.org
In-reply-to: Your message of 25 Nov 1997 19:55:21 +0100.
             <m37m9whkh2.fsf@sparky.gnus.org> 
Date: Fri, 28 Nov 1997 05:11:22 -0800
Sender: owner-ding@hpc.uh.edu
Precedence: list
X-Majordomo: 1.94.jlt7
Xref: scratchy ding:16523
Status: OR
Lines: 19
X-Gnus-Article-Number: 16523   Tue Nov  9 02:10:53 1999

> > Signaling: (wrong-type-argument number-or-marker-p nil)
> >   <(nil nil)
> >   sort((nil) <)
> > If I execute (sort '(nil) '<), emacs successfully returns (nil).
> There is something odd about sort.  It sometimes works, and sometimes
> it doesn't.
> > Could gnus be trying to sort a list like (nil nil)?
> No.

hmm.  that's the only way I can get this failure in
emacs-20.2.  the backtrace is a little misleading though.

    (sort '(nil nil nil nil nil) '<)

    Signaling: (wrong-type-argument number-or-marker-p nil)
      <(nil nil)
      sort((nil) <)
      eval((sort (quote (nil)) (quote <)))
--

X-From-Line: owner-ding@hpc.uh.edu  Fri Nov 28 09:58:00 1997
Received: from math.mit.edu (MATH.MIT.EDU [18.87.0.8]) by chow.mat.jhu.edu (8.7.6/8.7.3) with ESMTP id JAA16142 for <jdc@chow.mat.jhu.edu>; Fri, 28 Nov 1997 09:58:00 -0500 (EST)
Received: from farabi.hpc.uh.edu (farabi.hpc.uh.edu [129.7.102.2])
	by math.mit.edu (8.8.7/8.8.7) with ESMTP id JAA26901
	for <jdchrist@math.mit.edu>; Fri, 28 Nov 1997 09:57:58 -0500 (EST)
Received: from sina.hpc.uh.edu (lists@[10.1.1.1]) by farabi.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id IAD19543; Fri, 28 Nov 1997 08:52:35 -0600 (CST)
Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 28 Nov 1997 08:56:29 -0600 (CST)
Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id IAA12178 for <ding@hpc.uh.edu>; Fri, 28 Nov 1997 08:56:22 -0600 (CST)
Received: (qmail 29728 invoked by uid 504); 28 Nov 1997 14:56:12 -0000
Delivered-To: vdomains-gnus-ding@gnus.org
Received: (qmail 29725 invoked from network); 28 Nov 1997 14:56:11 -0000
Received: from jagor.srce.hr (hniksic@161.53.2.130)
  by claymore.vcinet.com with SMTP; 28 Nov 1997 14:56:11 -0000
Received: (from hniksic@localhost)
	by jagor.srce.hr (8.8.8/8.8.8) id PAA15989;
	Fri, 28 Nov 1997 15:55:59 +0100 (MET)
To: ding@gnus.org
Subject: Re: continuing problem with gnus-change-server
References: <199711281309.FAA01598@mail1.teleport.com>
X-Attribution: Hrvoje
X-Face: Mie8:rOV<\c/~z{s.X4A{!?vY7{drJ([U]0O=W/<W*SMo/Mv:58:*_y~ki>xDi&N7XG
        KV^$k0m3Oe/)'e%3=$PCR&3ITUXH,cK>]bci&<qQ>Ff%x_>1`T(+M2Gg/fgndU%k*ft
        [(7._6e0n-V%|%'[c|q:;}td$#INd+;?!-V=c8Pqf}3J
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 28 Nov 1997 15:55:59 +0100
In-Reply-To: Felix Lee's message of "Fri, 28 Nov 1997 05:11:22 -0800"
Message-ID: <kigu3cx9if4.fsf@jagor.srce.hr>
X-Mailer: Quassia Gnus v0.17/XEmacs 20.3 - "Vatican City"
Sender: owner-ding@hpc.uh.edu
Precedence: list
X-Majordomo: 1.94.jlt7
Xref: scratchy ding:16524
Status: OR
Lines: 12
X-Gnus-Article-Number: 16524   Tue Nov  9 02:10:53 1999

Felix Lee <flee@teleport.com> writes:

> hmm.  that's the only way I can get this failure in
> emacs-20.2.  the backtrace is a little misleading though.

It all makes sense now.  The backtrace is FUBAR because `sort' changes 
its first argument destructively!

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
ED WILL NOT CORRUPT YOUR PRECIOUS BODILY FLUIDS!!

X-From-Line: owner-ding@hpc.uh.edu  Fri Nov 28 21:57:45 1997
Received: from math.mit.edu (MATH.MIT.EDU [18.87.0.8]) by chow.mat.jhu.edu (8.7.6/8.7.3) with ESMTP id VAA22593 for <jdc@chow.mat.jhu.edu>; Fri, 28 Nov 1997 21:57:45 -0500 (EST)
Received: from farabi.hpc.uh.edu (farabi.hpc.uh.edu [129.7.102.2])
	by math.mit.edu (8.8.7/8.8.7) with ESMTP id VAA05999
	for <jdchrist@math.mit.edu>; Fri, 28 Nov 1997 21:57:43 -0500 (EST)
Received: from sina.hpc.uh.edu (lists@[10.1.1.1]) by farabi.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id UAD20291; Fri, 28 Nov 1997 20:52:20 -0600 (CST)
Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 28 Nov 1997 20:56:08 -0600 (CST)
Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id UAA17353 for <ding@hpc.uh.edu>; Fri, 28 Nov 1997 20:55:54 -0600 (CST)
Received: (qmail 32080 invoked by uid 504); 29 Nov 1997 02:55:43 -0000
Delivered-To: vdomains-gnus-ding@gnus.org
Received: (qmail 32070 invoked from network); 29 Nov 1997 02:55:41 -0000
Received: from xyplex36.uio.no (HELO sparky.gnus.org) (129.240.154.56)
  by claymore.vcinet.com with SMTP; 29 Nov 1997 02:55:40 -0000
Received: (from larsi@localhost)
	by sparky.gnus.org (8.8.5/8.8.5) id DAA11283;
	Sat, 29 Nov 1997 03:55:58 +0100
Mail-Copies-To: never
To: ding@gnus.org
Subject: Re: continuing problem with gnus-change-server
References: <199711281309.FAA01598@mail1.teleport.com> <kigu3cx9if4.fsf@jagor.srce.hr>
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Date: 29 Nov 1997 00:48:19 +0100
In-Reply-To: Hrvoje Niksic's message of "28 Nov 1997 15:55:59 +0100"
Message-ID: <m32000h96k.fsf@sparky.gnus.org>
X-Mailer: Quassia Gnus v0.18/XEmacs 19.15
X-Face: &w!^oO<W.WBH]FsTP:P0f9X6M-ygaADlA_)eF$<UwQzj7:C=Gi<a?/_4$LX^@$Qq7-O&XHp
 lDARi8e8iT<(A$LWAZD*xjk^')/wI5nG;1cNB>~dS|}-P0~ge{$c!h\<y
Xref: scratchy ding:16525
Sender: owner-ding@hpc.uh.edu
Precedence: list
X-Majordomo: 1.94.jlt7
Status: OR
Lines: 17
X-Gnus-Article-Number: 16525   Tue Nov  9 02:10:53 1999

Hrvoje Niksic <hniksic@srce.hr> writes:

> > hmm.  that's the only way I can get this failure in
> > emacs-20.2.  the backtrace is a little misleading though.
> 
> It all makes sense now.  The backtrace is FUBAR because `sort' changes 
> its first argument destructively!

Ah!  It all makes sense now.

One more of life's big mysteries solved.  I'll slap some `(delq nil ...)'
around some lists that I feed to sort, and Bob's your uncle.
(Whatever that means.)

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




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

* Re: nnvirtual problem
  2001-01-09 22:46         ` Dan Christensen
@ 2001-01-10  8:32           ` Paul Stevenson
  2001-01-10  9:31             ` Paul Stevenson
  0 siblings, 1 reply; 9+ messages in thread
From: Paul Stevenson @ 2001-01-10  8:32 UTC (permalink / raw)


Dan Christensen <jdc@julian.uwo.ca> writes:

> Paul Stevenson <p.stevenson@surrey.ac.uk> writes:
> 
> > > (sort '(963 965 970 981 986 993 995 997 1002 1013 1018 1025 1032 1037
> > > 1048 1053 1060 1071 1076 1087 1092 1099 1113 1115 1120 1131 1136 1143
> > > 1165 1166 1167 1168) '<)
> > > 
> > 
> > No error, just:
> > 
> > (963 965 970 981 986 993 995 997 1002 1013 1018 1025 1032 1037 1048 1053 1060 1071 1076 1087 1092 1099 1113 1115 1120 1131 1136 1143 1165 1166 1167 1168)
> 
> I had similar problems with calls to sort a long time ago, and this
> was the exchange that led Lars to a fix.  Hopefully the same kind
> of fix will work here.
>
> [snip]

Ahh, thanks.  Can anyone tell me how to figure out which instance of
sort is causing the problem.  My edebug skills are nil.



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

* Re: nnvirtual problem
  2001-01-10  8:32           ` Paul Stevenson
@ 2001-01-10  9:31             ` Paul Stevenson
  2001-01-10 13:49               ` ShengHuo ZHU
  0 siblings, 1 reply; 9+ messages in thread
From: Paul Stevenson @ 2001-01-10  9:31 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 292 bytes --]

Paul Stevenson <P.Stevenson@surrey.ac.uk> writes:

> Ahh, thanks.  Can anyone tell me how to figure out which instance of
> sort is causing the problem.  My edebug skills are nil.

Oh, that's clever - the backtrace tells us from which function sort
was called.

This patch fixes my problem;


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: fix nnvirtual to enable leaving a virtual group cleanly --]
[-- Type: text/x-patch, Size: 497 bytes --]

*** nnvirtual.el	Wed Jan 10 09:27:56 2001
--- nnvirtual.el.old	Wed Jan 10 09:27:33 2001
***************
*** 376,382 ****
  				   group article))
  			      (gnus-uncompress-range
  			       (gnus-group-expire-articles-1 group))))))
!     (sort (delq nil unexpired) '<)))
  
  \f
  ;;; Internal functions.
--- 376,382 ----
  				   group article))
  			      (gnus-uncompress-range
  			       (gnus-group-expire-articles-1 group))))))
!     (sort unexpired '<)))
  
  \f
  ;;; Internal functions.

[-- Attachment #3: Type: text/plain, Size: 301 bytes --]


-- 
.   Paul Stevenson   .   Research Fellow   .   University of Surrey     .
.     phone: +44 (0) 1483 876795     .     fax +44 (0) 1483 876781      .
.    p.stevenson@surrey.ac.uk  .  http://www.ph.surrey.ac.uk/~phs3ps    .
.                           I dream in beige                            .

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

* Re: nnvirtual problem
  2001-01-10  9:31             ` Paul Stevenson
@ 2001-01-10 13:49               ` ShengHuo ZHU
  0 siblings, 0 replies; 9+ messages in thread
From: ShengHuo ZHU @ 2001-01-10 13:49 UTC (permalink / raw)


Paul Stevenson <p.stevenson@surrey.ac.uk> writes:

> Paul Stevenson <P.Stevenson@surrey.ac.uk> writes:
> 
> > Ahh, thanks.  Can anyone tell me how to figure out which instance of
> > sort is causing the problem.  My edebug skills are nil.
> 
> Oh, that's clever - the backtrace tells us from which function sort
> was called.
> 
> This patch fixes my problem;
> 

Committed. Thanks.

ShengHuo



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

end of thread, other threads:[~2001-01-10 13:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-03 13:04 nnvirtual problem Paul Stevenson
2001-01-04  4:26 ` ShengHuo ZHU
2001-01-05 11:00   ` Paul Stevenson
2001-01-09  4:10     ` ShengHuo ZHU
2001-01-09  8:54       ` Paul Stevenson
2001-01-09 22:46         ` Dan Christensen
2001-01-10  8:32           ` Paul Stevenson
2001-01-10  9:31             ` Paul Stevenson
2001-01-10 13:49               ` ShengHuo ZHU

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