Applying deletions without exiting

2000-01-06 Thread Alwyn Schoeman

Hi,

Is there a way to delete the files tagged as delete without leaving
mutt?

Thank you
Alwyn Schoeman



Re: Applying deletions without exiting

2000-01-06 Thread Mike Bell


> Is there a way to delete the files tagged as delete without leaving
> mutt?

Yup, "$".



Re: Applying deletions without exiting

2000-01-06 Thread Jorge Godoy

On Thu, Jan 06, 2000 at 10:57:06AM +0200, Alwyn Schoeman wrote:
> Hi,
> 
> Is there a way to delete the files tagged as delete without leaving
> mutt?

Use the sync command. Usually it's just pressing the $ sign. 

> Thank you
> Alwyn Schoeman

Regards,
--
Godoy.  <[EMAIL PROTECTED]>   GPG Fingerprint
 851B B620 626D 2AD0 E783
"Ser poeta não é minha ambição,  E932 1330 BE6D A4A3 0625 
 é minha maneira de estar sozinho"
- Fernando Pessoa.

Except where explicitly stated I speak on my own behalf.
Exceto onde explicitado as declarações aqui feitas são apenas minhas.



Re: Applying deletions without exiting

2000-01-06 Thread staeci

control-x on mine too.

> Use the sync command. Usually it's just pressing the $ sign. 

--
Darrin Mison
-- 
Laugh, and the world ignores you.  Crying doesn't help either.

 PGP signature


[REPOST] y2k fix for mutt

2000-01-06 Thread Thomas Roessler

[Given that there have been several people asking for this recently,
I'm reposting this message.  I  guess I should start to release
1.0.1...]

Mutt as a small y2k problem on the receiving end.  While mutt works
just fine with four-digit year numbers, RFC 822 originally specifies
two-digit year numbers, which still seem to be permitted.  (Not that
any one should be using them nowadays...  However, at least one user
seems to have stumbled over them in the wild already.)

The following patch applies to the stable and unstable code branches
and makes mutt deal properly with two-digit dates < 70.

diff -u -u -r2.17 -r2.18
--- parse.c 1999/11/18 10:31:09 2.17
+++ parse.c 2000/01/01 17:59:20 2.18
@@ -721,7 +721,9 @@
 
   case 2: /* year */
tm.tm_year = atoi (t);
-   if (tm.tm_year >= 1900)
+if (tm.tm_year < 70)
+ tm.tm_year += 100;
+else if (tm.tm_year >= 1900)
  tm.tm_year -= 1900;
break;
 

-- 
http://www.guug.de/~roessler/

 PGP signature


Re: [REPOST] y2k fix for mutt

2000-01-06 Thread Lars Hecking

Thomas Roessler writes:
> [Given that there have been several people asking for this recently,
> I'm reposting this message.  I  guess I should start to release
> 1.0.1...]
> 
> Mutt as a small y2k problem on the receiving end.  While mutt works
> just fine with four-digit year numbers, RFC 822 originally specifies
> two-digit year numbers, which still seem to be permitted.  (Not that
> any one should be using them nowadays...  However, at least one user
> seems to have stumbled over them in the wild already.)
> 
> The following patch applies to the stable and unstable code branches
> and makes mutt deal properly with two-digit dates < 70.
> 
> diff -u -u -r2.17 -r2.18
> --- parse.c   1999/11/18 10:31:09 2.17
> +++ parse.c   2000/01/01 17:59:20 2.18
> @@ -721,7 +721,9 @@
>  
>case 2: /* year */
>   tm.tm_year = atoi (t);
> - if (tm.tm_year >= 1900)
> +if (tm.tm_year < 70)
> +   tm.tm_year += 100;
> +else if (tm.tm_year >= 1900)
> tm.tm_year -= 1900;
>   break;

 I'm not sure about the  if (tm.tm_year < 70)  part. According the UNIX98
 specification by The Open Group, which has been adopted by all major
 Unix vendors, two-digit years 69-99 refer to the 20th century (19xx),
 and 00-68 refers to the 21st century (20xx), so I think this line of code
 should really read

 if (tm->tm_year <= 68)
 tm->tm_year += 100;




Re: patch-1.1.1.me.pgpsearchtext.1

2000-01-06 Thread Dirk Pirschel

Hi,

On Wed, 05 Jan 2000, Michael Elkins wrote:

> NOTE: this should only be used as
> a last resort if you absolutely can't use procmail to rewrite your messages
> as suggested in doc/PGP-notes.txt.

The procmail rule only works if the mail is text/plain.
I sometimes get mails like

multipart/*
text/plain (cleartext signed)
other parts (not signed)

Are there any suggestions to handle these mails with procmail?

CU
Dirk

-- 
Dirk Pirschel  EMail: [EMAIL PROTECTED]
(PGP key on request)  [EMAIL PROTECTED]
   WWW: http://pirschel.de
"If Microsoft can change and compete on quality, I've won." -- Linus Torvalds



bind behaves wrong for key

2000-01-06 Thread Shao Zhang

Hi,
I am trying to bind a key in the alias menu to select the
current entry and exit out the alias menu and go back to the
To: prompt.

I have tried the following and it works fine:

bind alias s select-entry

But when I try:

bind alias  select-entry

It still only tags the message. I also tried this, and does not
work either, any ideas?

macro alias  "t;q" "tag the msg and exit out the alias menu"

Thanks.

Shao.

-- 

Shao Zhang - Running Debian 2.1  ___ _   _
Department of Communications/ __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
Sydney, Australia   |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: [EMAIL PROTECTED]  |___/ 
_



autimatically deleting msgs with a given subject

2000-01-06 Thread Sebastian Helms

Hi out there,

I am thinking about the following:

when receiving certain messages like notifications about successful
program termination, I would like to have them deleted automatically
after reading. That is, like moving read mail to /dev/null. 

As far as I could find out, mbox-hooks only work for mailboxes, not for
message-matching, right ? Is there a way to move read mail depending
on subject from inbox ?

Thanks,

Sebastian

-- 
"Bei Cookies sind die Risiken natürlich lange nicht so hoch wie bei
ActiveX und anderen Viren." - Tom Cole
Sebastian Helms   -  mailto:[EMAIL PROTECTED]
PGP available - 5C70 0D48 70F8 2CB1 6AB7 4539 0E37 E3E1 61A7 BA87



Re: bind behaves wrong for key

2000-01-06 Thread Mikko Hänninen

Shao Zhang <[EMAIL PROTECTED]> wrote on Fri, 07 Jan 2000:
>   But when I try:
> 
>   bind alias  select-entry

I'm using this:

  bind alias \n " q" "select (tag) current entry and exit"

which shows up as being bound to , not . Hmm.
But it works. :-)

I probably should change that to

  bind alias \n ""


I hope this helps,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
Bumper sticker: If you can read this, I can hit my brakes and sue you.



Re: autimatically deleting msgs with a given subject

2000-01-06 Thread Mikko Hänninen

Sebastian Helms <[EMAIL PROTECTED]> wrote on Thu, 06 Jan 2000:
> when receiving certain messages like notifications about successful
> program termination, I would like to have them deleted automatically
> after reading. That is, like moving read mail to /dev/null. 

I'm using this:

  folder-hook IN.corrs-admin 'push "D~s \^Warning:\n"'

... which deletes all the emails with a subject starting "Warning:" when
I enter the IN.corrs-admin folder.

You can just replace the folder name with . to match all folders, and
then change the pattern for the D(elete) operation.  Should be simple.
:-)


HTH,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
Make it idiot-proof and someone will make a better idiot.



Re: bind behaves wrong for key

2000-01-06 Thread Mikko Hänninen

I wrote on Thu, 06 Jan 2000:
> I'm using this:
> 
>   bind alias \n " q" "select (tag) current entry and exit"

That only works if you have  bound to "tag-entry" (like I do).

>   bind alias \n ""

That won't work, but this is what I ended up specifying for myself:

  bind alias  select-entry

It was all too simple. :-)


Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
"It's just a shadow of the people we should be"  -- Big Country



Exiting without applying deletions (was: Applying deletions without exiting)

2000-01-06 Thread Rich Lafferty

On Thu, Jan 06, 2000 at 10:57:06AM +0200, Alwyn Schoeman 
([EMAIL PROTECTED]) wrote:
> Hi,
> 
> Is there a way to delete the files tagged as delete without leaving
> mutt?

[Usually $, but you've probably seen that by now.]

This reminded me of something a Pine user mentioned to me as a reason
he'd not yet embraced mutt. It seems that Pine can keep track of messages
flagged as deleted, between sessions (it adds a header, 'X-Status: D'),
so you can mark a bunch of messages as deleted and they stay marked 
until you finally expunge/sync the mailbox.

Have I missed an option to do this in mutt, or is it not possible? Was
there a reason, or has it even been noticed/considered? (I sure hadn't
noticed it ;-)

  -Rich

-- 
-- Rich Lafferty ---
 Sysadmin/Programmer, Instructional and Information Technology Services
   Concordia University, Montreal, QC (514) 848-7625
- [EMAIL PROTECTED] --


 PGP signature


Re: mac-binhex40 encoding

2000-01-06 Thread Roland Rosenfeld

On Wed, 05 Jan 2000, Andrew J. Schorr wrote:

> Can anyone tell me how to handle a MIME attachment that was encoded
> using BinHex 4.0?

I personally use the program emil (see
http://www.spinnaker.de/debian/emil.html) with the following rule in
my ~/.procmailrc:

:0
* ^Content-Type: multipart/mixed
{
:0 fBw
* ^Content-Type: application/mac-binhex
| emil -G mime8_user
}

This converts mac-binhex to "normal" MIME.

At the moment, I'm not sure, whether this works for version 4.0 of
binhex, just try it out...

Ciao

Roland

-- 
 * [EMAIL PROTECTED] * http://www.spinnaker.de/ *



problem with deleting / syncing

2000-01-06 Thread Sebastian Helms

Hello again,

now I've encountered the next problem with mutt...

When I mark a message for deletion and quit the mailbox, and later
enter it again, the deleted message still is in there. The status
has changed back to not-delete. Using $ for syncing the mailbox
instantly does not work at all.

Does anyone know why this could happen ? Are file permissions of 0700
for mailboxes okay when working as ordinary user ?

Thanks,

Sebastian
-- 
Windows95: Für die einen ein Betriebssystem, für die anderen die
längste Fehlermeldung der Welt.
Sebastian Helms   -  mailto:[EMAIL PROTECTED]
PGP available - 5C70 0D48 70F8 2CB1 6AB7 4539 0E37 E3E1 61A7 BA87



Re: Exiting without applying deletions (was: Applying deletions without exiting)

2000-01-06 Thread David DeSimone

Rich Lafferty <[EMAIL PROTECTED]> wrote:
>
> It seems that Pine can keep track of messages flagged as deleted,
> between sessions (it adds a header, 'X-Status:  D'), so you can mark a
> bunch of messages as deleted and they stay marked until you finally
> expunge/sync the mailbox.

Mutt supports one side of this... if the mailbox contains messages with
the 'X-Status: D' header, they will indeed be pre-marked for deletion
upon entering the folder.  I have a procmail script which marks spam
messages in this fashion.

However, Mutt has no support for writing a mailbox in this fashion.

> Have I missed an option to do this in mutt, or is it not possible? 
> Was there a reason, or has it even been noticed/considered?  (I sure
> hadn't noticed it ;-)

Why do people always insist that someone give a specific reason why
something hasn't been done yet?  As if everyone had already considered
every possibility, and each was selected and rejected for various
criteria...  :)

In this case, the idea has come up on this list, and several people
thought it was a good idea, but nobody actually wrote any code, so
nothing actually happened.  That's how open software usually is.  :)

-- 
David DeSimone   | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED]   |  that there is no man really clever who has not
Hewlett-Packard  |  found that he is stupid." -- Gilbert K. Chesterson
UX WTEC Engineer |PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44



Re: problem with deleting / syncing

2000-01-06 Thread David DeSimone

Sebastian Helms <[EMAIL PROTECTED]> wrote:
>
> When I mark a message for deletion and quit the mailbox, and later
> enter it again, the deleted message still is in there.  The status has
> changed back to not-delete.

Perhaps you have 'set delete=no'?  There are four settings for the
variable, but only 'yes', 'ask-yes', and 'ask-no' make sense.  If you
set it to 'no', you will never be able to delete a message from a
folder.

-- 
David DeSimone   | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED]   |  that there is no man really clever who has not
Hewlett-Packard  |  found that he is stupid." -- Gilbert K. Chesterson
UX WTEC Engineer |PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44



Re: Exiting without applying deletions (was: Applying deletions without exiting)

2000-01-06 Thread Rich Lafferty

On Thu, Jan 06, 2000 at 01:18:47PM -0600, David DeSimone ([EMAIL PROTECTED]) wrote:
> Rich Lafferty <[EMAIL PROTECTED]> wrote:
> >
> > It seems that Pine can keep track of messages flagged as deleted,
> > between sessions (it adds a header, 'X-Status:  D'), so you can mark a
> > bunch of messages as deleted and they stay marked until you finally
> > expunge/sync the mailbox.
> 
> Mutt supports one side of this... if the mailbox contains messages with
> the 'X-Status: D' header, they will indeed be pre-marked for deletion
> upon entering the folder.  I have a procmail script which marks spam
> messages in this fashion.
> 
> However, Mutt has no support for writing a mailbox in this fashion.

Ah, it's a start :-)
 
> > Have I missed an option to do this in mutt, or is it not possible? 
> > Was there a reason, or has it even been noticed/considered?  (I sure
> > hadn't noticed it ;-)
> 
> Why do people always insist that someone give a specific reason why
> something hasn't been done yet?  As if everyone had already considered
> every possibility, and each was selected and rejected for various
> criteria...  :)

Because that's often the case with ideas coming from Pine, with Mutt :-)

> In this case, the idea has come up on this list, and several people
> thought it was a good idea, but nobody actually wrote any code, so
> nothing actually happened.  That's how open software usually is.  :)

Well, it's not an itch *I* need to scratch, so now I can turn around to
him and note that patches are welcome :-) Having not used Pine since
2.x, I had no idea what might have gone on regarding this bit.

  -Rich

-- 
-- Rich Lafferty ---
 Sysadmin/Programmer, Instructional and Information Technology Services
   Concordia University, Montreal, QC (514) 848-7625
- [EMAIL PROTECTED] --


 PGP signature


Re: Exiting without applying deletions (was: Applying deletions without exiting)

2000-01-06 Thread Brendan Cully

On Thursday, 06 January 2000 at 15:12, Rich Lafferty wrote:
> On Thu, Jan 06, 2000 at 01:18:47PM -0600, David DeSimone ([EMAIL PROTECTED]) wrote:
> > Rich Lafferty <[EMAIL PROTECTED]> wrote:
> > >
> > > It seems that Pine can keep track of messages flagged as deleted,
> > > between sessions (it adds a header, 'X-Status:  D'), so you can mark a
> > > bunch of messages as deleted and they stay marked until you finally
> > > expunge/sync the mailbox.

...

> > In this case, the idea has come up on this list, and several people
> > thought it was a good idea, but nobody actually wrote any code, so
> > nothing actually happened.  That's how open software usually is.  :)
> 
> Well, it's not an itch *I* need to scratch, so now I can turn around to
> him and note that patches are welcome :-) Having not used Pine since
> 2.x, I had no idea what might have gone on regarding this bit.

BTW, IMAP handles both sides of this. Just don't purge - messages will
keep theit D flags...




Re: Exiting without applying deletions (was: Applying deletions without exiting)

2000-01-06 Thread David DeSimone

Brendan Cully <[EMAIL PROTECTED]> wrote:
>
> BTW, IMAP handles both sides of this. Just don't purge - messages will
> keep their D flags...

The last time I checked, Mutt doesn't send flag-changes to the IMAP
server until you quit... so the messages can't keep their D flags,
because Mutt never sent them.  Has that changed recently?

-- 
David DeSimone   | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED]   |  that there is no man really clever who has not
Hewlett-Packard  |  found that he is stupid." -- Gilbert K. Chesterson
UX WTEC Engineer |PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44



one click save/sending?

2000-01-06 Thread Timothy Ball

Is there a way to give vim a single keystroke to at once both save and
send a letter in mutt? I love everything else in mutt and I even have a
vimrc that makes the status bar behave like my mutt colors but the one
thing I miss from the evil pine days was the ability to just hit ^x and
send a letter. I guess I just wish there was a way to make mutt and vim
play a bit nicer together.

Thoughts?

--timball

-- 
Send mail with subject "send pgp key" for public key.
pub  1024R/CFF85605 1999-06-10 Timothy L. Ball <[EMAIL PROTECTED]>
 Key fingerprint = 8A 8E 64 D6 21 C0 90 29  9F D6 1E DC F8 18 CB CD



Re: bind behaves wrong for key

2000-01-06 Thread Shao Zhang

Hi,
Thanks for the reply.
But I cannot seem to find any documentation on the key .
Are the docs on www.mutt.org up to date?

Shao.

Mikko Hänninen [[EMAIL PROTECTED]] wrote:
> I wrote on Thu, 06 Jan 2000:
> > I'm using this:
> > 
> >   bind alias \n " q" "select (tag) current entry and exit"
> 
> That only works if you have  bound to "tag-entry" (like I do).
> 
> >   bind alias \n ""
> 
> That won't work, but this is what I ended up specifying for myself:
> 
>   bind alias  select-entry
> 
> It was all too simple. :-)
> 
> 
> Mikko
> -- 
> // Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
> // The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
> // Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
> "It's just a shadow of the people we should be"  -- Big Country
> 

-- 

Shao Zhang - Running Debian 2.1  ___ _   _
Department of Communications/ __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
Sydney, Australia   |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: [EMAIL PROTECTED]  |___/ 
_



Re: one click save/sending?

2000-01-06 Thread Michael Elkins

On Thu, Jan 06, 2000 at 08:12:59PM -0600, Timothy Ball wrote:
> Is there a way to give vim a single keystroke to at once both save and
> send a letter in mutt? I love everything else in mutt and I even have a
> vimrc that makes the status bar behave like my mutt colors but the one
> thing I miss from the evil pine days was the ability to just hit ^x and
> send a letter. I guess I just wish there was a way to make mutt and vim
> play a bit nicer together.

You could create a Mutt macro which would automatically press the send key
after exiting the editor:
macro index m y
macro index g y
macro index r y

The only problem is that you would have no way to cancel the message if you
modify it.

me
-- 
pgp key available from http://www.cs.hmc.edu/~me/elkins-pgp-key.asc

 PGP signature