all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: James Cloos <cloos@jhcloos.com>
Cc: 35130@debbugs.gnu.org
Subject: bug#35130: 27.0.50; gnus cannot save
Date: Fri, 03 May 2019 12:58:10 -0700	[thread overview]
Message-ID: <87ef5f71kd.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <m3lfzqw7a5.fsf@carbon.jhcloos.org> (James Cloos's message of "Wed, 01 May 2019 10:58:42 -0400")

[-- Attachment #1: Type: text/plain, Size: 800 bytes --]


On 05/01/19 10:58 AM, James Cloos wrote:
>>>>>> "EA" == Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
> EA> Well, I typed that sequence, and nothing special happened. I saw several
> EA> groups I hadn't looked at in a decade or so, caught them up, and nothing
> EA> happened after that. I'm not sure what I was supposed to see...
>
> Perhaps it is specific to nnimap?
>
> In any case, it is a regression.  And a bug.
>
> The new groups were always sorted alphabetically by name when they were added.
> You changes should not break that.
>
> Out of order makes it vastly more difficult to set them all to their new
> levels.

Yes, I wasn't saying this wasn't a bug, I was trying to figure out
exactly what was going on. Would you try the attached patch and see if
it fixes the problem?

Eric



[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: gnus-subscribe-alpha.diff --]
[-- Type: text/x-patch, Size: 684 bytes --]

diff --git a/lisp/gnus/gnus-start.el b/lisp/gnus/gnus-start.el
index 2f8a260bf1..17ee4357e8 100644
--- a/lisp/gnus/gnus-start.el
+++ b/lisp/gnus/gnus-start.el
@@ -583,11 +583,11 @@ gnus-subscribe-randomly
 
 (defun gnus-subscribe-alphabetically (newgroup)
   "Subscribe new NEWGROUP and insert it in alphabetical order."
-  (let ((groups (cdr gnus-newsrc-alist))
+  (let ((groups (cdr gnus-group-list))
 	before)
     (while (and (not before) groups)
-      (if (string< newgroup (caar groups))
-	  (setq before (caar groups))
+      (if (string< newgroup (car groups))
+	  (setq before (car groups))
 	(setq groups (cdr groups))))
     (gnus-subscribe-newsgroup newgroup before)))
 

  reply	other threads:[~2019-05-03 19:58 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-03 21:07 bug#35130: 27.0.50; gnus cannot save James Cloos
2019-04-03 21:53 ` Basil L. Contovounesios
2019-04-03 22:43   ` Eric Abrahamsen
2019-04-04 21:19   ` James Cloos
2019-04-09 18:56     ` Eric Abrahamsen
2019-04-10 11:00       ` James Cloos
2019-04-14  4:42         ` James Cloos
2019-04-21 17:53           ` Eric Abrahamsen
2019-04-22 13:11             ` James Cloos
2019-04-30 18:32             ` James Cloos
2019-04-30 21:19               ` Eric Abrahamsen
2019-04-30 22:54                 ` James Cloos
2019-04-30 23:25                   ` Eric Abrahamsen
2019-05-01 14:58                     ` James Cloos
2019-05-03 19:58                       ` Eric Abrahamsen [this message]
2019-06-22 12:46                         ` Lars Ingebrigtsen
2019-09-27 15:00                           ` Lars Ingebrigtsen
2019-04-30 21:23               ` James Cloos
2019-04-30 21:34                 ` Eric Abrahamsen
2019-04-30 22:55                   ` James Cloos
2019-04-30 23:18                     ` Eric Abrahamsen
2019-04-30 23:52                       ` Basil L. Contovounesios

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=87ef5f71kd.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=35130@debbugs.gnu.org \
    --cc=cloos@jhcloos.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.