Gnus development mailing list
 help / color / mirror / Atom feed
* An earnest wish from Semi-gnus people
@ 2001-04-09  1:19 Katsumi Yamaoka
  2001-04-09  1:55 ` Lars Magne Ingebrigtsen
  2001-04-10 10:14 ` Simon Josefsson
  0 siblings, 2 replies; 6+ messages in thread
From: Katsumi Yamaoka @ 2001-04-09  1:19 UTC (permalink / raw)
  Cc: semi-gnus-ja

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

Hi,

We Semi-gnus people request earnestly that Oort Gnus can handle the
value of `gnus-newsrc-file-version' which is created by Semi-gnusae
(T-gnus, Nana-gnus, Semi-gnus, etc.) as such as follows:

gnus-newsrc-file-version
 => "T-gnus 6.15.0 r09 (based on Oort Gnus v0.01 ; for SEMI 1.13, FLIM 1.13)"

Latest Oort Gnus cannot startup with such a value because the function
`gnus-continuum-version' returns nil for that:

Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
  <(nil 5.090002)
  (if (< (gnus-continuum-version gnus-newsrc-file-version) 5.090002) (progn (setq gnus-format-specs nil)))
[...]
  gnus-read-newsrc-el-file("~/.newsrc.el")

Could you please apply the following patch?

2001-04-09 01:15:54  Katsumi Yamaoka <yamaoka@jpl.org>

	* gnus-start.el (gnus-read-newsrc-el-file): Work with Semi-gnusae.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: gnus-start.el.diff --]
[-- Type: text/x-patch, Size: 649 bytes --]

--- gnus-start.el~	Sun Apr  8 21:49:57 2001
+++ gnus-start.el	Mon Apr  9 01:15:54 2001
@@ -2077,9 +2077,10 @@
 	   (error "Error in %s" ding-file))))
       ;; Older versions of `gnus-format-specs' are no longer valid
       ;; in Oort Gnus 0.01.
-      (when (< (gnus-continuum-version gnus-newsrc-file-version)
-	       5.090002)
-	(setq gnus-format-specs nil))
+      (let ((version (gnus-continuum-version gnus-newsrc-file-version)))
+	(when (or (not version)
+		  (< version 5.090002))
+	  (setq gnus-format-specs nil)))
       (when gnus-newsrc-assoc
 	(setq gnus-newsrc-alist gnus-newsrc-assoc)))
     (gnus-make-hashtable-from-newsrc-alist)

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

-- 
Katsumi Yamaoka <yamaoka@jpl.org>

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

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

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-09  1:19 An earnest wish from Semi-gnus people Katsumi Yamaoka
2001-04-09  1:55 ` Lars Magne Ingebrigtsen
2001-04-09  2:07   ` Katsumi Yamaoka
2001-04-10 10:14 ` Simon Josefsson
2001-04-10 13:07   ` Katsumi Yamaoka
2001-04-10 12:59     ` Simon Josefsson

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