Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* args-out-of-range error when loading a group
@ 2006-11-09 18:19 Tim
  2006-11-10 21:01 ` Tim
  0 siblings, 1 reply; 2+ messages in thread
From: Tim @ 2006-11-09 18:19 UTC (permalink / raw)


Hello,

I am using Gnus for both mail and Usenet news, but have a problem with
opening groups when a message author's name contains non-ASCII
characters. I was actually going to post here using Gnus, but the
problem occurred here too. Sorry Sébastien, your message gets to be an
example.  <grin>

Is there a Gnus setting which will prevent the error?

  Thanks,
  Tim

Here's the debug output:

Debugger entered--Lisp error: (args-out-of-range "Sébastien Vauban
<zthjwsqqafhv@spammotel.com>$
  string-match("\\b[^@  <>]+[!@][^@     <>]+\\b" "Sébastien Vauban
<zthjwsqqafhv@spammotel.com>$
  gnus-extract-address-components("Sébastien Vauban
<zthjwsqqafhv@spammotel.com>")
  gnus-summary-from-or-to-or-newsgroups([48 "Re: Gather Responses"
"Sébastien Vauban <zthjwsqqa$
  (eval (gnus-summary-from-or-to-or-newsgroups gnus-tmp-header
gnus-tmp-from))
  (let ((val ...)) (if (> ... 23) (gnus-correct-substring val 0 23)
val))
  (eval (let (...) (if ... ... val)))
  (let* ((val ...) (need ...)) (if (> need 0) (concat nil val ...)
val))
  (gnus-xmas-format "%s%s: %s%s" (char-to-string
gnus-tmp-opening-bracket) (gnus-summary-line-m$
  (insert (gnus-xmas-format "%s%s: %s%s" (char-to-string
gnus-tmp-opening-bracket) (gnus-summar$
  (progn (insert (gnus-xmas-format "%s%s: %s%s" ... ... ... ...))
(point))
  (gnus-put-text-property (point) (progn (insert ...) (point))
gnus-mouse-face-prop gnus-mouse-$
  (progn (insert (char-to-string gnus-tmp-unread) (char-to-string
gnus-tmp-replied) (char-to-st$
  eval((progn (insert (char-to-string gnus-tmp-unread) (char-to-string
gnus-tmp-replied) (char-$
  gnus-summary-prepare-threads((([33 "(7080)International Company Now
Hiring" "\"Rashmi\" <bans$
  gnus-summary-prepare()
  gnus-summary-read-group-1("gnu.emacs.gnus" t nil nil nil nil)
  gnus-summary-read-group("gnu.emacs.gnus" t nil nil nil nil nil)
  gnus-group-read-group(nil)
  call-interactively(gnus-group-read-group)

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

* Re: args-out-of-range error when loading a group
  2006-11-09 18:19 args-out-of-range error when loading a group Tim
@ 2006-11-10 21:01 ` Tim
  0 siblings, 0 replies; 2+ messages in thread
From: Tim @ 2006-11-10 21:01 UTC (permalink / raw)


Tim wrote:
> Hello,
>
> I am using Gnus for both mail and Usenet news, but have a problem with
> opening groups when a message author's name contains non-ASCII
> characters. I was actually going to post here using Gnus, but the
> problem occurred here too. Sorry Sébastien, your message gets to be an
> example.  <grin>
>
> Is there a Gnus setting which will prevent the error?

Just to follow up to myself, it is the string-match function which was
blowing up on the accented or other characters. I did find that I had
had the Mule version of XEmacs installed, and since I don't need that
functionality, I tried replacing it with the non-Mule version. That
seems to have worked fine, so I can now open groups where the user's
name has these characters.

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

end of thread, other threads:[~2006-11-10 21:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-09 18:19 args-out-of-range error when loading a group Tim
2006-11-10 21:01 ` Tim

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