Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: ding@gnus.org
Subject: Re: Bug in v5.10.6 under xemacs21 not generating the *Group*
Date: Thu, 26 Aug 2004 15:37:03 +0900	[thread overview]
Message-ID: <b9y4qmqh0c0.fsf@jpl.org> (raw)
In-Reply-To: <oyd7jrmftmz.fsf@bert.cs.rice.edu>

>>>>> In <oyd7jrmftmz.fsf@bert.cs.rice.edu>
>>>>>	Scott A Crosby <scrosby@cs.rice.edu> wrote:

> (setq gnus-group-line-format
>         "%M%S %P %6y/%-6t: %(%-40,40G%)   %10n:%-10s\n")

> I suspect its the %n or $s format character.

Thanks.  That's a good hint.  I could reproduce the same error
using the following test:

;--8<---------------cut here---------------start------------->8---
(setq gnus-group-line-format
      "%M%S %P %6y/%-6t: %(%-40,40G%)   %10n:%-10s\n")

(gnus-update-format-specifications t 'group)

(let ((gnus-select-method
      '(nnml ""
	     (nnml-directory "~/Mesg/NNML/")
	     (nnml-active-file "~/Mesg/NNML/active")
	    (nnml-newsgroups-file "~/Mesg/NNML/newsgroups")))
      (gnus-secondary-select-methods
      '((nndraft ""
		 (nndraft-directory "~/Mesg/Drafts"))
	(nntp "news.rice.edu"))))
  (gnus-group-insert-group-line
   "nntp+news.rice.edu:rice.majors.cs" 3
   '((reply 932) (tick 932 963)) 61 "nntp:news.rice.edu"))
;--8<---------------cut here---------------end--------------->8---

That's a bug which will arise with recent Gnus.  However, people
have not noticed it because it arises only when the `%n' spec is
used with XEmacs.  I will fix it in the CVS repository later.

Put the following lines in your ~/.gnus.el file and you will be
able to use the format including the `%10n' spec without needing
to reinstall Gnus.

(setcar (cdr (assq ?n gnus-group-line-format-alist))
	'(symbol-name gnus-tmp-news-method))



  reply	other threads:[~2004-08-26  6:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-25 21:37 Bug in v5.10.6 under xemacs21 not generating the *Group* buffer Scott A Crosby
     [not found] ` <b9yllg2hegt.fsf@jpl.org>
2004-08-26  3:47   ` Bug in v5.10.6 under xemacs21 not generating the *Group* Scott A Crosby
2004-08-26  6:37     ` Katsumi Yamaoka [this message]
2004-08-26  6:49       ` Katsumi Yamaoka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b9y4qmqh0c0.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).