Gnus development mailing list
 help / color / mirror / Atom feed
* gnus-registry.el changes
@ 2003-09-04 22:22 Ted Zlatanov
  2003-09-05  1:17 ` Danny Siu
  0 siblings, 1 reply; 5+ messages in thread
From: Ted Zlatanov @ 2003-09-04 22:22 UTC (permalink / raw)


- tracking by subject: say you get messages with the same subject but
  no references header (yes it's true, some MUAs don't generate those!
  the horror!) - the registry will track them by subject.  There is
  some minimal tuning with gnus-registry-minimum-subject-length and I
  simplify the subject.  I had to modify quite a few backends to pass
  a subject to nnmail-cache-insert.  Let's see how well it works.  My
  tests were encouraging.

- caching extra data: for extra data like the subject or mtime, it's
  all in an alist, and it's slow to traverse that repeatedly.  So I
  cache it dynamically in a hashtable inside the registry.  The
  secondary hashtable does not get saved with the registry.

The changes were pretty major so if gnus-registry.el barfs please
let me know...  I tested the basics.

Thanks
Ted



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

* Re: gnus-registry.el changes
  2003-09-04 22:22 gnus-registry.el changes Ted Zlatanov
@ 2003-09-05  1:17 ` Danny Siu
  2003-09-05 12:10   ` Ted Zlatanov
  0 siblings, 1 reply; 5+ messages in thread
From: Danny Siu @ 2003-09-05  1:17 UTC (permalink / raw)


[-- Attachment #1: Type: TEXT/PLAIN, Size: 429 bytes --]

Two problems so far:

1) gnus-registry-split-fancy-with-parent returns list of nils (eg: '(nil) or
   '(nil nil) instead of just nil in case of the parent article cannot be
   found.

2) got Lisp error: (wrong-type-argument hash-table-p nil) in
   gnus-registry-save() when exiting.  see the attacted back trace.

-- 
Danny Dick-Fung Siu              mailto:dsiu@adobe.com
Advanced Technology Group @ Adobe Systems Incorporated


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

Debugger entered--Lisp error: (wrong-type-argument hash-table-p nil)
  puthash("<200309050107.h8517jv04157@calsj.corp.adobe.com>" (mtime 16215 57954 274000) nil)
  gnus-registry-fetch-extra-entry(((mtime 16215 57954 274000)) mtime "<200309050107.h8517jv04157@calsj.corp.adobe.com>")
  byte-code("\bÅ\x19�\x1a� \0\n@�\x11;�\x19\0ÆÇÈ	\v\f#\"�\nA�\x12�\b\0*Å�" [trail crumb --dolist-temp--68601 entry id nil throw --cl-block-nil-- gnus-registry-fetch-extra-entry] 7)
  gnus-registry-fetch-extra("<200309050107.h8517jv04157@calsj.corp.adobe.com>" mtime)
  #[(key value) "Â\bÃ\bÄ\"	#�" [key timehash puthash gnus-registry-fetch-extra mtime] 5]("<200309050107.h8517jv04157@calsj.corp.adobe.com>" (((mtime 16215 57954 274000)) "Active"))
  maphash(#[(key value) "Â\bÃ\bÄ\"	#�" [key timehash puthash gnus-registry-fetch-extra mtime] 5] #<hash-table 'equal nil 631/4096 0x2fe8580>)
  gnus-registry-trim((("<4n65k819f6.fsf@lockgroove.bwh.harvard.edu>" (...) "MailingList/GNUS") ("<vita-brevis-breviter-in-brevi-finietur-mors-venit-velociter-quae-neminem-veretur-87vfs8vrrf.fsf@gothgoose.net>" (...) "MailingList/GNUS") ("<m37k4qc658.fsf@merlin.emma.line.org>" (...) "MailingList/GNUS") ("<vita-brevis-breviter-in-brevi-finietur-mors-venit-velociter-quae-neminem-veretur-87he3w5jfg.fsf@gothgoose.net>" (...) "MailingList/GNUS") ("<m3d6ejscpl.fsf@merlin.emma.line.org>" (...) "MailingList/GNUS") ("<v9smnfv8ib.fsf@marauder.physik.uni-ulm.de>" (...) "MailingList/GNUS") ("<86isob4msu.fsf@doze.rijnh.nl>" (...) "MailingList/GNUS") ("<iluhe3vd4bl.fsf@latte.josefsson.org>" (...) "MailingList/GNUS") ("<m3oey48dkp.fsf@merlin.emma.line.org>" (...) "MailingList/GNUS") ("<gd.1062077746.fsf@debian.jens.unfaehig.de>" (...) "MailingList/GNUS") ("<gd.1062077909.fsf@debian.jens.unfaehig.de>" (...) "MailingList/GNUS") ("<yccsmnpcuc0.fsf@orff.wc.cray.com>" (...) "MailingList/GNUS") ("<m3ptiyx44x.fsf@quimbies.gnus.org>" (...) "MailingList/GNUS") ("<8765kr274u.fsf@tc-1-100.kawasaki.gol.ne.jp>" (...) "MailingList/GNUS") ("<87brul1ywn.fsf@tc-1-100.kawasaki.gol.ne.jp>" (...) "MailingList/GNUS") ("<87d6f19wh1.fsf@bigbox.barillari.org>" (...) "MailingList/GNUS") ("<oulsmnxh7r1.fsf@ID-97657.usr.dfncis.de>" (...) "MailingList/GNUS") ("<uptj25jf0.fsf@xpediantsolutions.com>" (...) "MailingList/GNUS") ("<m2u18ev8jw.fsf@ajk.local>" (...) "MailingList/GNUS") ("<87fzjymtz0.fsf@emacswiki.org>" (...) "MailingList/GNUS") ("<plop87smnyzjnb.fsf@gnu-rox.org>" (...) "MailingList/GNUS") ("<844r0ebvxg.fsf@slowfox.is.informatik.uni-duisburg.de>" (...) "MailingList/GNUS") ("<d6f3ouq8.fsf@blue.sea.net>" (...) "MailingList/GNUS") ("<m3isovyn3e.fsf@seneca.benny.turtle-trading.net>" (...) "MailingList/GNUS") ("<873cfza4ha.fsf@home.lan>" (...) "MailingList/GNUS") ("<m3isovln9f.fsf@lugabout.jhcloos.org>" (...) "MailingList/GNUS") ("<m3oeynlngd.fsf@lugabout.jhcloos.org>" (...) "MailingList/GNUS") ("<m3u18flnrl.fsf@lugabout.jhcloos.org>" (...) "MailingList/GNUS") ("<m3zni7lo7b.fsf@lugabout.jhcloos.org>" (...) "MailingList/GNUS") ("<m34r0gm9fw.fsf@merlin.emma.line.org>" (...) "MailingList/GNUS") ("<uoeyogpom.fsf@ID-87814.user.dfncis.de>" (...) "MailingList/GNUS") ("<uk79ci4e4.fsf@ID-87814.user.dfncis.de>" (...) "MailingList/GNUS") ("<u1xvkkzke.fsf@ID-87814.user.dfncis.de>" (...) "MailingList/GNUS") ("<m3r83kwjoi.fsf@seneca.benny.turtle-trading.net>" (...) "MailingList/GNUS") ("<m3u18hxfre.fsf@defun.localdomain>" (...) "MailingList/GNUS") ("<ilulltt8cmq.fsf@latte.josefsson.org>" (...) "MailingList/GNUS") ("<vu3111xsef.ln2@elaleph.borges.cgitftp.uiggm.nsc.ru>" (...) "MailingList/GNUS") ("<u8ypt5rko.fsf@ID-87814.user.dfncis.de>" (...) "MailingList/GNUS") ("<uvfsx5s2s.fsf@ID-87814.user.dfncis.de>" (...) "MailingList/GNUS") ("<ilu65kxa54l.fsf@latte.josefsson.org>" (...) "MailingList/GNUS") ("<v9y8xtbk36.fsf@marauder.physik.uni-ulm.de>" (...) "MailingList/GNUS") ("<uoeyp62cy.fsf@ID-87814.user.dfncis.de>" (...) "MailingList/GNUS") ("<m3ada9vjrl.fsf@defun.localdomain>" (...) "MailingList/GNUS") ("<u8ypulyqs.fsf@ID-87814.user.dfncis.de>" (...) "MailingList/GNUS") ("<m3ptj630dw.fsf@defun.localdomain>" (...) "MailingList/GNUS") ("<m3u18i30xi.fsf@defun.localdomain>" (...) "MailingList/GNUS") ("<87adaasc0h.fsf@emacswiki.org>" (...) "MailingList/GNUS") ("<v9lltyiqos.fsf@marauder.physik.uni-ulm.de>" (...) "MailingList/GNUS") ("<plop87u18idb19.fsf@gnu-rox.org>" (...) "MailingList/GNUS") ("<plop87zniadbjf.fsf@gnu-rox.org>" (...) "MailingList/GNUS") ...))
  gnus-registry-save()
  run-hooks(gnus-save-newsrc-hook)
  apply(run-hooks gnus-save-newsrc-hook)
  gnus-run-hooks(gnus-save-newsrc-hook)
  gnus-save-newsrc-file(nil)
  gnus-group-save-newsrc(nil)
* call-interactively(gnus-group-save-newsrc)

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

* Re: gnus-registry.el changes
  2003-09-05  1:17 ` Danny Siu
@ 2003-09-05 12:10   ` Ted Zlatanov
  2003-09-05 12:34     ` Katsumi Yamaoka
  0 siblings, 1 reply; 5+ messages in thread
From: Ted Zlatanov @ 2003-09-05 12:10 UTC (permalink / raw)


On Thu, 04 Sep 2003, dsiu@adobe.com wrote:

> Two problems so far:
> 
> 1) gnus-registry-split-fancy-with-parent returns list of nils (eg:
>    '(nil) or '(nil nil) instead of just nil in case of the parent
>    article cannot be found.

Misplaced parens, sorry.  Fixed in CVS.

> 2) got Lisp error: (wrong-type-argument hash-table-p nil) in
>    gnus-registry-save() when exiting.  see the attacted back trace.

Fixed in CVS.  Thanks!

Ted



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

* Re: gnus-registry.el changes
  2003-09-05 12:10   ` Ted Zlatanov
@ 2003-09-05 12:34     ` Katsumi Yamaoka
  2003-09-05 13:12       ` Ted Zlatanov
  0 siblings, 1 reply; 5+ messages in thread
From: Katsumi Yamaoka @ 2003-09-05 12:34 UTC (permalink / raw)


>>>>> In <4nwucnwi4r.fsf@lockgroove.bwh.harvard.edu>
>>>>>	Ted Zlatanov <tzz@lifelogs.com> wrote:

> Fixed in CVS.  Thanks!

I got the following warning.  Where does it come from?

While compiling gnus-registry-save in file gnus/lisp/gnus-registry.el:
  ** reference to free variable entry-caching
Wrote gnus/lisp/gnus-registry.elc



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

* Re: gnus-registry.el changes
  2003-09-05 12:34     ` Katsumi Yamaoka
@ 2003-09-05 13:12       ` Ted Zlatanov
  0 siblings, 0 replies; 5+ messages in thread
From: Ted Zlatanov @ 2003-09-05 13:12 UTC (permalink / raw)
  Cc: ding

On Fri, 05 Sep 2003, yamaoka@jpl.org wrote:

>>>>>> In <4nwucnwi4r.fsf@lockgroove.bwh.harvard.edu>
>>>>>>	Ted Zlatanov <tzz@lifelogs.com> wrote:
> 
>> Fixed in CVS.  Thanks!
> 
> I got the following warning.  Where does it come from?
> 
> While compiling gnus-registry-save in file
> gnus/lisp/gnus-registry.el: ** reference to free variable
> entry-caching Wrote gnus/lisp/gnus-registry.elc

This should be fixed now, I used "entry-caching" when I meant to say
"caching."  Thanks!

Ted



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

end of thread, other threads:[~2003-09-05 13:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-04 22:22 gnus-registry.el changes Ted Zlatanov
2003-09-05  1:17 ` Danny Siu
2003-09-05 12:10   ` Ted Zlatanov
2003-09-05 12:34     ` Katsumi Yamaoka
2003-09-05 13:12       ` Ted Zlatanov

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