Re: SMTP freeze with internal SMTP client

2011-04-27 Thread Elias Diem
On Tue, Apr 26, 2011 at 08:50:54AM -0700, Michael Elkins wrote:
 On Tue, Apr 19, 2011 at 12:38:56PM +0200, Elias Diem wrote:
 Hello list
 
 I use the built-in smtp to send mails. It just works fine if I enter the 
 correct
 password. If I enter a wrong one, the whole program freezes. My config:
 
 make sure your mutt  binary was compiled with debugging (mutt -v |grep
 DEBUG)
 
 then run mutt -d 3 and trigger the freeze.  then look at
 ~/.muttdebug0.  it may provide some clues.

mutt -v | grep DEBUG

shows me

-DEBUG

so I assume my mutt was compiled without DEBUG. I will compile it myself with
DEBUG enabled, but that may take some time because I'm not yet very used to it.

I will then proceed with debugging.

Thanx Elias



Wrapping non-wrapped e-mail when replying

2011-04-27 Thread Trey Sizemore
I'd like to find out how to wrap long lines in e-mails that I'm replying
to.  My mutt is setup to automatically wrap lines when I compose, but
I'd like to be able to also lap long lines in e-mails when I reply.

I have googled and see that with Vim as the editor, 'gq' is likely what
I want, but reading the help on this I'm still not sure how to
invoke/use it.

Ideally, it would be nice to have the lines in the original e-mail that
are too long to automatically be wrapped in the reply when I hit 'r'.

-- 
Cheers,
Trey

 
The universe is change; our life is what our thoughts make it. 
 --Antoninus, Marcus Aurelius
 
Darwin tbook-2.local 10.7.0 i386
10:54  up 4 days, 20:23, 4 users, load averages: 0.13 0.25 0.39


Re: Wrapping non-wrapped e-mail when replying

2011-04-27 Thread Remco Rijnders

On Wed, Apr 27, 2011 at 10:59:04AM -0400, Trey Sizemore wrote:

I'd like to find out how to wrap long lines in e-mails that I'm replying
to.  My mutt is setup to automatically wrap lines when I compose, but I'd 
like to be able to also lap long lines in e-mails when I reply.


I have googled and see that with Vim as the editor, 'gq' is likely what
I want, but reading the help on this I'm still not sure how to
invoke/use it.

Ideally, it would be nice to have the lines in the original e-mail that 
are too long to automatically be wrapped in the reply when I hit 'r'.


Hi Trey,

Assuming you are using vim as your editor of choice, when composing a 
reply, you can issue the command 'gq}' when your cursor is at the start of 
a paragraph you are replying to and when you are in command mode, to 
rewrap that paragraph using your configured preferences for vim. It even 
is kind enough to properly indent  characters for you.


As an alternative, 'gqG' will reindent the entire email.

I hope this helps.

Kind regards,

Remco


signature.asc
Description: Digital signature


Re: Wrapping non-wrapped e-mail when replying

2011-04-27 Thread Trey Sizemore
On Wed Apr 27, 2011 06:22PM, Remco Rijnders wrote:
 On Wed, Apr 27, 2011 at 10:59:04AM -0400, Trey Sizemore wrote:
 I'd like to find out how to wrap long lines in e-mails that I'm replying
 to.  My mutt is setup to automatically wrap lines when I compose,
 but I'd like to be able to also lap long lines in e-mails when I
 reply.
 
 I have googled and see that with Vim as the editor, 'gq' is likely what
 I want, but reading the help on this I'm still not sure how to
 invoke/use it.
 
 Ideally, it would be nice to have the lines in the original e-mail
 that are too long to automatically be wrapped in the reply when I
 hit 'r'.
 
 Hi Trey,
 
 Assuming you are using vim as your editor of choice, when composing
 a reply, you can issue the command 'gq}' when your cursor is at the
 start of a paragraph you are replying to and when you are in command
 mode, to rewrap that paragraph using your configured preferences for
 vim. It even is kind enough to properly indent  characters for you.
 
 As an alternative, 'gqG' will reindent the entire email.
 
 I hope this helps.
 
 Kind regards,
 
 Remco

Thanks Remco!  That works perfectly!

-- 
Cheers,
Trey

 
The beauty of the soul shines out when a man bears 
with composure one heavy mischance after another, 
not because he does not feel them, but because
he is a man of high and heroic temper. 
 --Aristotle
 
Darwin tbook-2.local 10.7.0 i386
12:37  up 4 days, 22:06, 4 users, load averages: 0.83 0.62 0.54


Re: Wrapping non-wrapped e-mail when replying

2011-04-27 Thread Marco Giusti
On Wed, Apr 27, 2011 at 10:59:04AM -0400, Trey Sizemore wrote:
 I'd like to find out how to wrap long lines in e-mails that I'm replying
 to.  My mutt is setup to automatically wrap lines when I compose, but
 I'd like to be able to also lap long lines in e-mails when I reply.
 
 I have googled and see that with Vim as the editor, 'gq' is likely what
 I want, but reading the help on this I'm still not sure how to
 invoke/use it.

Take a try with this line. First reply to this email, move the cursor to this 
line an press consecutively Vgq. V select the whole line while gq wraps it.

 Ideally, it would be nice to have the lines in the original e-mail that
 are too long to automatically be wrapped in the reply when I hit 'r'.

I don't think it is hard to do this. Just tell vim to select the whole
file and wrap at startup.

m.


Re: Wrapping non-wrapped e-mail when replying

2011-04-27 Thread Tim Gray

On Apr 27, 2011 at 07:07 PM +0200, Marco Giusti wrote:
Take a try with this line. First reply to this email, move the cursor 
to this line an press consecutively Vgq. V select the whole line while 
gq wraps it.


`gqq` also wraps the currently selected line.  Might be faster than 
`Vgq`, though the latter is certainly useful when you want to select 
several lines.


Furthermore, if you use the mail vim script [1], you get some other 
useful mail related macros to use.  I think it is included with newer 
versions of vim automatically.


[1]: http://www.vim.org/scripts/script.php?script_id=813


Focus or something

2011-04-27 Thread David Woodfall

Ok I'm just going to throw this into the mix.

I have 4 terms tiled on my main desktop. I can tab between them and
that's great. I can see which is in focus because cursor changes from
an empty outline to block.

Now the crux. I have mutt open in one term but I don't know if it's in
focus or not. The cursor doesn't change with focus at all.

The question is, is there some way of getting mutt/screen/term to show
whether it's in focus or not?

Large amounts of gratitude to anyone who can solve this.

PS: I'm using urxvt in fluxbox with no deco.

Cheers

Dave

--
Don't look back, the lemmings are gaining on you.


pgpRIs5Z80gH9.pgp
Description: PGP signature


Re: Focus or something

2011-04-27 Thread David Woodfall

On (15:46 27/04/11), Chip Camden sterl...@camdensoftware.com put forth the 
proposition:

Quoth David Woodfall on Wednesday, 27 April 2011:

Ok I'm just going to throw this into the mix.

I have 4 terms tiled on my main desktop. I can tab between them and
that's great. I can see which is in focus because cursor changes from
an empty outline to block.

Now the crux. I have mutt open in one term but I don't know if it's in
focus or not. The cursor doesn't change with focus at all.

The question is, is there some way of getting mutt/screen/term to show
whether it's in focus or not?

Large amounts of gratitude to anyone who can solve this.

PS: I'm using urxvt in fluxbox with no deco.

Cheers

Dave

--
Don't look back, the lemmings are gaining on you.



Don't know if this will help you, but I use urxvt's fade option so the
term that has focus is always brightest.

man urxvt | less +/fade


Thanks you! That works great.

Cheers
Dave


--
Don't look back, the lemmings are gaining on you.


pgpbEaGwCeqAl.pgp
Description: PGP signature