macro to move message to archive with confirmation

2014-01-01 Thread Martin Vegter

Dear all,

I have a macro which moves messages to my archive folder (immediately, 
without confirmation):


macro index s :set confirmappend=no delete=yes 
auto_tag=yes\nsave-message=archive\nsync-mailbox:set delete=ask-yes\n


I am trying to modify it to ask for confirmation before moving the 
message. However, when I change confirmappend=no to confirmappend=yes, 
not only do I not get desired results, but mutt becomes unresponsive so 
that I have to kill it from other console.


Can somebody please advise how to make my macro ask for confirmation 
(confirmation for appending to archive, not for deleting)


thanks,
Martin


Move message to another mailbox

2012-12-25 Thread Woody Wu
Hi, List

I know 'C' can copy message to another mailbox.  But I don't find out
what's the binding for moving message.  Could you please tell me?

Thanks.
-- 
woody
I can't go back to yesterday - because I was a different person then.


Re: Move message to another mailbox

2012-12-25 Thread Veljko
On Tue, Dec 25, 2012 at 05:10:20PM +0800, Woody Wu wrote:
 Hi, List
 
 I know 'C' can copy message to another mailbox.  But I don't find out
 what's the binding for moving message.  Could you please tell me?
 

Hi Woody,

Try with s.

From help:
s   save-messagesave message/attachment to a mailbox/file 

Regards,
Veljko



Re: Macro to move message to imap folder

2010-04-21 Thread Pierre-Yves Maunier

On 04/20/2010 11:38 PM, Pierre-Yves Maunier wrote:


Hello
   
all,
   
   
I'm new to this lis, so hi!
   
I'm trying to use a macro to move the selected message to an imap folder.
   
Example : my imap folder tree :
   
INBOX
   
|-2010
   
|-inbox-2010
   
I want to keep in INBOX all mails that I have to read and archive message in inbox-2010.
   
My .muttrc has the following macro :
   
macro indexf2   s+imaps://imap.mydomain.tld/2010/inbox-2010enter
   
then in mutt in my messages list, when I press f2 it tells me :
   
Create imaps:/imap/mydomain/tld/2010/inbox-2010? ([yes]/no):
   
the . has been replaced by /, I tried escaping them with '.' or . and even \. but nothing work.
   
When I manally type : s followed by imaps://imap.mydomain.tld/2010/inbox-2010 this works and tells me  :
   
Append messages to imaps://imap.mydomain.tld/2010/inbox-2010? ([yes]/no):
   
Do you know how I can make it work ?
   
Thanks for your help, I don't know how to make it work.
   
Regards,
   
   

Just found what was wrong :
the + sign in my macro is not necessary
Now it works great.

Pierre-Yves




Macro to move message to imap folder

2010-04-20 Thread Pierre-Yves Maunier

Hello
all,


I'm new to this lis, so hi!

I'm trying to use a macro to move the selected message to an imap folder.

Example : my imap folder tree :
INBOX
|-2010
   |-inbox-2010

I want to keep in INBOX all mails that I have to read and archive message in 
inbox-2010.

My .muttrc has the following macro :

macro indexf2  s+imaps://imap.mydomain.tld/2010/inbox-2010enter

then in mutt in my messages list, when I press f2 it tells me :

Create imaps:/imap/mydomain/tld/2010/inbox-2010? ([yes]/no):

the . has been replaced by /, I tried escaping them with '.' or . and 
even \. but nothing work.

When I manally type : s followed by imaps://imap.mydomain.tld/2010/inbox-2010 
this works and tells me  :

Append messages to imaps://imap.mydomain.tld/2010/inbox-2010? ([yes]/no):

Do you know how I can make it work ?

Thanks for your help, I don't know how to make it work.

Regards,

--
Pierre-Yves Maunier





Re: Move message

2009-10-29 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Friday, October 23 at 10:26 AM, quoth J. Prendick:
 If I move a message into another folder, mutt first downloads the 
 message and reuploads it to the selcted folder. That's a bit 
 annoying, especially with large attachments. I don't think, mutt has 
 done that before.

Mutt shouldn't do that. The only reason I can think it might 
*download* the full message is if you've got some hook somewhere that 
matches ~b or ~h (thus requiring the full message). It should never 
need to fully re-upload... unless maybe it thinks that the source and 
destination folder are on different servers or use different accounts.

In any event, it sounds like a configuration problem.

~Kyle
- -- 
It is better to dwell in the wilderness than with a contentious and an 
angry woman.
 -- Proverbs 21:19
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iQIVAwUBSumqXyuveozR/AWeAQg4bQ//ZMX7ClPiW80nIBubtV8PoyXdLuy5HUi0
e9M0zCr29sv1hYPlOhIl/kKg7NIlZUmVw012UBNICq5tKiVHf3xLd0MGOmbOLyKu
ZwZ3ptZftdk/vUpPKKtU9XUqT9UMugykKsE33P8J7j/AAzL06EM7X3RCZTrOlGvX
n4YeOuKmGd4HZgLUlC2UCuDd/AG4UlHKbVSFY57S7SdGo4x3mV1fJxjlYkFuimve
AC438ZWwZlf8KveVeGNx8AqsuPb2cIwE6kTer6dRs96FiNSkJEQNike22/elu5hV
17dDx6VuVc3KvCE6EUyKuGDu0vs8vaFipOAIp2G744VXqPbYriB+iSHSi5dATQcX
M8rUu3wqk7oC/cm42pXkKMBFAHtOl6o/UzWYaLUV4cYP91Zr6+5T92hZz5/8gS+i
VZBmPgSsDIot39ofXNZIPAqp3dBQYQ+Pi+Zwo9cD1IXOq8PCzBGtEK0QGxgZIuPk
75jOsJDt2D45IIee8ZGOaKqnu/MkPy6o8WpYRZ/DYack8OX+KkrCxpbYZ9R0bPCS
nw+XaSJoipxNGYBe1JOG6U5h8b8KnkkJ5VqTcIsPrw2Z4tg0BCFHEw31X+uySV4f
e5/4vX0mON97O2Omz1pISSTDwiQAR392PD9ja0LhvNRWIjglPLFPo14I+i7vhAL+
/GPZsn5uZMo=
=Mvl8
-END PGP SIGNATURE-


Move message

2009-10-23 Thread J. Prendick
Hello all,

As mentioned before, I compiled mutt by myself because of my
tls-problem. Since that time I notice the following behavior:

If I move a message into another folder, mutt first downloads the
message and reuploads it to the selcted folder. That's a bit annoying,
especially with large attachments. I don't think, mutt has done that
before.

I assume I've set a wrong compile-option or forgot one. Could anyone
tell me, which one it is?

Thanks in advance.

Best regards,
J. Prendick


Re: move message macro

2001-11-25 Thread David T-G

Hi!

...and then [EMAIL PROTECTED] said...
% 
% Looking for mutt's way of moving messages, I found in list archive something
% about the 'save' command. But messages are only copied to destination and
% marked for deletion by 'save'. Isn't there a more direct method ? I tried
% this macro, but doesn't work:

No, that's about it.  It doesn't get more direct than that, though, since
those are the two steps that have to happen in a move.  Until you sync
you have the ability to undelete your mail, that's all.


% 
% macro index Escm \
% ;save-message?sync-mailbox Let's choose where to move tagged messages

Yeah, this won't work because you have to add the target location input.
This is another one of those cases where mutt could use an internal
scripting language.  Someday :-)


% 
% Any help is welcome. Thanks.

Sorry...


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg20671/pgp0.pgp
Description: PGP signature


move message macro

2001-11-24 Thread toomai


Looking for mutt's way of moving messages, I found in list archive something
about the 'save' command. But messages are only copied to destination and
marked for deletion by 'save'. Isn't there a more direct method ? I tried
this macro, but doesn't work:

macro index Escm \
;save-message?sync-mailbox Let's choose where to move tagged messages

Any help is welcome. Thanks.