Gnus development mailing list
 help / color / mirror / Atom feed
* [patch] mail-source-keyword-map: "cur" before "new" for maildirs
@ 2003-07-27 20:31 Vasily Korytov
  2003-10-17 21:20 ` [patch] mail-source-keyword-map: "cur" before "new" for Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Vasily Korytov @ 2003-07-27 20:31 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 468 bytes --]

Sometimes I use another mail reader (mutt) to read new mail. The read
mail is either deleted or left in $MAILDIR.

When importing such and new mail in Gnus, if it goes to one folder, the
new one is sorted /before/ the old one, which is almost surely undesired
behaviour (i.e. bug).

The attached tiny patch fixes it.

2003-07-28  Vasily Korytov  <deskpot@myrealbox.com>

	* mail-source.el (mail-source-keyword-map): List "cur" before
	"new" for maildirs.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 030728_mail-source.el.patch --]
[-- Type: text/x-patch, Size: 377 bytes --]

--- ../gnus/lisp/mail-source.el	Mon Jul 21 02:12:10 2003
+++ ./mail-source.el	Mon Jul 28 00:10:19 2003
@@ -344,7 +344,7 @@
        (:authentication password))
       (maildir
        (:path (or (getenv "MAILDIR") "~/Maildir/"))
-       (:subdirs ("new" "cur"))
+       (:subdirs ("cur" "new"))
        (:function))
       (imap
        (:server (getenv "MAILHOST"))

[-- Attachment #1.3: Type: text/plain, Size: 141 bytes --]

-- 
       I accept RFC3156 and RFC2440-compatible encrypted mail.
PGP key fingerprint: 123A 7CCE 6E26 6233 0D87 E01A A0F8 3524 FCD8 1841

[-- Attachment #2: Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch] mail-source-keyword-map: "cur" before "new" for
  2003-07-27 20:31 [patch] mail-source-keyword-map: "cur" before "new" for maildirs Vasily Korytov
@ 2003-10-17 21:20 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2003-10-17 21:20 UTC (permalink / raw)


deskpot@despammed.com (Vasily Korytov) writes:

> The attached tiny patch fixes it.
>
> 2003-07-28  Vasily Korytov  <deskpot@myrealbox.com>
>
> 	* mail-source.el (mail-source-keyword-map): List "cur" before
> 	"new" for maildirs.

Thanks for the patch; I've applied it to Gnus v5.10.3 (i. e., CVS).

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-17 21:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-27 20:31 [patch] mail-source-keyword-map: "cur" before "new" for maildirs Vasily Korytov
2003-10-17 21:20 ` [patch] mail-source-keyword-map: "cur" before "new" for Lars Magne Ingebrigtsen

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 NNTP newsgroup(s).