Re: 1.5.17 - threads shown with wierd characters.
On Feb 11, 2008 3:42 PM, Kyle Wheeler <[EMAIL PROTECTED]> wrote: > >How to get 1.5.17 use libncursesw.so.5? > > You have to install the development headers for it. According to > Ubuntu's web page, the package that provided the libncursesw.so.5 > library is libncursesw5 (shockingly enough), and the package that > provides the headers allowing a person to compile software that works > with that library is in the package libncursesw5-dev. > > When you run mutt's configure script, it uses the best development > headers it can find. If all you have is libncurses headers, that's all > it'll use. Thanks. That worked! I installed libncursesw5-dev and then configured mutt.
Re: copy on a per email basis
> If you need something more complicated, such as "in my friends folder, > I want to save to folder X, but in the inbox, I want to save to folder > Y" then you'll need to completely change the macro with a folder-hook, > like so: > > folder-hook INBOX 'macro compose S Y' > folder-hook friends 'macro compose S X' > > Make sense? Indeed and that is what I will be using! SK
Re: copy on a per email basis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday, February 12 at 08:58 PM, quoth SK: > I can almost use this, except for a small hurdle. I need to set the > fcc file name based on the mailbox folder. Currently I use > 'folder-hook' to do that. Is there anyway I can tweak this macro to > get the fcc filename based on the mailbox folder? Sure. The current folder name can be used as "^", so a useful macro would be: macro compose S "^-sent" Thus, if you are in ~/Mail/friends, your mail will be saved in ~/Mail/friends-sent. If you need something more complicated, such as "in my friends folder, I want to save to folder X, but in the inbox, I want to save to folder Y" then you'll need to completely change the macro with a folder-hook, like so: folder-hook INBOX 'macro compose S Y' folder-hook friends 'macro compose S X' Make sense? ~Kyle - -- To brand a book as unsuitable is an important step toward making it required reading. -- Marvin Kaye -BEGIN PGP SIGNATURE- Comment: Thank you for using encryption! iD8DBQFHsgF2BkIOoMqOI14RAgelAJ9xQEJFosgr9nb4i3kf8cKWi4EPMwCg/a7T Uje4zHT/gGGuUCSoSYay+R8= =JINS -END PGP SIGNATURE-
Re: copy on a per email basis
> The easy solution would seem to be to define the macro within the > folder-hook you already have. Didn't know I could do that. It works! Thanks everyone!
Re: copy on a per email basis
On 12 Feb 2008 20:58 +0100, by [EMAIL PROTECTED] (SK): >> macro compose >> value-for-field > > I can almost use this, except for a small hurdle. I need to set the > fcc file name based on the mailbox folder. Currently I use > 'folder-hook' to do that. Is there anyway I can tweak this macro to > get the fcc filename based on the mailbox folder? The easy solution would seem to be to define the macro within the folder-hook you already have. -- Michael Kjörling .. [EMAIL PROTECTED] .. http://michael.kjorling.se * . No bird soars too high if he soars with his own wings . * * ENCRYPTED email preferred -- OpenPGP key ID: 0x(758F8749)BDE9ADA6 * * ASCII Ribbon Campaign: Against HTML mail, proprietary attachments * pgpzpMEQGV7im.pgp Description: PGP signature
Re: copy on a per email basis
> > > Do you want to press a key to make mutt save messages to a > > > specific folder, but to not do so if you do not press this key? > > > > Yes, exactly, without even having to answer the "Yes/No" question > > (if I set ask-yes, or ask-no option) every time. > > copy: no > define a > macro compose > value-for-field I can almost use this, except for a small hurdle. I need to set the fcc file name based on the mailbox folder. Currently I use 'folder-hook' to do that. Is there anyway I can tweak this macro to get the fcc filename based on the mailbox folder? SK
Re: copy on a per email basis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday, February 12 at 08:19 PM, quoth SK: >> Do you want to press a key to make mutt save messages to a specific >> folder, but to not do so if you do not press this key? > >Yes, exactly, without even having to answer the "Yes/No" question (if >I set ask-yes, or ask-no option) every time. Ah, that's easy then: set copy=yes set record= macro compose S '=Saved' Thus, by default, mutt will not save a copy, because $record is empty, but when you press S (aka shift-s), it will set the FCC to be "=Saved", and when the message is sent, a copy WILL be saved to the "=Saved" folder. If you want mutt to remember your decision between messages, then you'd have to do it a bit differently: set copy=yes set record= # first, we have the set-saved action: macro compose ,S '=Saved\ set record="=Saved"\ macro compose S ,s' # now we have the set-not-saved action: macro compose ,s '\ set record=\ macro compose S ,S' # note that those two toggle the following macro back and forth # between them: macro compose S ,S Does that help? ~Kyle - -- Many who claim to have been transformed by Christ's love are deeply, even murderously, intolerant of criticism. -- Sam Harris -BEGIN PGP SIGNATURE- Comment: Thank you for using encryption! iD8DBQFHsfZLBkIOoMqOI14RAuqBAKDn9GN5XcuvrffFYGHhzPYZ+0QCOACfWUnp L8Ttsc61pv8BpcRjU9wMLck= =Qs8R -END PGP SIGNATURE-
Re: copy on a per email basis
> > Do you want to press a key to make mutt save messages to a specific > > folder, but to not do so if you do not press this key? > > Yes, exactly, without even having to answer the "Yes/No" question (if > I set ask-yes, or ask-no option) every time. This might do it. ## Set copy to no when initiating new messages send-hook . 'set copy=no' ## Set copy to yes when you press control-K at the compose menu macro compose \CK 'set copy=yes' -- -D.[EMAIL PROTECTED]NSITUniversity of Chicago
Re: copy on a per email basis
=- SK wrote on Tue 12.Feb'08 at 20:19:22 +0100 -= > > Do you want to press a key to make mutt save messages to a > > specific folder, but to not do so if you do not press this key? > > Yes, exactly, without even having to answer the "Yes/No" question > (if I set ask-yes, or ask-no option) every time. copy: no define a macro compose value-for-field For details about <> content see '?' help of "compose menu". -- © Rado S. -- You must provide YOUR effort for your goal! EVERY effort counts: at least to show your attitude. You're responsible for ALL you do: you get what you give.
Re: copy on a per email basis
> Do you want to press a key to make mutt save messages to a specific > folder, but to not do so if you do not press this key? Yes, exactly, without even having to answer the "Yes/No" question (if I set ask-yes, or ask-no option) every time. SK
Re: copy on a per email basis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday, February 12 at 08:06 PM, quoth SK: > Thanks for the informative reply Kyle. I think I will use the fcc-hook > way but before that, just to reconfirm - there is no simple option > (say a key binding) that is equivalent to checking the "Save in Sent > Mail" checkbook of a web based email client? I guess I'm confused about what you're asking for. What do you want mutt to do, and in what situations? Do you want to press a key to make mutt save messages to a specific folder, but to not do so if you do not press this key? ~Kyle - -- A great many people think they are thinking when they are actually rearranging their prejudices. -- William James -BEGIN PGP SIGNATURE- Comment: Thank you for using encryption! iD8DBQFHse+NBkIOoMqOI14RAs+UAJ9M1JrSi+i10k51or3jEmhxo3xP5QCfTNcq DXdEwY0j5YOkHfD4OooFpuU= =vBjD -END PGP SIGNATURE-
Re: copy on a per email basis
Thanks for the informative reply Kyle. I think I will use the fcc-hook way but before that, just to reconfirm - there is no simple option (say a key binding) that is equivalent to checking the "Save in Sent Mail" checkbook of a web based email client? Thanks, SK On Feb 12, 2008 7:44 PM, Kyle Wheeler <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Tuesday, February 12 at 07:10 PM, quoth SK: > > > As far as I read the amanual, "set copy" allows one to specify > > whether to keep a copy of all sent emails. Is there any way in which > > I can disable this behavior by default (i.e. unset copy) but in the > > compose window speficy that I want to keep a copy on a per-email > > basis? Of course I can CC or BCC myself but that is too much "work" > > :) > > Well, copy is a quad-option, meaning that you can tell mutt to ask you > every time. The valid options are: yes, no, ask-yes, and ask-no (the > two variants of ask specify what the default will be when it asks). > > But if you read the manual (or rather, the muttrc man page), the > description of the $copy option directs you to also check out > fcc-hook, which will allow you to specify where (or if) to save the > message based on pattern matching (e.g. who the email is addressed to, > what the subject line is, that sort of thing). > > For example, you could create a pair of hooks to make sure that > messages aren't saved if they're destined for yourself already: > > fcc-hook . '=Sent' # default > fcc-hook ~p '/dev/null' # don't save things addressed to me > > Adding another would make sure that copies aren't saved for messages > to the mutt mailing list: > > fcc-hook '~C [EMAIL PROTECTED]' /dev/null > > Or, if you've told mutt all about your subscribed mailing lists, you > could do this: > > fcc-hook ~u /dev/null > > Now, I'm pulling a bit of a fast one on you, because saving a message > to /dev/null isn't *exactly* the same as not saving it. All that does > is ensure that it doesn't get stored anywhere, but mutt still goes to > the effort of writing it to /dev/null. Unfortunately, you can't use > fcc-hook to specify "nothing". For example, this won't work: > > fcc-hook ~u "" > > I'm not sure why. But I can tell you that there's a way around it, if > the /dev/null trick doesn't sit well with you. Here's what I do: > > set copy=yes > send-hook . 'set record="=Sent"' > send-hook ~u 'set record=' > send-hook ~p 'set record=' > > That way, mutt doesn't even spend its time writing the message to > /dev/null. But going that far is being anal, and could only possibly > be an inconvenience for extremely large emails. That's just the kind > of guy I am, though. :) > > ~Kyle > - -- > The only fool bigger than the person who knows it all is the person > who argues with him. > -- Stanislaw Jerszy Lec > -BEGIN PGP SIGNATURE- > Comment: Thank you for using encryption! > > iD8DBQFHsekEBkIOoMqOI14RAuj/AJwKruSo9rkefFaiZlRWKvZQg57+kACgr9c7 > P67MsOoMp/Y+Sxpy+aGkBDQ= > =Eo9d > -END PGP SIGNATURE- >
Re: Problem with threating
Hi Patrick, Am 2008-02-10 12:01:14, schrieb Patrick Shanahan: > * Michelle Konzack <[EMAIL PROTECTED]> [02-10-08 11:41]: > > Question: With "l" I can redraw the screen, but how do I this from > > the macro? > > TFM: default >pager Ahh thanks... I was missing this. Note: I do not like the new syle of the "manual.txt" the old one was better to read (specialy I hate those pseudo tables since I can not more cut sections from a script with sed) Thanks, Greetings and nice Day Michelle Konzack -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ # Debian GNU/Linux Consultant # Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSN LinuxMichi 0033/6/6192519367100 Strasbourg/France IRC #Debian (irc.icq.com) signature.pgp Description: Digital signature
Re: copy on a per email basis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday, February 12 at 07:10 PM, quoth SK: > As far as I read the amanual, "set copy" allows one to specify > whether to keep a copy of all sent emails. Is there any way in which > I can disable this behavior by default (i.e. unset copy) but in the > compose window speficy that I want to keep a copy on a per-email > basis? Of course I can CC or BCC myself but that is too much "work" > :) Well, copy is a quad-option, meaning that you can tell mutt to ask you every time. The valid options are: yes, no, ask-yes, and ask-no (the two variants of ask specify what the default will be when it asks). But if you read the manual (or rather, the muttrc man page), the description of the $copy option directs you to also check out fcc-hook, which will allow you to specify where (or if) to save the message based on pattern matching (e.g. who the email is addressed to, what the subject line is, that sort of thing). For example, you could create a pair of hooks to make sure that messages aren't saved if they're destined for yourself already: fcc-hook . '=Sent' # default fcc-hook ~p '/dev/null' # don't save things addressed to me Adding another would make sure that copies aren't saved for messages to the mutt mailing list: fcc-hook '~C [EMAIL PROTECTED]' /dev/null Or, if you've told mutt all about your subscribed mailing lists, you could do this: fcc-hook ~u /dev/null Now, I'm pulling a bit of a fast one on you, because saving a message to /dev/null isn't *exactly* the same as not saving it. All that does is ensure that it doesn't get stored anywhere, but mutt still goes to the effort of writing it to /dev/null. Unfortunately, you can't use fcc-hook to specify "nothing". For example, this won't work: fcc-hook ~u "" I'm not sure why. But I can tell you that there's a way around it, if the /dev/null trick doesn't sit well with you. Here's what I do: set copy=yes send-hook . 'set record="=Sent"' send-hook ~u 'set record=' send-hook ~p 'set record=' That way, mutt doesn't even spend its time writing the message to /dev/null. But going that far is being anal, and could only possibly be an inconvenience for extremely large emails. That's just the kind of guy I am, though. :) ~Kyle - -- The only fool bigger than the person who knows it all is the person who argues with him. -- Stanislaw Jerszy Lec -BEGIN PGP SIGNATURE- Comment: Thank you for using encryption! iD8DBQFHsekEBkIOoMqOI14RAuj/AJwKruSo9rkefFaiZlRWKvZQg57+kACgr9c7 P67MsOoMp/Y+Sxpy+aGkBDQ= =Eo9d -END PGP SIGNATURE-
copy on a per email basis
Hi all, As far as I read the amanual, "set copy" allows one to specify whether to keep a copy of all sent emails. Is there any way in which I can disable this behavior by default (i.e. unset copy) but in the compose window speficy that I want to keep a copy on a per-email basis? Of course I can CC or BCC myself but that is too much "work" :) Thanks, SK
Re: Online Address book
On 02/12/08, [EMAIL PROTECTED] wrote: > Hi, > > Thanks for your reply. ldap is running on my vServer. But I am not sure how > to setup lbdb to use ldap and mutt to use lbdb. > Any advise where to look? > > Thanks! > Nathan > > On Mon, Feb 11, 2008 at 09:04:00PM -0500, Raffi Khatchadourian wrote: > > On Tue 12.Feb'08 at 1:43:25 +0100, Nathan Huesken wrote: > >> I am using mutt from different computers (like my laptop and the desktop > >> PC at home) and I am wondering if there is some way to always keep my > >> address book synchronized between the two computers. > >> The coolest solution would be, if I could install some sort of database on > >> my vServer and make mutt query it everytime I need the address book (and > >> also add new addresses to it). > >> > >> Is there some sort if solution for this kind of think? > > > > Using LDAP and lbdb kinda solves this problem. Another solution is to setup svn on a server somewhere and then use that to keep your addresses, muttrc files, and other home data you want to be shared everywhere. I also keep my icewm files, alias setups and so on there. Make an alias that does svn ci of your files before starting mutt. -- |respectfull, Joseph | signature.asc Description: Digital signature
Re: Online Address book
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday, February 12 at 03:03 PM, quoth [EMAIL PROTECTED]: >Hi, > >Thanks for your reply. ldap is running on my vServer. But I am not sure how to >setup lbdb to use ldap and mutt to use lbdb. >Any advise where to look? http://www.spinnaker.de/lbdb/ and http://www.spinnaker.de/lbdb/mutt_ldap_query.html ~Kyle - -- This is my simple religion. There is no need for temples; no need for complicated philosophy. Our own brain, our own heart is our temple; the philosophy is kindness. -- Dalai Lama -BEGIN PGP SIGNATURE- Comment: Thank you for using encryption! iD8DBQFHscYeBkIOoMqOI14RAvyGAKCyvSqirqlnrX2HmTBkqRiB29jIjQCg1T6j V7dVRNi8vxtEXMoWFC8kQEQ= =KCqx -END PGP SIGNATURE-
Re: Online Address book
Hi, Thanks for your reply. ldap is running on my vServer. But I am not sure how to setup lbdb to use ldap and mutt to use lbdb. Any advise where to look? Thanks! Nathan On Mon, Feb 11, 2008 at 09:04:00PM -0500, Raffi Khatchadourian wrote: > On Tue 12.Feb'08 at 1:43:25 +0100, Nathan Huesken wrote: >> I am using mutt from different computers (like my laptop and the desktop >> PC at home) and I am wondering if there is some way to always keep my >> address book synchronized between the two computers. >> The coolest solution would be, if I could install some sort of database on >> my vServer and make mutt query it everytime I need the address book (and >> also add new addresses to it). >> >> Is there some sort if solution for this kind of think? > > Using LDAP and lbdb kinda solves this problem.