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

* Re: An earnest wish from Semi-gnus people
  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
  1 sibling, 1 reply; 6+ messages in thread
From: Lars Magne Ingebrigtsen @ 2001-04-09  1:55 UTC (permalink / raw)


Katsumi Yamaoka <yamaoka@jpl.org> writes:

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

Thanks for the patch; I've applied it to Oort Gnus v0.01.

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


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

* Re: An earnest wish from Semi-gnus people
  2001-04-09  1:55 ` Lars Magne Ingebrigtsen
@ 2001-04-09  2:07   ` Katsumi Yamaoka
  0 siblings, 0 replies; 6+ messages in thread
From: Katsumi Yamaoka @ 2001-04-09  2:07 UTC (permalink / raw)
  Cc: semi-gnus-ja

>>>>> In <m3d7amkfa4.fsf@quimbies.gnus.org> 
>>>>>	Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:

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

Lars> Thanks for the patch; I've applied it to Oort Gnus v0.01.

Great!  Thank you very much.
-- 
Katsumi Yamaoka <yamaoka@jpl.org>


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

* Re: An earnest wish from Semi-gnus people
  2001-04-09  1:19 An earnest wish from Semi-gnus people Katsumi Yamaoka
  2001-04-09  1:55 ` Lars Magne Ingebrigtsen
@ 2001-04-10 10:14 ` Simon Josefsson
  2001-04-10 13:07   ` Katsumi Yamaoka
  1 sibling, 1 reply; 6+ messages in thread
From: Simon Josefsson @ 2001-04-10 10:14 UTC (permalink / raw)
  Cc: ding, semi-gnus-ja

Katsumi Yamaoka <yamaoka@jpl.org> writes:

> 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:

Does it apply to earlier versions of Gnus as well?  Making the fix in
OGnus would only help people that went back to OGnus, but it wouldn't
help people running Gnus 5.7 or 5.9 that comes with Emacs.  So if you
install a semi-gnus you can never go back, unless you go back to OGnus
betas?  (Well, or delete .newsrc.eld...)  To solve that, I think
Semi-gnusae need to be changed to insert a file-version string that
older Gnusae understands.

The same would apply to the use of (I think) `gnus-substring' in
.newsrc.eld, which Larsi-Gnus never has implemented.  So you can't
revert to Larsi-Gnus without defining it... Maybe this is fixed now,
though.



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

* Re: An earnest wish from Semi-gnus people
  2001-04-10 13:07   ` Katsumi Yamaoka
@ 2001-04-10 12:59     ` Simon Josefsson
  0 siblings, 0 replies; 6+ messages in thread
From: Simon Josefsson @ 2001-04-10 12:59 UTC (permalink / raw)
  Cc: semi-gnus-ja

Katsumi Yamaoka <yamaoka@jpl.org> writes:

> > Does it apply to earlier versions of Gnus as well?  Making the fix in
> > OGnus would only help people that went back to OGnus, but it wouldn't
> > help people running Gnus 5.7 or 5.9 that comes with Emacs.  So if you
> > install a semi-gnus you can never go back, unless you go back to OGnus
> > betas?  (Well, or delete .newsrc.eld...)  To solve that, I think
> > Semi-gnusae need to be changed to insert a file-version string that
> > older Gnusae understands.
> 
> Never mind.  As far as I know, earlier versions of Gnus does not check
> a file-version string.

Oops, sorry.

> > The same would apply to the use of (I think) `gnus-substring' in
> > .newsrc.eld, which Larsi-Gnus never has implemented.  So you can't
> > revert to Larsi-Gnus without defining it... Maybe this is fixed now,
> > though.
> 
> Do you mean `gnus-truncate-string'?

Yes, that's the one.

> I believe that such a thing won't be appeared in .newsrc.eld these
> days.

Ok, great.



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

* Re: An earnest wish from Semi-gnus people
  2001-04-10 10:14 ` Simon Josefsson
@ 2001-04-10 13:07   ` Katsumi Yamaoka
  2001-04-10 12:59     ` Simon Josefsson
  0 siblings, 1 reply; 6+ messages in thread
From: Katsumi Yamaoka @ 2001-04-10 13:07 UTC (permalink / raw)
  Cc: semi-gnus-ja

>>>>> In <iluk84tqcy8.fsf@barbar.josefsson.org> 
>>>>>	Simon Josefsson <simon@josefsson.org> wrote:

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

> Does it apply to earlier versions of Gnus as well?  Making the fix in
> OGnus would only help people that went back to OGnus, but it wouldn't
> help people running Gnus 5.7 or 5.9 that comes with Emacs.  So if you
> install a semi-gnus you can never go back, unless you go back to OGnus
> betas?  (Well, or delete .newsrc.eld...)  To solve that, I think
> Semi-gnusae need to be changed to insert a file-version string that
> older Gnusae understands.

Never mind.  As far as I know, earlier versions of Gnus does not check
a file-version string.  I actually used to run both Gnus 5.[68] and
Semi-gnusae after all.  In addition, recent Semi-gnusae does not
contain byte-compiled format-specs in .newsrc.eld.  They are saved in
the other file (e.g. ~/News/.T-gnus/strict-cache).

> The same would apply to the use of (I think) `gnus-substring' in
> .newsrc.eld, which Larsi-Gnus never has implemented.  So you can't
> revert to Larsi-Gnus without defining it... Maybe this is fixed now,
> though.

Do you mean `gnus-truncate-string'?  I believe that such a thing won't
be appeared in .newsrc.eld these days.
-- 
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).