Re: ispell with vim

2011-05-16 Thread Elimar Riesebieter
* Robert Holtzman [110516 16:03 -0700]:
> On Mon, May 16, 2011 at 09:40:20AM +0200, steve wrote:
> > Hi,
> > 
> > Le 16-05-2011, à 00:17:36 -0700, Robert Holtzman (hol...@cox.net) a écrit :
> > 
> > > BTW, how do you add words to the Vim spell checker? Running a search
> > > turned up nothing of value.
> > 
> > zg
> > 
> > with the word under the cursor (in normal mode).
> > 
> > See  :h zg
> 
> That's what I was looking for and couldn't turn up in a search. Thanks.

:help search

Elimar

-- 
  >what IMHO then?
  IMHO - Inhalation of a Multi-leafed Herbal Opiate ;)
  --posting from alex in debian-user--


Re: ispell with vim

2011-05-16 Thread Robert Holtzman
On Mon, May 16, 2011 at 09:40:11AM +0200, Jostein Berntsen wrote:
> On 16.05.11,00:17, Robert Holtzman wrote:

 .snip.
> > 
> > BTW, how do you add words to the Vim spell checker? Running a search
> > turned up nothing of value.
> > 
> 
> If you have this setting in your .muttrc you can just do "i" in the 
> compose view to spellcheck your mail:
> 
> set ispell="/usr/bin/ispell

Unfortunately my (Ubuntu's) version of Mutt seems to have been compiled
without ispell capability. From "mutt -v": -ISPELL. Not having enough
background in compiling programs, I'll just stick to this in vimrc. 

map  :setlocal spell spelllang=en_us
map  :setlocal nospell

> 
> For spell checking in vim see:
> 
> http://vimdoc.sourceforge.net/htmldoc/spell.html

Great link. Thanks.

-- 
Bob Holtzman
Key ID: 8D549279
"If you think you're getting free lunch,
 check the price of the beer"


signature.asc
Description: Digital signature


Re: ispell with vim

2011-05-16 Thread Robert Holtzman
On Mon, May 16, 2011 at 09:40:20AM +0200, steve wrote:
> Hi,
> 
> Le 16-05-2011, à 00:17:36 -0700, Robert Holtzman (hol...@cox.net) a écrit :
> 
> > BTW, how do you add words to the Vim spell checker? Running a search
> > turned up nothing of value.
> 
> zg
> 
> with the word under the cursor (in normal mode).
> 
> See  :h zg

That's what I was looking for and couldn't turn up in a search. Thanks.

-- 
Bob Holtzman
Key ID: 8D549279
"If you think you're getting free lunch,
 check the price of the beer"


signature.asc
Description: Digital signature


Re: Quirks using format:fixed

2011-05-16 Thread Richard
On Sun, May 15, 2011 at 11:57:19AM -0400, Tim Gray wrote:
> On May 15, 2011 at 02:51 PM +0200, Richard wrote:
> >I was wondering if anyone has a script to convert normal mail messages
> >to format flowed stuff and back? Could be used as an editor wrapper script
> >instead of trying to reimplement the functionality in every editor.
> 
> I did something like this a couple years ago using Python.  I was
> using BBEdit as my editor for mutt.  Now I'm using vim so I haven't
> been using the script.  However, I can post it online if someone is
> interested.  Most of the heavy lifting was done with the textwrap
> module.

thanks, I would be surely interested to see it and don't mind playing
with python.

Richard

---
Name and OpenPGP keys available from pgp key servers



Re: Old mail vs New Mail

2011-05-16 Thread Monte Stevens
On Mon, May 16, 2011 at 09:40:26AM +0200, Sander Smeenk wrote:
> Hi,
> 
> I want to use my mobile device to access my mail through IMAP, but doing
> so marks all messages 'O'ld in mutt. This in itself is not a problem,
> but the mailboxes also lose their new-mail indicating 'N' in Mutt's
> mailbox overview. It would be cool if Mutt would display 'O' instead.
> 
> How does mutt-users@ cope with this?
> 
> It seems this is being worked on, as i found this page online:
> http://dev.mutt.org/trac/wiki/NewMailHandling

You can play around with mail_check_recent and mark_old to see if
there is a combination that works well for you.

-- 
Monte


Old mail vs New Mail

2011-05-16 Thread Sander Smeenk
Hi,

I want to use my mobile device to access my mail through IMAP, but doing
so marks all messages 'O'ld in mutt. This in itself is not a problem,
but the mailboxes also lose their new-mail indicating 'N' in Mutt's
mailbox overview. It would be cool if Mutt would display 'O' instead.

How does mutt-users@ cope with this?

It seems this is being worked on, as i found this page online:
http://dev.mutt.org/trac/wiki/NewMailHandling

Thanks,
-Sander.
-- 
| Women can keep a secret just as well as men, but it takes more of them to do 
it.
| 4096R/20CC6CD2 - 6D40 1A20 B9AA 87D4 84C7  FBD6 F3A9 9442 20CC 6CD2


how to sort mails with score and then received-date

2011-05-16 Thread chris M. sprite
How to set sort and sort_aux to let mails sorted by score, then sort with 
received-date, "reverse" or "last" can be added if it is needed. 

-- 
[ *chris* ]
I try to detoxify my memory. 
Forgotten is not a disappointment.
Give me a hug for my life. 


priority of send-hooks and folder-hooks

2011-05-16 Thread Thorsten Scherf

I did some signature configuration based on folder-hooks and send-hooks.
As default send-hook, I've choosen a specific signature that changes
based on different recipient addresses. I now want to change the
signature also based on specific holders, but it looks like the config I
did for send-hooks has preference over the folder-hook config. Is there
any way to change this behaviour?

Cheers,
Thorsten



smime.p7s
Description: S/MIME cryptographic signature


Re: ispell with vim

2011-05-16 Thread steve
Hi,

Le 16-05-2011, à 00:17:36 -0700, Robert Holtzman (hol...@cox.net) a écrit :

> BTW, how do you add words to the Vim spell checker? Running a search
> turned up nothing of value.

zg

with the word under the cursor (in normal mode).

See  :h zg

Have a nice day,
Steve


Re: ispell with vim

2011-05-16 Thread Jostein Berntsen
On 16.05.11,00:17, Robert Holtzman wrote:
> On Sun, May 15, 2011 at 09:28:48PM -0400, Tim Gray wrote:
> > On May 15, 2011 at 05:30 PM -0700, Robert Holtzman wrote:
> > >Mutt is compiled with ispell. The documentation I found only talks about
> > >it's use with emacs. Being a confirmed vi/vim user, I'm somewhat at a
> > >loss. I'm primarily interested, at this point, in adding words to the
> > >list. Any pointers appreciated.
> > 
> > I don't use ispell but I do use vim.  Vim 7.3 has a spell checker
> > built in, and it's easy to add words to it too.  Might be worth
> > checking out.
> 
> That's what I use now but would rather use aspell or in a pinch ispell.
> Not sure if that's possible for a noncoder.
> 
> BTW, how do you add words to the Vim spell checker? Running a search
> turned up nothing of value.
> 

If you have this setting in your .muttrc you can just do "i" in the 
compose view to spellcheck your mail:

set ispell="/usr/bin/ispell"

For spell checking in vim see:

http://vimdoc.sourceforge.net/htmldoc/spell.html


Jostein




Re: ispell with vim

2011-05-16 Thread Robert Holtzman
On Sun, May 15, 2011 at 09:28:48PM -0400, Tim Gray wrote:
> On May 15, 2011 at 05:30 PM -0700, Robert Holtzman wrote:
> >Mutt is compiled with ispell. The documentation I found only talks about
> >it's use with emacs. Being a confirmed vi/vim user, I'm somewhat at a
> >loss. I'm primarily interested, at this point, in adding words to the
> >list. Any pointers appreciated.
> 
> I don't use ispell but I do use vim.  Vim 7.3 has a spell checker
> built in, and it's easy to add words to it too.  Might be worth
> checking out.

That's what I use now but would rather use aspell or in a pinch ispell.
Not sure if that's possible for a noncoder.

BTW, how do you add words to the Vim spell checker? Running a search
turned up nothing of value.

-- 
Bob Holtzman
Key ID: 8D549279
"If you think you're getting free lunch,
 check the price of the beer"


signature.asc
Description: Digital signature