[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with gnus nnimap

From: Simon Josefsson
Subject: Re: problem with gnus nnimap
Date: Mon, 29 Oct 2001 21:12:30 +0100
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i686-pc-linux-gnu)

address@hidden (Andreas Ames) writes:

> Error message when quitting a nnimap group summary ( by pressing 'q'
> ).  The message is repeated below.  The imap-server is "MS Exchange" (
> version 5.5, afaik ).  OS is Windows 2000.  After starting gnus by
> 'M-x gnus', typing my IMAP password and agreeing that the password may
> be stored for the current session I put point over the group, pressed
> 'SPC' and 'q' immediately afterwards.

This should solve the problem.  Maybe someone could commit this to
CVS?  At least two people has reported this now.

2001-07-01  Simon Josefsson  <address@hidden>

        * nnimap.el (nnimap-date-days-ago): Defeat locale.

--- nnimap.el.~1.4.~    Sun Jul 15 19:42:53 2001
+++ nnimap.el   Mon Oct 29 21:10:57 2001
@@ -1088,10 +1088,12 @@
 (defun nnimap-date-days-ago (daysago)
   "Return date, in format \"3-Aug-1998\", for DAYSAGO days ago."
-  (let ((date (format-time-string "%d-%b-%Y"
-                                 (nnimap-time-substract
-                                  (current-time)
-                                  (days-to-time daysago)))))
+  (let* ((time (nnimap-time-substract (current-time) (days-to-time daysago)))
+        (date (format-time-string
+               (format "%%d-%s-%%Y"
+                       (capitalize (car (rassoc (nth 4 (decode-time time))
+                                                parse-time-months))))
+               time)))
     (if (eq ?0 (string-to-char date))
        (substring date 1)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]