Re: Any good mbox-Maildir conversion tool?

2001-12-25 Thread Nicolas Rachinsky
On Tue, Dec 25, 2001 at 01:34:23AM -0500, Philip Mak [EMAIL PROTECTED] wrote: Is there a way I can do this from the command line, though? I need to automate a lot of mailbox conversions... See the push command in the manual (and perhaps -e in the manpage) Nicolas

Perfect mbox to Maildir converter

2001-12-25 Thread Philip Mak
I wrote an mbox to Maildir script that I think is better than the other alternatives out there, assuming that the mbox uses Status: RO and X-Status: ADF headers to keep track of message flags (pine, mutt, and I think UW-IMAP do this). The main design goals of this script are Simplicity and

Good vim configuration?

2001-12-25 Thread Philip Mak
I'm used to using pine's editor, which handles filling of paragraphs (even if they start with due to quoting) fairly nicely. How can I achieve the same thing in vi? I'd like to be able to bind a key such that when I press it, it automatically refills the current paragraph smartly. Some

Re: Good vim configuration?

2001-12-25 Thread Gerhard Häring
Le 25/12/01 à 06:33, Philip Mak écrivit: I'm used to using pine's editor, which handles filling of paragraphs (even if they start with due to quoting) fairly nicely. How can I achieve the same thing in vi? I'd like to be able to bind a key such that when I press it, it automatically

Re: Good vim configuration?

2001-12-25 Thread Rob 'Feztaa' Park
On Tue, Dec 25, 2001 at 06:33:15AM -0500, Philip Mak (dis)graced my inbox with: I'm used to using pine's editor, which handles filling of paragraphs (even if they start with due to quoting) fairly nicely. How can I achieve the same thing in vi? I'd like to be able to bind a key such that

Re: Good vim configuration?

2001-12-25 Thread Thomas Hurst
* Philip Mak ([EMAIL PROTECTED]) wrote: How can I achieve the same thing in vi? I'd like to be able to bind a key such that when I press it, it automatically refills the current paragraph smartly. Some automatic line wrapping would be nice, too... I'm wondering what configurations for .vimrc

Re: Good vim configuration?

2001-12-25 Thread Philip Mak
I did some digging around Google and came up with this: [pmak@lina pmak]$ cat .muttvimrc map C-J {gq} # Ctrl+J rejustifies current paragraph set formatoptions=tcroqv# see :help formatoptions set comments=nb: # rejustify quoted text correctly set tw=75

Re: Good vim configuration?

2001-12-25 Thread Thomas Dickey
On Tue, Dec 25, 2001 at 12:14:19PM +, Thomas Hurst wrote: * Philip Mak ([EMAIL PROTECTED]) wrote: How can I achieve the same thing in vi? I'd like to be able to bind a key such that when I press it, it automatically refills the current paragraph smartly. Some automatic line wrapping

Re: Good vim configuration?

2001-12-25 Thread David T-G
Philip -- ...and then Philip Mak said... % % I'm used to using pine's editor, which handles filling of paragraphs (even % if they start with due to quoting) fairly nicely. % % How can I achieve the same thing in vi? I'd like to be able to bind a key % such that when I press it, it

Re: Good vim configuration?

2001-12-25 Thread David T-G
Rob -- ...and then Feztaa said... % % On Tue, Dec 25, 2001 at 06:33:15AM -0500, Philip Mak (dis)graced my inbox with: % I'm used to using pine's editor, which handles filling of paragraphs (even % if they start with due to quoting) fairly nicely. % % How can I achieve the same thing in

Re: Good vim configuration?

2001-12-25 Thread David T-G
Philip -- ...and then David T-G said... % % ...and then Philip Mak said... % % % % smartly. Some automatic line wrapping would be nice, too... I'm wondering Oh, yeah. There're both tw (text width) and wm (wrap margin); both have their advantages. % HTH HAND % % % Merry Christmas to all!

BBDB - abook?

2001-12-25 Thread Samuel Padgett
Does anyone know of a tool to import records from the Insidious Big Brother Database into abook, or am I condemned to do it by hand (my penance for using an Emacs-specific address book)? Thanks! Sam [who apologizes if this is off-topic for this forum]

Re: BBDB - abook?

2001-12-25 Thread Jelmer Vernooij
Does anyone know of a tool to import records from the Insidious Big Brother Database into abook, or am I condemned to do it by hand (my penance for using an Emacs-specific address book)? Try using the lbdb, which has support for bbdb. I've forgot the URL. jelmer -- Jelmer Vernooij [EMAIL

Re: Using Maildirs, messages have 0 lines

2001-12-25 Thread Russell Hoover
On Tue 12/25/01 at 02:18 AM -0500, Philip Mak [EMAIL PROTECTED] wrote: I think this is the easiest solution to the Maildir lines problem, assuming that the user doesn't mind seeing bytes instead. But if you do want to see the number of lines rather than bytes, put this in your .procmailrc :

Re: Good vim configuration?

2001-12-25 Thread Joel Hammer
You can do anything you want to your docment with shell commands. eg. :1,5 !fmt will close up lines 1 to 5. or: !}fmt will do the same to the next paragraph break (blank line). info fmt will show you some options. You could write a very short script to do just want you want and bind it to a key.

mutt doesn't correctly handle badly formated quoted-printable encoded-words

2001-12-25 Thread Alexander Skwar
Hi! Using mutt 1.3.24i. Some MUAs (like PostMe or Jubii mailer (Mime.MMail, ver: 2,4,0,15) used by Lycos), produce badly formated quoted-printable encoded words in the header fields. For example, Jubii mailer sent me this mail (only copying relevant headers):

Re: Sending Messages Takes A Long Time

2001-12-25 Thread Kelly Scroggins
Quoting Nicolas Rachinsky [EMAIL PROTECTED]: On Mon, Dec 24, 2001 at 06:24:30PM -0600, Kelly Scroggins [EMAIL PROTECTED] wrote: I was speaking with someone else about this. They asked me to run this command mailq -v. When I did, the machine takes about 1 to 2 minutes.

Re: Good vim configuration?

2001-12-25 Thread Philip Mak
I tinkered around a bit more and came up with this code for making Ctrl+J (justify paragraph) work, even with quoted text. It assumes that ^[ ]*$ is the paragraph separator, meaning that any line which is blank or only contains '' and ' ' separates a paragraph. Here is the full code for making

Mutt can not cooperate with mozilla

2001-12-25 Thread Charles Jie
In my .mailcap: text/html; mozilla -remote openurl\(file:%s\) always fails because %s is expanded as '' The quotes are the problem because they mix up in the URL. Could we work around it? (avoid having the 's) thanks, charlie

Re: Mutt can not cooperate with mozilla

2001-12-25 Thread Philip Mak
On Wed, 26 Dec 2001, Charles Jie wrote: In my .mailcap: text/html; mozilla -remote openurl\(file:%s\) always fails because %s is expanded as '' The quotes are the problem because they mix up in the URL. How about this? text/html; mozilla -remote openurl\(file:`echo %s |

View HTML files when running mutt through SSH

2001-12-25 Thread Philip Mak
I had an interesting little idea on how to view HTML files on my desktop web browser, even though I'm running mutt through SSH! I put this in my .mailcap: text/html; opera %s opera is a simple perl script to rename the attachment to a value that is guaranteed to be unique (time_pid.html),