From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/1028 Path: news.gmane.org!not-for-mail From: "pd" Newsgroups: gmane.emacs.gnus.user Subject: Re: Upgrading to Oort? Date: Sun, 01 Sep 2002 00:30:03 GMT Organization: AT&T Broadband Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1138667870 9426 80.91.229.2 (31 Jan 2006 00:37:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:37:50 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:28:31 2006 Original-Path: quimby.gnus.org!lackawana.kippona.com!news.teledanmark.no!uninett.no!uio.no!logbridge.uoregon.edu!ihnp4.ucsd.edu!usc.edu!attla2!ip.att.net!attbi_feed3!attbi.com!rwcrnsc53.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.gnus X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Original-NNTP-Posting-Host: 24.147.208.212 Original-X-Complaints-To: abuse@attbi.com Original-X-Trace: rwcrnsc53 1030840203 24.147.208.212 (Sun, 01 Sep 2002 00:30:03 GMT) Original-NNTP-Posting-Date: Sun, 01 Sep 2002 00:30:03 GMT Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:1168 Original-Lines: 112 X-Gnus-Article-Number: 1168 Tue Jan 17 17:28:31 2006 Xref: news.gmane.org gmane.emacs.gnus.user:1028 Archived-At: Well, it appears that the error I'm getting: Wrong number of arguments: gnus-continuum-version, 0 is *not* related to my code to customize the summary line. I commented all that out, and I'm still getting the error when I try to run gnus. This is under XEmacs 21.1.8 on Windows NT4. Ideas? Thanks, -pd "pd" wrote in message news:vLcc9.71082$kp.725497@rwcrnsc52.ops.asp.att.net... > > "lawrence mitchell" wrote in message > news:wkptw0ngzl.fsf@ID-97657.usr.dfncis.de... > > pd wrote: > > > > [...] 5.8.x --> Oort [ ... ] > > > 2) I'm caught in a Windows world, so configure, etc. don't work for me. > > > > No problem, the gnus distribution comes with a make.bat, which > > may do what you need. However, you most likely only really want > > to compile the gnus files: > > > > I did add the path, and compile the .el files. I haven't worried about the > info files yet because trying to load infohack didn't work for me (with > XEmacs 21.1.8). > > However, when I tried to run gnus, I got: > > Wrong number of arguments: gnus-continuum-version, 0 > > The traceback looks like this: > > Signaling: (wrong-number-of-arguments gnus-continuum-version 0) > gnus-continuum-version() > byte-code("..." [gnus-summary-line-format-spec > gnus-summary-dummy-line-format-spec gnus-group-line-format-spec > emacs-version version gnus-version gnus-continuum-version group > "%M%S%p%P%5y: %(%g%)%l\n" summary-dummy "* %(: :%) > %S\n" summary "%U%R%z%I%(%[%4L: %-23,23f%]%) %s\n"] 7) > (defvar gnus-format-specs (byte-code "Ä BÅÆ BÇÈ\nEÉÊ EËÌE¯?" > [gnus-summary-line-format-spec gnus-summary-dummy-line-format-spec > gnus-group-line-format-spec emacs-version version gnus-version > gnus-continuum-version group "%M%S%p%P%5y: %(%g%)%l\n" summary-dummy "* %(: > :%) %S\n" summary "%U%R%z%I%(%[%4L: %-23,23f%]%) %s\n"] 7) ("d:\\Program > Files\\XEmacs\\xemacs-packages\\ognus-0.07\\lisp\\gnus-spec.elc" . 2590)) > load-internal("gnus-spec" nil t nil binary) > load("gnus-spec" nil t nil) > require(gnus-spec) > byte-code("..." [require gnus gnus-win gnus-int gnus-spec gnus-range > gnus-util message] 2) > load-internal("gnus-start" nil nil nil binary) > load("gnus-start" nil nil nil) > gnus-1(nil nil nil) > gnus(nil) > call-interactively(gnus) > command-execute(gnus t) > execute-extended-command(nil) > call-interactively(execute-extended-command) > > Looks like it has something to do with my attempt to customize the summary > line, which is like this: > > (setq gnus-summary-line-format "%U%R%z%I%(%[%4L: %-20,20n%]%) %d %(%s%)\n") > (setq gnus-group-line-format "%M%S%p%P%3y: %(%g%)%l %uA\n") > > (defun gnus-user-format-function-A (header) > (if (string-match "nnml:\\(.*\\)" gnus-tmp-group) > (let ((directory (nnmail-group-pathname > (match-string 1 gnus-tmp-group) > "D:\\home\\mail"))) > (concat "(" (int-to-string > ( - (length (directory-files directory)) 3)) > ; . .. .overview > ")")) > "")) > > ;; From: Colin Walters > (defun pd/gnus-set-summary-line-format () > (interactive) > (setq gnus-summary-line-format > (cond ((string-match "todo" gnus-newsgroup-name) > "todo: %d: %S\n") > ((string-match "notes" gnus-newsgroup-name) > "Note: %d: %S\n") > (t > "%U%R%z%I%(%[%4L: %-20,20n%]%) %d %s\n")))) > > (add-hook 'gnus-summary-mode-hook 'pd/gnus-set-summary-line-format) > > > >