all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: Deus Max <deusmax@gmx.com>
Cc: 34983@debbugs.gnu.org
Subject: bug#34983: 27.0.50; Gnus cannot start
Date: Sun, 24 Mar 2019 17:36:59 -0700	[thread overview]
Message-ID: <875zs7kcwk.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <87sgvbu7gn.fsf@aia00054aia.gr> (Deus Max's message of "Mon, 25 Mar 2019 02:24:24 +0200")

Deus Max <deusmax@gmx.com> writes:

> On Sun, Mar 24 2019, Eric Abrahamsen wrote:
>
>> Bastien <bzg@gnu.org> writes:
>>
>>> I checked out and buil Emacs from master today 24-03-2019.
>>>
>>> I started Gnus using my usual configuration (see
>>> https://github.com/bzg/dotemacs/blob/master/emacs.el) and got this
>>> error:
>>>
>>> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
>>>   <=(nil 6)
>>>   gnus-get-unread-articles(nil nil)
>>>   gnus-setup-news(nil nil nil)
>>>   #f(compiled-function () #<bytecode 0x1556149e8b91>)()
>>>   gnus-1(nil nil nil)
>>>   gnus(nil)
>>>   funcall-interactively(gnus nil)
>>>   call-interactively(gnus record nil)
>>>   command-execute(gnus record)
>>>   execute-extended-command(nil "gnus" "gnus")
>>>   funcall-interactively(execute-extended-command nil "gnus" "gnus")
>>>   call-interactively(execute-extended-command nil nil)
>>>   command-execute(execute-extended-command)
>>>
>>> Starting Gnus *without* a .newsrc.eld file, I can list local groups
>>> from my dovecot local IMAP server, but I get another weird behavior:
>>> after leaving the summary buffer, the group I just left is listed one
>>> more time; if I enter the group and leave it again, I get three groups
>>> of the same name in the group buffer, etc.
>>>
>>> To read Gnus using my .newsrc.eld file again, I tried to revert back
>>> to Emacs 26.0.92 but now Emacs seems unable to read my .newsrc.eld at
>>> all.  Is it possible that recent changes against Gnus changed the way
>>> Gnus parses .newsrc.eld?
>>>
>>> Copying Eric, as he seems to have been active on Gnus recently.
>>
>> This is frustrating -- this was the most important part of the patch,
>> and the part I thought I'd tested most thoroughly. At worst I think Gnus
>> may be trying to read .newsrc.eld using the wrong encoding, so I don't
>> think you will have lost anything permanently. (Still, I'm very sorry
>> this is causing you Gnus outage.)
>>
>> First -- did you run "make bootstrap" before running this new version?
>> Second, can you tell me if your non-ascii group names are being saved in
>> .newsrc.eld in utf-8, or if they have literal byte sequences in them?
>>
> Confirm for me, non-ascii group names are now being saved in literal
> byte sequences in them. Here's an example:
> "nnimap+AIA:Union/\316\224\316\243-\316\243\317\211\316\274\316\261\317\204\316\265\316\257\316\277\317\205"
>
> Didn't have any such issues before. Compiled using "make bootstrap", 3
> days ago (and today).

Actually, I'm fairly sure that that's how Gnus has always done it, and I
tried not to disturb that. But obviously I've done something wrong along
the way and I think one part of Gnus is using a decoded version of the
group name, and another part is using the encoded version.

Are you seeing duplicate group names? Would you check
(text-properties-at (line-beginning-position)) on both of the duplicated
groups, and tell me the value of the 'gnus-group property' for both?

Thanks,
Eric





  reply	other threads:[~2019-03-25  0:36 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-24 22:09 bug#34983: 27.0.50; Gnus cannot start Bastien
2019-03-24 23:43 ` Eric Abrahamsen
2019-03-25  0:24   ` Deus Max
2019-03-25  0:36     ` Eric Abrahamsen [this message]
2019-03-25  5:04       ` Deus Max
2019-03-25  7:09         ` Colin Baxter
2019-03-25 10:54           ` Bastien
2019-03-25 12:24             ` Colin Baxter
2019-03-25 14:47               ` Eric Abrahamsen
2019-03-25 15:23                 ` Colin Baxter
2019-03-25 17:12                   ` Eric Abrahamsen
2019-06-22 12:48                   ` Lars Ingebrigtsen
2019-06-22 15:54                     ` Eric Abrahamsen
2019-03-25 15:01         ` Eric Abrahamsen
2019-03-25 17:45           ` Deus Max
2019-03-25 17:56             ` Deus Max
2019-03-25  6:36   ` Bastien
2019-03-25 13:07     ` Basil L. Contovounesios
2019-03-25 14:58     ` Eric Abrahamsen
2019-04-02  5:35       ` Bastien
2019-04-02 10:55         ` Basil L. Contovounesios
2019-04-03  0:26           ` Eric Abrahamsen

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=875zs7kcwk.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=34983@debbugs.gnu.org \
    --cc=deusmax@gmx.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.