Hello, I've recently upgraded Ubuntu and Gnus is now failing to parse my .newsrc.

gnus-version says Gnus v5.13
emacs-version says GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.8.6) of 2014-01-03 on gold, modified by Debian

I use Gnus with nnimap and nnrss. Here's a snippet of my .newsrc:

Deleted Messages: 1
INBOX! 1-8766
InvoiceTests: 1-17
Jira:
Jira/ETraining: 1-213
Jira/Git: 1-1485
Jira/Git Binaries: 1-165
Jira/Hadoop: 1-3117
Jira/Internal Support: 1-3559
Jira/SHARK: 1-87
Jira/SO: 1-71
Jira/SPARK: 1-20
Jira/SVN: 1-1479
Jira/WHC: 1-75
Jira/Web: 1-2034
Recurly: 1-25
Subscription Errors: 1-3330
Workspace: 1-152
[Gmail]:
[Gmail]/All Mail! 1-1961,1963-3148,3150-3151, (and so on)

These are all IMAP folders (Gmail "tags"). When Gnus starts I'm getting messages like these:

Opening connection to imap.gmail.com via tls...
Opening connection to imap.gmail.com...done
Saving file /home/chris/.newsrc-dribble...
Wrote /home/chris/.newsrc-dribble [2 times]
Gnus auto-save file exists.  Do you want to read it? (y or n)  n
Reading /home/chris/.newsrc.eld...
Reading /home/chris/.newsrc...
Mangled line: Deleted Messages: 1
Mangled line: Jira/Git Binaries: 1-165
Mangled line: Jira/Internal Support: 1-3559
Mangled line: Subscription Errors: 1-3330
if: Wrong type argument: symbolp, [Gmail]

It looks like the gnus-newsrc-to-gnus-format function isn't parsing spaces in the group names, eg. it reads "Deleted", then checks if it's subscribed by comparing the next character " " to ":", which is false, then it starts looking for ranges. Since "Messages" isn't a valid range, it gives the "Mangled line" error. I tried removing a space from a call to "skip-chars-forward", but there's a call "(read buf)" which still stops at the space.

I don't mind getting my hands dirty with this, but my knowledge of Emacs Lisp isn't great.

As for the "Wrong type argument", I tried removing the "[Gmail]:" line but it made no difference.

Has anyone seen issues like this before?

Thanks,
Chris