Re: nnir with notmuch gives error; Possible solution!

2020-03-25 Thread physiculus
Eric Abrahamsen  writes:

Hello,
i think i find the problem, but i cannot repair it.
ALL messages with error in gnus contain a combination !2 in the file
name.
This was used on Windows for correct working of imap folders, because :
is forbidden.

if i change !2 in :2 (this assumes gnus, i read), the message is
accepted.

But how could i change the string inside the filename from !2 to :2 ?
Perhaps with dired, but i dont know how?

Any ideas?

Regards
Poul

> physiculus  writes:
>
>> xuqi  writes:
>>
>> Hello,
>> thank you and Eric very much for help. I can't help, because i do not fully
>> understand, what goes wrong.
>
> No, that's perfect! That basically confirms my suspicion that some of
> your message filenames are causing nnmaildir to fail. They're probably
> these:
>
> /home/held/Maildirnm/karlderletzte/INBOX/cur/1554399542.4634_1560.shinri,U=651:2,S
> /home/held/Maildirnm/karlderletzte/Sent/cur/1554294583.6ad7d1c538e8c734.shinri:2,,U=22:2,S!2,S
> /home/held/Maildirnm/karlderletzte/Sent/cur/1554294638.4676_1518.shinri,U=23!2,S
> /home/held/Maildirnm/karlderletzte/INBOX/cur/1554292397.3889_1547.shinri,U=645:2,RS
>
> I'll open a bug report and see if anyone else can help. My last question
> for you is: do you think Gnus/nnmaildir made these files, or is there a
> chance that you're just using Gnus to read a maildir installation that
> was created by a different program?
>
> Eric

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: nnir with notmuch gives error; Possible solution!

2020-03-25 Thread Eric Abrahamsen
physiculus  writes:

> Eric Abrahamsen  writes:
>
> Hello,
> i think i find the problem, but i cannot repair it.
> ALL messages with error in gnus contain a combination !2 in the file
> name.
> This was used on Windows for correct working of imap folders, because :
> is forbidden.

Yeah, I thought that looked suspicious. Did you copy the maildir
installation over directly from a Windows machine? What program was
originally used to create that installation? I suppose this is an
argument for using some sort of export/import process, rather than
straight copying.

> if i change!2 in :2 (this assumes gnus, i read), the message is
> accepted.
>
> But how could i change the string inside the filename from !2 to :2 ?
> Perhaps with dired, but i dont know how?

Dired has wdired-mode that allows you to edit file names in the dired
buffer as though they were plain text, and then "commit" all the renames
at once. If you have a small number of files to rename or they're all in
the same directory that would be most straightforward. If these files
are scattered through a very large number of directories you'll probably
want to do it in the shell, probably with find and exec and mv.

Eric

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english