Lloyd Zusman | 14 May 2009 16:28

Drafts folder still shows reference to message after it was sent

I'm using Wanderlust version 2.15.6.

For quite a while (several Wanderlust versions) I've been noticing
something that is mildly inconvenient for me.

Suppose that I save an unsent message in the Drafts folder, and that
later, I go back to that draft, complete it, and then send it.

After the draft has been sent, if I go back to my Folder view, the
Drafts folder is still highlighted and still shows that the Drafts
folder contains one message, which is incorrect. I have to enter the
Drafts folder a second time and then leave it before that folder once
again shows zero messages.

When I enter the Drafts folder the second time, it is empty, which means
that the message count is incorrect.

Is there any way to get Wanderlust to show the Drafts folder as being
empty _immediately_ after I send a previously saved draft, or is there
no alternative to my entering and leaving the empty Drafts folder a
second time before its message count is once again shown as zero?

Thanks in advance.

--

-- 
 Lloyd Zusman
 ljz <at> asfast.com
 God bless you.

|    .---------, 0__0
(Continue reading)

Xavier Maillard | 15 May 2009 01:07
Picon

% / in ~/.folders

Hi,

as I am now subscribed to this list, please do not flame me if my
questions are really too stupid :)

I am an Emacs user on Slackware GNU/linux. I have packaged wanderlust
and friends (apel, ...).

I am using 2.14.0 which sounds pretty old now (new release soon ?).

Now for the real (first) question.

I have put an entry in my ~/.folders:

% /

which, as far as I understand it means "all imap folders". Fine.

But it seems it does not work as expected since I have many subscribed
groups that do not appear in the list. What is the correct way (if
any) to reload the whole imap folder hierarchy ? In other words, can I
refresh the folder list such that newly imap folders appear in my
buffer ?

Thank you very much,

Xavier

P.S: I am testing wanderlust for a few days and so far, I am loving
it. Keep up the good work.
(Continue reading)

Xavier Maillard | 15 May 2009 01:12
Picon

folder hierarchy

Hi,

This is what I see when expanding my special % / access group:

   [-]%:0/5141/8924
     %INBOX.list.org.gnu.help-gnu-emacs:0/314/321
     %INBOX.list.ru.jabber.ejabberd:0/157/256
     %INBOX.Archive.org.gnu.help-gnu-emacs:0/0/0
     %INBOX.Archive.org.jabber.jadmin:0/0/0
     %INBOX.Archive.org.lolica.lolica:0/0/0
     %INBOX.=refs.2008.Oracle:0/0/1
     %INBOX.=refs.2008.Politis:0/1/3
     %INBOX.=refs.2008.Voyages:0/0/5
     %INBOX.=refs.2008.JLL Reims 2008:0/1/6
     %INBOX.=refs.Annonces:0/0/8
     %INBOX.=refs.2008:0/0/0
     %INBOX.=waiting for:0/3/4
     %INBOX.Keepers:0/0/1
     %INBOX.FUAJ:0/74/466
     %INBOX.Spam:0/4/213
     %INBOX.La Poste:0/1598/1770
     %INBOX.Echo:0/43/44
     %INBOX.=action:0/2782/2783
     %INBOX.list:0/0/0
     %INBOX.Archive:0/0/0
     %INBOX.Todo:0/1/1
     %INBOX.=refs:0/5/67
     %Drafts:0/0/3
     %Outbox:0/0/0
     %Sent:0/0/588
(Continue reading)

Petrik Galvosas | 15 May 2009 01:43
Picon
Picon
Favicon

Re: % / in ~/.folders

Hi Xavier,

> I have put an entry in my ~/.folders:
> 
> % /

try 

%/

(without the space) 

Cheers Petrik

Xavier Maillard | 15 May 2009 06:47
Picon

Re: % / in ~/.folders

At Fri, 15 May 2009 11:43:57 +1200,
Petrik Galvosas wrote:
> 
> Hi Xavier,
> 
> > I have put an entry in my ~/.folders:
> > 
> > % /
> 
> try 
> 
> %/
> 
> (without the space) 

This was already typed like that. I intentionnaly added a space so you
can see what I was trying to achieve.

Regards

Erik Hetzner | 15 May 2009 16:08
Picon

Re: % / in ~/.folders

At Fri, 15 May 2009 06:47:20 +0200,
Xavier Maillard wrote:
> This was already typed like that. I intentionnaly added a space so you
> can see what I was trying to achieve.

Close the group (<RETURN>) then use C-u <RETURN> to re-open. This
should add any missing folders.

best,
Erik Hetzner

Xavier Maillard | 15 May 2009 23:28
Picon

Re: % / in ~/.folders

At Fri, 15 May 2009 07:08:45 -0700,
Erik Hetzner wrote:
> 
> [1  <text/plain; US-ASCII (7bit)>]
> At Fri, 15 May 2009 06:47:20 +0200,
> Xavier Maillard wrote:
> > This was already typed like that. I intentionnaly added a space so you
> > can see what I was trying to achieve.
> 
> Close the group (<RETURN>) then use C-u <RETURN> to re-open. This
> should add any missing folders.

So simple...

Thank you very much !

Xavier

Vladimir Komendantsky | 16 May 2009 17:07
Picon

wl + gmail = multiple drafts

Hi,

Being new to Wanderlust, I find it exceptionally good in many ways but one.

I'm having the multiple draft issue with gmail on Wanderlust 2.15.6
that is described in an earlier message on this list:

http://lists.airs.net/wl-en/archive/200806/msg00018.html

When I'm typing the message in the draft buffer, every now and then a
message "Waiting for IMAP response" appears and the draft gets saved
as a *new* message on gmail and appears in the [Google Mail]/All Mail
folder. So, "All Mail" soon becomes populated with incremental copies
of the same message. Moreover, after sending the message by C-c C-c
there is still a draft in [Google Mail]/Drafts.

I'm using the gmail draft folder as default:

(setq wl-draft-folder "%[Google Mail]/Drafts")

As I found in the message I cited above, it is possible to disable
autosaving drafts:

;; never save drafts
(setq wl-auto-save-drafts-interval nil)

However, even if this is done, there is still a draft after sending the message.

I'd like to know if anyone knows a way to resolve this issue or maybe
tell what may cause it.
(Continue reading)

Samuel Bronson | 16 May 2009 22:29
Picon
Gravatar

Re: wl + gmail = multiple drafts

On Sat, May 16, 2009 at 11:07 AM, Vladimir Komendantsky
<komendantsky <at> gmail.com> wrote:
> Hi,
>
> Being new to Wanderlust, I find it exceptionally good in many ways but one.
>
> I'm having the multiple draft issue with gmail on Wanderlust 2.15.6
> that is described in an earlier message on this list:
[...]
> I'd like to know if anyone knows a way to resolve this issue or maybe
> tell what may cause it.

I believe wanderlust is trying to delete them, but gmail is merely
removing them from the [Gmail]/Drafts folder, but since it always
shows the entire conversation together, they show up anyway ...

I think the problem is something that Google is best positioned to
deal with at this point: they should either document what a client has
to do to delete a draft, or just support the way clients would do it
anyway -- preferably both.

Erik Hetzner | 17 May 2009 05:15
Picon

Re: wl + gmail = multiple drafts

At Sat, 16 May 2009 16:29:33 -0400,
Samuel Bronson wrote:
> I believe wanderlust is trying to delete them, but gmail is merely
> removing them from the [Gmail]/Drafts folder, but since it always
> shows the entire conversation together, they show up anyway ...
> 
> I think the problem is something that Google is best positioned to
> deal with at this point: they should either document what a client has
> to do to delete a draft, or just support the way clients would do it
> anyway -- preferably both.

This would be nice, but I think it conflicts with their whole
Gmail/IMAP mapping.

The following fix works for me:

Ensure that your Gmail trash folder is set in wl-dispose-folder-alist:

(setq wl-dispose-folder-alist '(("^.*imap.gmail.com.*$" . 
                                   "%[Gmail]/Trash:me/clear <at> imap.gmail.com:993!")
                                ("^%" . remove)))

Redefine wl-draft-save & wl-draft-send as attached.

The relevant change is in:

            (elmo-folder-move-messages (wl-draft-get-folder)
                                       (list wl-draft-buffer-message-number)
                                       (wl-folder-make-elmo-folder
                                        (wl-summary-get-dispose-folder wl-draft-folder)))
(Continue reading)


Gmane