public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* pine vs. mutt, revisited
@  Charles Hallenbeck
   ` Cheryl Homiak
  0 siblings, 1 reply; 8+ messages in thread
From: Charles Hallenbeck @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Here is a pine feature I would like to emulate in mutt, and cannot find 
information in the manuals:

In pine, the addressbook has a field called "fcc" which allows 
associating a folder name with a user. It permits having the same fcc 
folder name for several users, so that folders like "family", 
"students", "listinfo", make sense. 

In mutt, at least as I have mine presently configured, the default 
folder is the user name, and the format of the alias command has no 
provision for associating any other folder with the user. Of course I 
can backspace over the user name and enter any arbitrary folder name 
when saving a message, but I would like to be able for instance to use a 
folder like "family" automatically for several users, one named 
"students" for another group of users, and so on.

Can that be done in mutt? What do I look for to accomplish that?

Thanks,
Chuck

-- 
The Moon is Waning Crescent (18% of Full)
But you can still get downloads from http://www.mhcable.com/~chuckh


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: pine vs. mutt, revisited
   pine vs. mutt, revisited Charles Hallenbeck
@  ` Cheryl Homiak
     ` Charles Hallenbeck
     ` Charles Hallenbeck
  0 siblings, 2 replies; 8+ messages in thread
From: Cheryl Homiak @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.


Fcc as I understand it is for sent messages, so are you talking about
saving your sent mail in certain files according to the people to whom
messages are sent? My understanding of the fcc field is that it saves
the mail you send to certain recipients in a particular file or box
instead of having them all placed in sent-mail. I didn't think it had
anything to do with users. If you are talking about saving mail you
sent according to groups of recipients, I have the following in my
.muttrc:

fcc-hook .*. "~/Maildir/sent"

I forget what the lines were that had each message being sent to a
mailbox according to the recipient but I took those out. The line
above sends all sent-mail to one folder but I'm sure you could modify
the line above to stipulate a mailbox for saving groups of sent mail
to a certain folder. However, since you mention saving according to user
maybe i'm not understanding what you want to do.


-- 
Cheryl

"Where your treasure is,
there will your heart be also."


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: pine vs. mutt, revisited
   ` Cheryl Homiak
@    ` Charles Hallenbeck
       ` Cheryl Homiak
     ` Charles Hallenbeck
  1 sibling, 1 reply; 8+ messages in thread
From: Charles Hallenbeck @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Hi Cheryl,

In the pine setup you are right about the use of the fcc field. I did not 
mention that I have the "save to a folder" command set up to default to 
the user's fcc, so the fcc folder serves both purposes.

In mutt, I am talking about the "save" command which copies a message 
from the pager to a folder by typing "s". When I do that, the prompt I 
get suggests a folder with user name, and often that is not what I want, 
since I want to aggregate a number of users into one folder.

But your suggestion about hooks is a useful pointer. Let me pursue that 
one.

Thanks,
Chuck


On Fri, Jul 01, 2005 at 09:29:05PM -0500, Cheryl Homiak wrote:
> 
> Fcc as I understand it is for sent messages, so are you talking about
> saving your sent mail in certain files according to the people to whom
> messages are sent? My understanding of the fcc field is that it saves
> the mail you send to certain recipients in a particular file or box
> instead of having them all placed in sent-mail. I didn't think it had
> anything to do with users. If you are talking about saving mail you
> sent according to groups of recipients, I have the following in my
> .muttrc:
> 
> fcc-hook .*. "~/Maildir/sent"
> 
> I forget what the lines were that had each message being sent to a
> mailbox according to the recipient but I took those out. The line
> above sends all sent-mail to one folder but I'm sure you could modify
> the line above to stipulate a mailbox for saving groups of sent mail
> to a certain folder. However, since you mention saving according to user
> maybe i'm not understanding what you want to do.
> 
> 
> -- 
> Cheryl
> 
> "Where your treasure is,
> there will your heart be also."
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-- 
The Moon is Waning Crescent (16% of Full)
But you can still get downloads from http://www.mhcable.com/~chuckh


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: pine vs. mutt, revisited
   ` Cheryl Homiak
     ` Charles Hallenbeck
@    ` Charles Hallenbeck
  1 sibling, 0 replies; 8+ messages in thread
From: Charles Hallenbeck @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.


Cheryl,

Thanks! The fcc-save-hook command is just what I wanted! I had to 
eliminate overprinting from my Mutt manual to make searching it more 
reliable. And when I did that, I found the information I had trouble 
finding before.

Chuck

On Fri, Jul 01, 2005 at 09:29:05PM -0500, Cheryl Homiak wrote:
> 
> Fcc as I understand it is for sent messages, so are you talking about
> saving your sent mail in certain files according to the people to whom
> messages are sent? My understanding of the fcc field is that it saves
> the mail you send to certain recipients in a particular file or box
> instead of having them all placed in sent-mail. I didn't think it had
> anything to do with users. If you are talking about saving mail you
> sent according to groups of recipients, I have the following in my
> .muttrc:
> 
> fcc-hook .*. "~/Maildir/sent"
> 
> I forget what the lines were that had each message being sent to a
> mailbox according to the recipient but I took those out. The line
> above sends all sent-mail to one folder but I'm sure you could modify
> the line above to stipulate a mailbox for saving groups of sent mail
> to a certain folder. However, since you mention saving according to user
> maybe i'm not understanding what you want to do.
> 
> 
> -- 
> Cheryl
> 
> "Where your treasure is,
> there will your heart be also."
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-- 
The Moon is Waning Crescent (16% of Full)
But you can still get downloads from http://www.mhcable.com/~chuckh


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: pine vs. mutt, revisited
     ` Charles Hallenbeck
@      ` Cheryl Homiak
         ` Charles Hallenbeck
  0 siblings, 1 reply; 8+ messages in thread
From: Cheryl Homiak @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Ok, here are the lines from my.muttrc that determine were messages are
saved. You can leave out "set confirm append=no" if you want to be
prompted to make sure you are saving where you want to save. Maybe you
can do sets of these lines for different groupings to get them in the
right folder. I'm npot sure. There is a lot you can do with macros.

macro pager s "<tag-prefix><save-message>~/Maildir/.saved-messages<enter>"
macro index s "<tag-prefix><save-message>~/Maildir/.saved-messages<enter>"
set confirmappend=no

-- 
Cheryl

"Where your treasure is,
there will your heart be also."


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: pine vs. mutt, revisited
       ` Cheryl Homiak
@        ` Charles Hallenbeck
           ` Cheryl Homiak
  0 siblings, 1 reply; 8+ messages in thread
From: Charles Hallenbeck @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Okay, that looks interesting too. Meanwhile I have created a bunch of 
"fcc-save-hook" lines that are working very nicely. The more I use this 
mutt program, the more I like it. 

Chuck

On Sat, Jul 02, 2005 at 07:25:36AM -0500, Cheryl Homiak wrote:
> Ok, here are the lines from my.muttrc that determine were messages are
> saved. You can leave out "set confirm append=no" if you want to be
> prompted to make sure you are saving where you want to save. Maybe you
> can do sets of these lines for different groupings to get them in the
> right folder. I'm npot sure. There is a lot you can do with macros.
> 
> macro pager s "<tag-prefix><save-message>~/Maildir/.saved-messages<enter>"
> macro index s "<tag-prefix><save-message>~/Maildir/.saved-messages<enter>"
> set confirmappend=no
> 
> -- 
> Cheryl
> 
> "Where your treasure is,
> there will your heart be also."
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-- 
The Moon is Waning Crescent (14% of Full)
But you can still get downloads from http://www.mhcable.com/~chuckh


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: pine vs. mutt, revisited
         ` Charles Hallenbeck
@          ` Cheryl Homiak
             ` Charles Hallenbeck
  0 siblings, 1 reply; 8+ messages in thread
From: Cheryl Homiak @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Hi Chuck.

How about sharing one or two of your fcc-save-hook lines for a
pattern?

Tia.

-- 
Cheryl

"Where your treasure is,
there will your heart be also."


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: pine vs. mutt, revisited
           ` Cheryl Homiak
@            ` Charles Hallenbeck
  0 siblings, 0 replies; 8+ messages in thread
From: Charles Hallenbeck @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.


Hi Cheryl,

Well, I have so far only used the complete email address as a pattern, 
but theoretically I could probably improve on that to some degree. Here 
is a set of lines which will give you the general idea:

fcc-save-hook chomiak@charter.net +cheryl
fcc-save-hook chris@kaz.com +family
fcc-save-hook chuckh@mhcable.com +myself
fcc-save-hook editorial@registerstar.com +letters
fcc-save-hook janina@CapitalAccessibility.Com +janina
fcc-save-hook janina@rednote.net +janina
fcc-save-hook kathhdh@aol.com +family
fcc-save-hook paulmigs@migliorelli.org +paul
fcc-save-hook pteasdale@indenews.com +letters


As you can see, the final entry is the folder name, with the plus sign 
signifying that the folder should be appended. In the above there are 
several family members all going to "+family", two newspapers going to 
"+letters" (I write letters to editors), two different addresses for 
Janina  converging to one folder, and a couple of unique folders for 
individuals: cheryl, myself, paul.

The way I have handled this is to create a separate file to hold my 
address aliases, into which the aliases are placed by Mutt when you type 
"a", and in the same file I have to manually enter these fcc-save-hook 
lines. Sorting the file puts the aliases up front and the hook 
definitions last. The Mutt rc file contains a "source" command to read 
this file when Mutt is started. 

Also, I have "set copy=ask-no" so I can decide whether to save my own 
outgoing stuff. Occasionally I will want to, but the default for me is 
no.

HTH

Chuck

On Sat, Jul 02, 2005 at 08:25:58AM -0500, Cheryl Homiak wrote:
> Hi Chuck.
> 
> How about sharing one or two of your fcc-save-hook lines for a
> pattern?
> 
> Tia.
> 
> -- 
> Cheryl
> 
> "Where your treasure is,
> there will your heart be also."
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-- 
The Moon is Waning Crescent (14% of Full)
But you can still get downloads from http://www.mhcable.com/~chuckh


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 pine vs. mutt, revisited Charles Hallenbeck
 ` Cheryl Homiak
   ` Charles Hallenbeck
     ` Cheryl Homiak
       ` Charles Hallenbeck
         ` Cheryl Homiak
           ` Charles Hallenbeck
   ` Charles Hallenbeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).