Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion mu4e: cancelled drafts not removed
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
James Ladan  
View profile  
 More options Mar 29 2012, 1:56 pm
From: James Ladan <ja...@ladan.ca>
Date: Thu, 29 Mar 2012 10:56:24 -0700
Local: Thurs, Mar 29 2012 1:56 pm
Subject: Re: mu4e: cancelled drafts not removed
On Thu, Mar 29, 2012 at 10:08, Dirk-Jan C. Binnema <d...@djcbsoftware.nl> wrote:

>> Hmm. I still seem to have the problem after updating, installing, and
>> restarting emacs.

> Mmmmm... can you check what's in the backtrace ('mu4e-debug' etc.) this
> time?

I didn't include it because it looked the same as last time. I should
have said that explicitly.

2012-03-29 10:32:05 -> sent
/home/james/Mail/Drafts/cur/20120329-3c3a11ec33b7e1422ed.malbec:2,D
/Drafts
2012-03-29 10:32:05 * Received 123 byte(s)
2012-03-29 10:32:05 <- (:error 11 :error-message "failed to add path
'/home/james/Mail/Drafts/cur/20120329-3c3a11ec33b7e1422ed.malbec:2,D'")

>> > > Do you know what the convention is for the "tmp" directory in a
>> > > maildir?  One thought I had was: - begin a draft; work is saved in
>> > > drafts/tmp - send it: move it from drafts/tmp -> sent/cur -
>> > > postpone it: move it from drafts/tmp -> drafts/cur (replacing
>> > > "--text follows this line--" with a blank line) and close the
>> > > buffer

>> > tmp/ is something that mu4e doesn't use, but is specified in the
>> >Maildir standard for safety - basically, a mailserver would write a
>> >message to tmp/ first, and only when it has been written there
>> >correctly, rename it to something in cur/.

>> > See: http://cr.yp.to/proto/maildir.html

>> So possibly a legitimate use... Or, since other directories are
>> permitted, maybe drafts/.mu4e?

> Hmm, what would the semantics of drafts/.mu4e/ be?

> Note, you can just create another maildir (e.g. with 'mu mkdir'), say
> "MyDrafts", and set mu4e-drafts-folder to that and simply not sync that
> with Gmail.

My thought was that an email stored in drafts/cur should be
well-formed, since it could be synchronized with an IMAP server -- so
it seems the "--text follows this line--" should not be there.

If an intermediate form of the draft is to be saved which does include
this line, it should go somewhere other than drafts/cur. Hence the
idea that the file would be "drafts/.mu4e/123ABC" so that a C-x C-s
wouldn't save the version with "--text follows this line--" into cur.

Or rather than storing the initial stage of a draft in a different
directory, would it be possible (and simpler) for the file to always
be displayed with the "--text follows this line--" line but not
include that line in the actual contents written to disk?

Again, I would vote for this to be down near the bottom of the list of
priorities, since the work-around is so easy, and at least to me,
syncing drafts isn't all that important.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.