Re: sorting by date question

2002-06-12 Thread Peter Gelbman

On Wed, Jun 12, 2002 at 11:46:07AM -0400, Lane Brooks wrote:
 I am using mutt to access a IMAP account, and I have sort by date.
 However, it sorts it by the date of sender, and not the date on which
 it was received.  In other words, if a user has the wrong time or date
 on their machine, it will get reflected in my mailbox when mutt sorts
 it.  Other IMAP clients that I use to access this same mailbox sort
 it by the date I actually received the mail, not the date the sender's
 machine says.
 
 Is there a way to have mutt sort it by the date received instead of
 the date sender marks it with?

I just recently figured out how to fix this also. You can do it manually
on the fly as already mentioned, or set your default sort behaviour:

set date-received

-- 

~pete



Re: sorting by date question

2002-06-12 Thread Peter Gelbman

On Wed, Jun 12, 2002 at 09:11:40AM -0700, Peter Gelbman wrote:
 On Wed, Jun 12, 2002 at 11:46:07AM -0400, Lane Brooks wrote:
  I am using mutt to access a IMAP account, and I have sort by date.
  However, it sorts it by the date of sender, and not the date on which
  it was received.  In other words, if a user has the wrong time or date
  on their machine, it will get reflected in my mailbox when mutt sorts
  it.  Other IMAP clients that I use to access this same mailbox sort
  it by the date I actually received the mail, not the date the sender's
  machine says.
  
  Is there a way to have mutt sort it by the date received instead of
  the date sender marks it with?
 
 I just recently figured out how to fix this also. You can do it manually
 on the fly as already mentioned, or set your default sort behaviour:
 
 set date-received

Oops, that was obviouysly a typo - I meant:

set sort=date-received




Re: 3 quick questions

2002-06-10 Thread Peter Gelbman

On Mon, Jun 10, 2002 at 07:53:26AM -0400, darren chamberlain wrote:
 * Peter Gelbman [EMAIL PROTECTED] [2002-06-08 01:54]:
 ## Delete messages to the trash can rather than bit-bucket, unless
 ## we're in the trash folder.
 folder-hook .   macro index d save-message=trashenter
 folder-hook .   macro pager d save-message=trashenter
 folder-hook .   macro pager D delete-message
   
 folder-hook trash   macro index d delete-message
 folder-hook trash   macro pager d delete-message
   
 # When we go into to the trash folder, tag stuff greater than 14
 # days old.  Don't mark anything that's already flagged, though.
 folder-hook trash  push 'D~r14d!~F\n'
 
  Thanks for the tip. I've used almost the same setup for a while, but
  yours is cleaner. I'd like to use the push thing but when I go into
  my trash folder it get a:
  
  Key is not bound.  Press '?' for help.
  
  Running
  Running  1.3.28i under Solaris 8
  
  Where can I find out more about the push command to tweak it to my own
  tastes? Thanx
 
 The push command assumes that your bindings are the same as mine.  I've
 been meaning to modify it for a while to:
 
   folder-hook trash push 'delete-pattern~r14d!~Fcr'
 
 Which doesn't assume anything about bindings.

Actually I was using the same binding, but this generic one is better.
The problem was that that I seem to need to use enter instead of cr.
Dunno why. Actually I prefer to be interactively asked b4 nuking the
marked messages upon entering the trash folder, so I am just leaving the
enter off.  Thanks again



Re: 3 quick questions

2002-06-07 Thread Peter Gelbman

On Fri, Jun 07, 2002 at 08:18:37AM -0400, darren chamberlain wrote:
 * David T-G [EMAIL PROTECTED] [2002-06-06 16:31]:
  % 1.  Where do D (deleted) msgs go?  Is there an equivalent of
  % trash, or am I truly out of the disneyland GUI world now and
  % just like using rm on files, there's no going back.
  
  With the stock version, that's the way it is.
 
 [-- snip --]
 
  Other folks have in the past whipped up some macros that bind 'd' to
  actually save to some other folder where you *then* really delete the
  messages later.
 
 I have been using this setup for over a year, and it works great:
 
   ## Delete messages to the trash can rather than bit-bucket, unless
   ## we're in the trash folder.
   folder-hook .   macro index d save-message=trashenter
   folder-hook .   macro pager d save-message=trashenter
   folder-hook .   macro pager D delete-message
 
   folder-hook trash   macro index d delete-message
   folder-hook trash   macro pager d delete-message
 
   # When we go into to the trash folder, tag stuff greater than 14
   # days old.  Don't mark anything that's already flagged, though.
   folder-hook trash  push 'D~r14d!~F\n'
 
 Thus, in all folders except trash, 'd' moves the message to the trash
 folder, and 'D' deletes it for real, when I'm viewing the message (in
 the index, 'D' still maps to delete-pattern).  Every few days or so, I
 go into the trash folder to clean it out (I save 2 weeks worth of
 trash).  Hope that's helpful.

Darren,

Thanks for the tip. I've used almost the same setup for a while, but
yours is cleaner. I'd like to use the push thing but when I go into my
trash folder it get a:

Key is not bound.  Press '?' for help.

Running
Running  1.3.28i under Solaris 8

Where can I find out more about the push command to tweak it to my own
tastes? Thanx