Re: hiding IMAP FO LDER IN TERNAL D ATA messages

2000-06-14 Thread Suresh Ramasubramanian

David T-G proclaimed on mutt-users that: 

...and then Suresh Ramasubramanian said...

% folder-hook . "push \"l!(~s 'FOLDER INTERNAL DATA')\n*\""
% by the way, the reason I'm using PINE (spit) to write this was that this

*gasp*!!

Boy, you must *really* like that limit to not just
  l .
  /~s FOLDER
  r
  :source .muttrc

Quoting the muttrc is no hassle - but I have to find that post in the
folder first - anything with folder internal data in the subject gets
munged.

Oh, btw - if you know of any way to use vim macros in _pico_ (which is
what I use as my editor) do let me know ;)

-- 
Suresh Ramasubramanian + [EMAIL PROTECTED]
"If you have to hate, hate gently"



Re: hiding IMAP FO LDER IN TERNAL D ATA messages

2000-06-14 Thread David T-G

Suresh --

...and then Suresh Ramasubramanian said...
% David T-G proclaimed on mutt-users that: 
% 
% Boy, you must *really* like that limit to not just
%   l .
%   /~s FOLDER
%   r
%   :source .muttrc
% 
% Quoting the muttrc is no hassle - but I have to find that post in the

Quoting?  Do you mean re-sourcing?


% folder first - anything with folder internal data in the subject gets

Well, I took that as a given since you had known enough to reply to it
with PINE.  I figured it would be easy to turn off your limit, hunt for
a message with FOLDER in the subject (though you might have to search a
couple of times if you are likely to have your own IMAP message in there,
and if I were re-writing this I would really say

  l .
  Ou
  1
  /~s FOLDER
  r
  :source .muttrc
  
to increase the odds of your hitting the target message on the first
try), do your replying, and then re-source the muttrc to make it all
pretty again.

Meanwhile, you should be able to get specific enough with your limit
command to have it really get ONLY those fake messages by specifying the
subject *and* maybe the sender or another string unique to your system...


% munged.

Right -- as long as you're limiting, anyway.


% 
% Oh, btw - if you know of any way to use vim macros in _pico_ (which is
% what I use as my editor) do let me know ;)

Sure; it's easy.  Fire up pico on your text and then run the pico
equivalent of

  :!vim /your/buffer/filename

and use all of the vim macros you want.  Save and exit to get *back*
to pico, and then DO NOT save when you leave pico.  Piece of cake ;-)


% 
% -- 
% Suresh Ramasubramanian + [EMAIL PROTECTED]
% "If you have to hate, hate gently"


:-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: hiding IMAP FO LDER IN TERNAL D ATA messages

2000-06-14 Thread Suresh Ramasubramanian

David T-G proclaimed on mutt-users that: 

Meanwhile, you should be able to get specific enough with your limit
command to have it really get ONLY those fake messages by specifying the
subject *and* maybe the sender or another string unique to your system...

Simple thing - am now grepping for the entire "Dont delete this message -
FOLDER INTERNAL DATA" (or whatever)

Sure; it's easy.  Fire up pico on your text and then run the pico
equivalent of

  :!vim /your/buffer/filename

and use all of the vim macros you want.  Save and exit to get *back*
to pico, and then DO NOT save when you leave pico.  Piece of cake ;-)

Yeah, it's easier than ... let's see ... er ... um ... the emacs macro to
secretly take control of Air Force One ;)

-- 
Suresh Ramasubramanian + [EMAIL PROTECTED]
"Irrationality is the square root of all evil"
-- Douglas Hofstadter



Re: hiding IMAP FO LDER IN TERNAL D ATA messages

2000-06-14 Thread David T-G

Suresh --

...and then Suresh Ramasubramanian said...
% David T-G proclaimed on mutt-users that: 
% 
% subject *and* maybe the sender or another string unique to your system...
% 
% Simple thing - am now grepping for the entire "Dont delete this message -
% FOLDER INTERNAL DATA" (or whatever)

Ah, but what if someone sends an email with that whole subject to ask
about such a thing? *wink*


% 
%   :!vim /your/buffer/filename
% 
% and use all of the vim macros you want.  Save and exit to get *back*
% to pico, and then DO NOT save when you leave pico.  Piece of cake ;-)
% 
% Yeah, it's easier than ... let's see ... er ... um ... the emacs macro to
% secretly take control of Air Force One ;)

*grin*


% 
% -- 
% Suresh Ramasubramanian + [EMAIL PROTECTED]
% "Irrationality is the square root of all evil"
%   -- Douglas Hofstadter


:-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: hiding IMAP FO LDER IN TERNAL D ATA messages

2000-06-13 Thread Suresh Ramasubramanian

On Tue, 13 Jun 2000, Tim Danner wrote:

 I read mail with mutt when I'm local, and IMAP when I'm away. The IMAP stuff
 creates messages with the subject "DON'T DELETE THIS MESSAGE -- FOLDER
 INTERNAL DATA". When reading with mutt, I'd like these to be hidden. Is there
 a facility for not displaying messages meeting some pattern?

Simple - add this to your muttrc
folder-hook . "push \"l!(~s 'FOLDER INTERNAL DATA')\n*\""

by the way, the reason I'm using PINE (spit) to write this was that this
folder hook hid _your_ mail :)  That's the reason I've munged your subject
a bit.

-- 
Suresh Ramasubramanian + [EMAIL PROTECTED]
Flying saucers on occasion
Show themselves to human eyes.
Aliens fume, put off invasion
While they brand these tales as lies.




Re: hiding IMAP FO LDER IN TERNAL D ATA messages

2000-06-13 Thread Rebecca Lynne Sutton

On Tue, Jun 13, 2000 at 07:29:31PM +0530, Suresh Ramasubramanian wrote:
 On Tue, 13 Jun 2000, Tim Danner wrote:
 
  I read mail with mutt when I'm local, and IMAP when I'm away. The IMAP stuff
  creates messages with the subject "DON'T DELETE THIS MESSAGE -- FOLDER
  INTERNAL DATA". When reading with mutt, I'd like these to be hidden. Is there
  a facility for not displaying messages meeting some pattern?
 
 Simple - add this to your muttrc
 folder-hook . "push \"l!(~s 'FOLDER INTERNAL DATA')\n*\""
 
 by the way, the reason I'm using PINE (spit) to write this was that this
 folder hook hid _your_ mail :)  That's the reason I've munged your subject
 a bit.
 

Couldn't you use regexps to match a little bit more exactly?  Like this:
folder-hook . "push \"l!(~s 'FOLDER INTERNAL DATA$')\n*\""

That is the end of the subject line, right?


BTW, thanks for this-- I plan to add it to my muttrc. 

rebecca



Re: hiding IMAP FO LDER IN TERNAL D ATA messages

2000-06-13 Thread David T-G

Suresh --

...and then Suresh Ramasubramanian said...
% On Tue, 13 Jun 2000, Tim Danner wrote:
% 
%  a facility for not displaying messages meeting some pattern?
% 
% Simple - add this to your muttrc
% folder-hook . "push \"l!(~s 'FOLDER INTERNAL DATA')\n*\""
% 
% by the way, the reason I'm using PINE (spit) to write this was that this

*gasp*!!


% folder hook hid _your_ mail :)  That's the reason I've munged your subject
% a bit.

Boy, you must *really* like that limit to not just

  l .
  /~s FOLDER
  r
  :source .muttrc

*grin*


% 
% -- 
% Suresh Ramasubramanian + [EMAIL PROTECTED]
% Flying saucers on occasion
%   Show themselves to human eyes.
% Aliens fume, put off invasion
%   While they brand these tales as lies.


:-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature