Re: Can't figure out how to set locale/charset stuff

2011-05-18 Thread Christian Ebert
* Grant Edwards on Wednesday, May 18, 2011 at 19:24:00 + > I suppose some sort of header-hook that would prefer text/html when > the user-agent is Entourage, but I don't recall that being something > doable. Perhaps something like (untested): message-hook ~A ' \ unalternative_order *; \ alter

Re: Can't figure out how to set locale/charset stuff

2011-05-18 Thread Grant Edwards
On 2011-05-18, Derek Martin wrote: > On Wed, May 18, 2011 at 06:49:04PM +, Grant Edwards wrote: >> The single-quote characters denoted by =8C and =B9 don't display >> properly. Neither does what I'm guessing is some sort of dash encoded >> by =8B. >> >> Those codes aren't right for ISO-8859-

Re: Can't figure out how to set locale/charset stuff

2011-05-18 Thread Derek Martin
On Wed, May 18, 2011 at 06:49:04PM +, Grant Edwards wrote: > The single-quote characters denoted by =8C and =B9 don't display > properly. Neither does what I'm guessing is some sort of dash encoded > by =8B. > > Those codes aren't right for ISO-8859-[1,15] or any of the common > Windows code-

Re: Can't figure out how to set locale/charset stuff

2011-05-18 Thread Grant Edwards
On 2011-05-18, Grant Edwards wrote: > Indeed it is. I run mutt using a shellscript that sets LANG and then > runs a terminal: > > #!/bin/bash > export LANG=en_US.utf8 > exec urxvt -T "mutt $1" -n "mutt $1" -ls -e mutt -F .muttrc.$1 > >> and it still doesn't work, I'm at a bit of a loss...

Re: imap_pass password management

2011-05-18 Thread Todd Hesla
Richard, I use GnuPG to encrypt/decrypt my passwords for mutt. For each imap account, I create a little text file that contains the appropriate password, and encrypt that file using my public key. Then I use command substitution to set imap_pass in muttrc. For example, set my_imap_un=hesla

Re: imap_pass password management

2011-05-18 Thread Ed Blackman
On Wed, May 18, 2011 at 07:24:49PM +0200, Ђорђе Тодоровић wrote: On Wed, 18 May 2011, Ђорђе Тодоровић wrote: On Wed, 18 May 2011, Richard wrote: imap_pass = `echo -n $(pwsafe -p ACCOUNT_NAME -e -q | tail -n 1) ` That works fine, thank you. Also I found this link: http://www.mail-archive.com

Re: imap_pass password management

2011-05-18 Thread Jean-Christophe Bach
* Ђорђе Тодоровић [18.05.2011. @13:43:05 +0200]: > I'm using mutt + offlineimap + msmtp to work with my 10+ IMAP accounts. The > problem is > that each account has it's own imap_pass and smtp_pass stored in plaintext > somewhere im > muttrc, .msmtprc and .offlineimaprc. That makes password mana

Re: Can't figure out how to set locale/charset stuff

2011-05-18 Thread Grant Edwards
On 2011-05-18, Derek Martin wrote: > On Wed, May 18, 2011 at 04:33:49PM +, Grant Edwards wrote: >> > The last problem I've encountered is that in the past, some systems >> > were still defaulting to non-UTF-8 charsets, and even if you set your >> > LANG properly your X session was started with

Re: imap_pass password management

2011-05-18 Thread Ђорђе Тодоровић
On Wed, 18 May 2011, Ђорђе Тодоровић wrote: On Wed, 18 May 2011, Richard wrote: On Wed, May 18, 2011 at 01:43:05PM +0200, Ђорђе Тодоровић wrote: Is it possible to have my imap_pass set dynamicaly to be an output of some CLI password management program (like pwsafe)? Exaple: imap_pass = "ec

Re: Can't figure out how to set locale/charset stuff

2011-05-18 Thread Derek Martin
On Wed, May 18, 2011 at 04:33:49PM +, Grant Edwards wrote: > > The last problem I've encountered is that in the past, some systems > > were still defaulting to non-UTF-8 charsets, and even if you set your > > LANG properly your X session was started with a non-unicode > > environment. > > That

Re: ispell with vim

2011-05-18 Thread Christian Brabandt
On Tue, May 17, 2011 4:30 am, Elimar Riesebieter wrote: > :help search > You mean :h spell? :h search turns you to the search() function, which I am sure, isn't what he was looking for. BTW: although vim supports a spell function since version 7 ( see the documentation at :h spell :h new-spell :

Re: Can't figure out how to set locale/charset stuff

2011-05-18 Thread Grant Edwards
On 2011-05-18, Derek Martin wrote: [Firstly, thanks much for the pointers.] > Now, the problem is most likely that something in your environment is > not right. You might start by checking the output of the locale > command. Generally, you want to set LANG and make sure the other LC_* > variab

Re: imap_pass password management

2011-05-18 Thread Ђорђе Тодоровић
On Wed, 18 May 2011, Richard wrote: On Wed, May 18, 2011 at 01:43:05PM +0200, Ђорђе Тодоровић wrote: Is it possible to have my imap_pass set dynamicaly to be an output of some CLI password management program (like pwsafe)? Exaple: imap_pass = "echo -n $(pwsafe -p ACCOUNT_NAME -e -q | tail -n

Re: Can't figure out how to set locale/charset stuff

2011-05-18 Thread Derek Martin
Hi Grant, On Tue, May 17, 2011 at 04:32:07PM +, Grant Edwards wrote: > It's been years since mutt displayed more than a small fraction of my > incoming mail correctly. I've tried setting LC_CTYPE and LANG > according to http://wiki.mutt.org/?MuttFaq/Charset, but no matter what > I choose, the

Re: imap_pass password management

2011-05-18 Thread Richard
On Wed, May 18, 2011 at 01:43:05PM +0200, Ђорђе Тодоровић wrote: > Is it possible to have my imap_pass set dynamicaly to be an output of some > CLI password > management program (like pwsafe)? Exaple: > > imap_pass = "echo -n $(pwsafe -p ACCOUNT_NAME -e -q | tail -n 1) |" does that work? imap_

Re: Quirks using format:fixed

2011-05-18 Thread Richard
On Tue, May 17, 2011 at 12:25:35PM -0600, Aaron Toponce wrote: > On Tue, May 17, 2011 at 03:30:13PM +0200, Richard wrote: > > the more practical idea is to edit plain text (or some kind of > > markup/richtext) > > in your favorite editor and have a wrapper script around the editor which > > conve

imap_pass password management

2011-05-18 Thread Ђорђе Тодоровић
I'm using mutt + offlineimap + msmtp to work with my 10+ IMAP accounts. The problem is that each account has it's own imap_pass and smtp_pass stored in plaintext somewhere im muttrc, .msmtprc and .offlineimaprc. That makes password management very hard, because every time I change my passwords