unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Mats Lidell <matsl@gnu.org>
Cc: 52274@debbugs.gnu.org
Subject: bug#52274: Gnus gcc header tokenization ignores space breaks multiple folder archive setup
Date: Sat, 04 Dec 2021 23:49:02 +0100	[thread overview]
Message-ID: <8735n8x9y9.fsf@gnus.org> (raw)
In-Reply-To: <87pmqc0zkm.fsf@gnu.org> (Mats Lidell's message of "Sat, 04 Dec 2021 23:34:17 +0100")

Mats Lidell <matsl@gnu.org> writes:

> It does not quite fix it since the comma was inserted together with a
> space. The tokenizer leaves the leading space on the second
> folder. Which in my case makes the server method be " nnimap" which
> gnus-check-server does not understand.
>
> (message-tokenize-header "folder1, folder2" ",\n\t") => ("folder1" " folder2")

Darn.  I've now made it insert just a single comma.

> PS. Curious, what was the problem with having space as separator? DS.

Uhm...  it had something to do with group names containing spaces (which
is valid in nnimap).  Unfortunately the checkin doesn't refer to a bug
report, for some reason...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2021-12-04 22:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-04 10:00 bug#52274: Gnus gcc header tokenization ignores space breaks multiple folder archive setup Mats Lidell
2021-12-04 19:23 ` Lars Ingebrigtsen
2021-12-04 22:34   ` Mats Lidell
2021-12-04 22:49     ` Lars Ingebrigtsen [this message]
2021-12-05  9:33       ` Mats Lidell
2021-12-05 20:12         ` Lars Ingebrigtsen

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8735n8x9y9.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=52274@debbugs.gnu.org \
    --cc=matsl@gnu.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.
Code repositories for project(s) associated with this public inbox

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

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 read-only IMAP folder(s) and NNTP newsgroup(s).