Re: doubled messages by copying

2009-05-12 Thread Jan-Herbert Damm
Hello,

 
 You just want to move messages?  Then use s (save-message), which
 copies the message to whatever mailbox you specify, then marks the copy
 in the current mailbox as deleted.

Thank you Monte, Christian, Gary and Noah. 

Embarrassingly i wasn't aware of save-message. I realize that the german
explanation of its function (nachricht in datei speichern = save to a file)
confused me into thinking save-message would produce some file outside of
mutts mbox format. 

Monte's Macro is a nice find for me.

I will keep my eyes peeled for the original problem of doubled messages
anyhow.

jan


Re: doubled messages by copying

2009-05-12 Thread Joost Kremers
On Tue, May 12, 2009 at 11:22:46AM +0200, Jan-Herbert Damm wrote:
 Embarrassingly i wasn't aware of save-message. I realize that the german
 explanation of its function (nachricht in datei speichern = save to a file)
 confused me into thinking save-message would produce some file outside of
 mutts mbox format. 

Hardly embarrassing, I'd say. Even though I've known for a long time what
save-message does, both its name and the explanation (the English docs
also say save to a file) don't sound right to me. They suggest the
message is saved to e.g. a .txt file, not that it is simply moved to
another mail folder.


-- 
Joost Kremers
Life has its moments


Re: doubled messages by copying

2009-05-12 Thread Noah Sheppard
On Tue, May 12, 2009 at 11:39:23AM +0200, Joost Kremers wrote:
 On Tue, May 12, 2009 at 11:22:46AM +0200, Jan-Herbert Damm wrote:
  Embarrassingly i wasn't aware of save-message. [..]
 Hardly embarrassing, [..]

I had similar troubles at first as well.  Perhaps the wording of that
command's description comes from mbox, in which moving a mail to
another mailbox really is little more than saving the message to a
file.  By any chance was Mutt originally developed with only mbox
support, and then Maildir support added later on?

-- 
Noah Sheppard
Assistant Computer Resource Manager
Taylor University CSE Department
nshep...@cse.taylor.edu



Re: doubled messages by copying

2009-05-12 Thread Rocco Rutte
Hi,

* Joost Kremers wrote:

 Hardly embarrassing, I'd say. Even though I've known for a long time what
 save-message does, both its name and the explanation (the English docs
 also say save to a file) don't sound right to me. They suggest the
 message is saved to e.g. a .txt file, not that it is simply moved to
 another mail folder.

I've fixed that to be consistent with the description for
copy-message. It won't get any better as the description is shared
with save-entry in the attachment menu.

Rocco


Re: doubled messages by copying

2009-05-11 Thread Joost Kremers
On Mon, May 11, 2009 at 12:58:07PM +0200, Jan-Herbert Damm wrote:
 after using the C-command to copy messages from my inbox to some other
 folder i *sometimes* find these messages twice in the other folder. 

Perhaps because C doesn't move to the next message after copying, so that
you sometimes inadvertently copy the same message twice?


-- 
Joost Kremers, PhD
University of Frankfurt
Institute for Cognitive Linguistics
Grüneburgplatz 1
60629 Frankfurt am Main, Germany


Re: doubled messages by copying

2009-05-11 Thread Jan-Herbert Damm
Hello,

  after using the C-command to copy messages from my inbox to some other
  folder i *sometimes* find these messages twice in the other folder. 
 
Joost Kremers wrote on 11.05.09:
 Perhaps because C doesn't move to the next message after copying, so that
 you sometimes inadvertently copy the same message twice?

I doubt that, because i delete the original in the inbox right afterwards.
Sadly i cannot reproduce the strange behaviour on purpose. 

I want to *move* read messages to another mailbox (mbox format) for archiving.
I'm using C plus d because I haven't yet found a smarter way to move mails
among mboxes.

jan


Re: doubled messages by copying

2009-05-11 Thread Monte Stevens
On 2009-05-11, Jan-Herbert Damm wrote:
 I want to *move* read messages to another mailbox (mbox format) for archiving.
 I'm using C plus d because I haven't yet found a smarter way to move mails
 among mboxes.

I think this line from my .muttrc should help you do what you describe
above.

macro index,pager M save-message?toggle-mailboxes move a message
to a mailbox

(The above should be one line only.)

So, I select a message, press M and then I see a list of my mailboxes.
I select the one I want to receive the message and press enter.  The
message goes to the destination I selected and the view returns to the
mailbox I moved from; the moved message is marked as deleted.

I also use this to move multiple messages with tagging.  Tag, tag, tag,
;M.


-- 
Monte


Re: doubled messages by copying

2009-05-11 Thread Noah Sheppard
On Mon, May 11, 2009 at 06:53:17PM +0200, Jan-Herbert Damm wrote:
 [..]
 I want to *move* read messages to another mailbox (mbox format) for archiving.
 I'm using C plus d because I haven't yet found a smarter way to move mails
 among mboxes.

You just want to move messages?  Then use s (save-message), which
copies the message to whatever mailbox you specify, then marks the copy
in the current mailbox as deleted.

Apologies if I've missed something obvious in the conversation that
makes such an answer incorrect for this problem...

-- 
Noah Sheppard
Assistant Computer Resource Manager
Taylor University CSE Department
nshep...@cse.taylor.edu



Re: doubled messages by copying

2009-05-11 Thread Gary Johnson
On 2009-05-11, Jan-Herbert Damm jan-h-d...@web.de wrote:

 I want to *move* read messages to another mailbox (mbox format) for archiving.
 I'm using C plus d because I haven't yet found a smarter way to move mails
 among mboxes.

If you want to move messages, use s (save-message).  That will
copy and mark as deleted in one step.

HTH,
Gary




Re: doubled messages by copying

2009-05-11 Thread Christian Ebert
* Jan-Herbert Damm on Monday, May 11, 2009 at 18:53:17 +0200
 I want to *move* read messages to another mailbox (mbox format) for archiving.
 I'm using C plus d because I haven't yet found a smarter way to move mails
 among mboxes.

save-message, bound to s by default iirc.

c
-- 
  Was heißt hier Dogma, ich bin Underdogma!
[ What the hell do you mean dogma, I am underdogma. ]
_F R E E_  _V I D E O S_  http://www.blacktrash.org/underdogma/
  http://www.blacktrash.org/underdogma/index-en.html