Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: ding@gnus.org
Subject: Re: error in gnus-summary-insert-line: gnus-put-text-property has invalid offsets
Date: Thu, 11 Sep 2008 08:10:47 +0900	[thread overview]
Message-ID: <b4mbpyvlhqg.fsf@jpl.org> (raw)
In-Reply-To: <86vdx3opi5.fsf@lifelogs.com>

>>>>> Ted Zlatanov wrote:
> I started getting these errors today with a fresh CVS Gnus when entering
> any group:

> Debugger entered--Lisp error: (args-out-of-range 50 51)
>   gnus-put-text-property(50 51 gnus-position t)
[...]
>   gnus-summary-insert-line([0 "" "" "05 Apr 2001 23:33:09 +0400" "" "" 0 0 "" nil] 0 nil t 90 t nil "" nil 1)
[...]

> Interestingly, if I quit the debug output and then retry, it works.

I don't know why it works then, though.

> Does anyone know what is causing this?  The ChangeLog looks like
> gnus-sum.el wasn't updated recently.  I'm using Emacs from CVS as well.

I guess the format spec registered in the ~/.newsrc.eld file has
been changed; it might have happened when you tried modifying
gnus-spec.el.

Cf. http://news.gmane.org/group/gmane.emacs.gnus.general/thread=67228

There might have been something wrong in the patch I posted.
The format spec that is computed from `gnus-summary-line-format'
will not be updated unless the value of `gnus-summary-line-format'
is changed or evaluating the form:

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

Could you try this?  (Performing this should be always safe.)
If it does the trick, you had better do it for `group' as well:

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

Regards,



  reply	other threads:[~2008-09-10 23:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-10 17:54 Ted Zlatanov
2008-09-10 23:10 ` Katsumi Yamaoka [this message]
2008-09-11 12:52   ` Ted Zlatanov
2008-09-15 17:44     ` Ted Zlatanov

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