Re: asking to move messages into mbox

2001-11-03 Thread Lance Simmons

On Thu, Nov 01, 2001 at 01:28:01PM -0500, David T-G wrote:
 
 Not directly, AFAIK, but a macro to remap 'c' and 'q' to first set $move
 before continuing the operation might do the trick nicely.  Something like
 
   macro index c set move=no;change-folder
   macro index q set move=ask-no;quit

I can't seem to get this to work. Can you set variables in a macro?

-- 
Lance Simmons



Re: asking to move messages into mbox

2001-11-03 Thread Rob 'Feztaa' Park

On Sat, Nov 03, 2001 at 11:25:52AM -0600, Lance Simmons (dis)graced my inbox with:
 On Thu, Nov 01, 2001 at 01:28:01PM -0500, David T-G wrote:
  
  Not directly, AFAIK, but a macro to remap 'c' and 'q' to first set $move
  before continuing the operation might do the trick nicely.  Something like
  
macro index c set move=no;change-folder
macro index q set move=ask-no;quit
 
 I can't seem to get this to work. Can you set variables in a macro?

You sure can, but I don't know what trouble you are having. I just
looked at some of the macros in my .muttrc, and they look the same.
Perhaps you spelled something wrong when you copied it over?

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
In college, Biology is really Chemistry, Chemistry is really Physics,
Physics is really Calculus, and Calculus is really hard.



Re: asking to move messages into mbox

2001-11-03 Thread David T-G

Lance --

...and then Lance Simmons said...
% On Thu, Nov 01, 2001 at 01:28:01PM -0500, David T-G wrote:
%  
%  Not directly, AFAIK, but a macro to remap 'c' and 'q' to first set $move
%  before continuing the operation might do the trick nicely.  Something like
%  
%macro index c set move=no;change-folder
%macro index q set move=ask-no;quit
% 
% I can't seem to get this to work. Can you set variables in a macro?

I never said it was guaranteed; it's untested code :-)  Yes, you can set
variables in macros, or do just about anything else (I actually have
found one thing that I can't yet macro or push, but I haven't had time to
try it even further...).

Check the manual for more on how to create macros; this seems like pretty
straightforward stuff.  Maybe you need an enter instead of a semicolon
to separate the commands, it occurs to me as I read them again...


% 
% -- 
% Lance Simmons


:-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!


 PGP signature


Re: asking to move messages into mbox

2001-11-03 Thread David T-G

Lance --

...and then Lance Simmons said...
...
% Mail-Followup-To: Lance Simmons lance,
%   Mutt Users' List [EMAIL PROTECTED]

It seems that your M-F-T: header is a bit mucked up.  Amazingly my friend
MAILER-DAEMON came back and told me that there is no user named lance at
my server; go figure ;-)


:-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!


 PGP signature


Re: asking to move messages into mbox

2001-11-03 Thread Nicolas Rachinsky

On Sat, Nov 03, 2001 at 01:17:21PM -0500, David T-G 
[EMAIL PROTECTED] wrote:
 Lance --
 
 ...and then Lance Simmons said...
 % On Thu, Nov 01, 2001 at 01:28:01PM -0500, David T-G wrote:
 %  
 %  Not directly, AFAIK, but a macro to remap 'c' and 'q' to first set $move
 %  before continuing the operation might do the trick nicely.  Something like
 %  
 %macro index c set move=no;change-folder
 %macro index q set move=ask-no;quit
 % 
 % I can't seem to get this to work. Can you set variables in a macro?
 
 I never said it was guaranteed; it's untested code :-)  Yes, you can set
 variables in macros, or do just about anything else (I actually have
 found one thing that I can't yet macro or push, but I haven't had time to
 try it even further...).
 
 Check the manual for more on how to create macros; this seems like pretty
 straightforward stuff.  Maybe you need an enter instead of a semicolon
 to separate the commands, it occurs to me as I read them again...

untested! 
I would try
:set move=noenterchange-folder



Re: asking to move messages into mbox

2001-11-01 Thread David T-G

Matt --

...and then Matt Spong said...
% Hi

Hello!


% 
% Is there a way to make mutt stop asking me if I'd like to move my read
% messages into mbox when I switch from my inbox to another folder, but
% still have it ask when I quit mutt?

Not directly, AFAIK, but a macro to remap 'c' and 'q' to first set $move
before continuing the operation might do the trick nicely.  Something like

  macro index c set move=no;change-folder
  macro index q set move=ask-no;quit


% 
% Matt
% 
% -- 
% Matt Spong || [EMAIL PROTECTED] || AIM: Spong1027 || http://www.forkbomb.net
% 
%  Those who desire to give up freedom in order to gain security, will not
%  have, nor do they deserve, either one.   -Benjamin Franklin


:-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!


 PGP signature


asking to move messages into mbox

2001-10-28 Thread Matt Spong

Hi

Is there a way to make mutt stop asking me if I'd like to move my read
messages into mbox when I switch from my inbox to another folder, but
still have it ask when I quit mutt?

Matt

-- 
Matt Spong || [EMAIL PROTECTED] || AIM: Spong1027 || http://www.forkbomb.net

 Those who desire to give up freedom in order to gain security, will not
 have, nor do they deserve, either one.   -Benjamin Franklin

 PGP signature