word wrap of quotes

2011-12-12 Thread Patrick Shanahan

I know that I can set line wrapping at a particular line length or a value
less that the display line length, but both of these disreguard quote
indicators and make viewing/reading quotes very sloppy.  Is there a method
to intelligently wrap quoted material?

tks,
-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  HOG # US1244711
http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2
http://en.opensuse.org   openSUSE Community Member
Registered Linux User #207535@ http://linuxcounter.net


Re: word wrap of quotes

2011-12-12 Thread Michael Graham
On Mon, Dec 12, 2011 at 17:52, Patrick Shanahan wrote:

 I know that I can set line wrapping at a particular line length or a value 
 less that the display line length, but both of these disreguard quote 
 indicators and make viewing/reading quotes very sloppy.  Is there a method to 
 intelligently wrap quoted material?

Do you mean when composing, or when viewing?  Nano does a good job of wrapping 
intelligently when quoting material, even several layers deep, but that’s only 
during composition of the message.

-- 
 __ __ __
/ /_  ___ _/ /__ _/ / _  __
   /  '_/ _ \/ __/ _ `/ / _ `/ __/ _ \ |/ /Raconteur, Mostly
  /_/\_\\___/_/  \_,_/_/\_,_/\__/\___/___/ http://koralatov.com/



Re: word wrap of quotes

2011-12-12 Thread Patrick Shanahan
* Michael Graham mich...@skky.org [12-12-11 14:28]:
 On Mon, Dec 12, 2011 at 17:52, Patrick Shanahan wrote:
 
  I know that I can set line wrapping at a particular line length or a
  value less that the display line length, but both of these disreguard
  quote indicators and make viewing/reading quotes very sloppy.  Is
  there a method to intelligently wrap quoted material?
 
 Do you mean when composing, or when viewing?  Nano does a good job of
 wrapping intelligently when quoting material, even several layers deep,
 but that’s only during composition of the message.

viewing, joe/jed do a fine job of formatting quoted mat'l.

btw, your post is *not* wrapped.  Please wrap a = 78 chars.
-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  HOG # US1244711
http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2
http://en.opensuse.org   openSUSE Community Member
Registered Linux User #207535@ http://linuxcounter.net


Re: Word Wrap

2001-05-30 Thread Suresh Ramasubramanian


Mr. Wade [mutt-users] 29/05/01 23:32 -0400: 
 I use vim also.  Mine will do the word wrap, as you describe, but
 the adding of new quote marks... how do you accomplish that?
 
 If there's a single quotemark at the start of a long line and you wrap it, the
 entire paragraph is wrapped.

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin



Re: Word Wrap

2001-05-30 Thread Mr. Wade

Suresh Ramasubramanian wrote:
 
 Mr. Wade [mutt-users] 29/05/01 23:32 -0400: 
  I use vim also.  Mine will do the word wrap, as you describe, but
  the adding of new quote marks... how do you accomplish that?
  
  If there's a single quotemark at the start of a long line and
  you wrap it, the entire paragraph is wrapped.

Ah, I see.  Thanks very much.  After a bit of RTFM-ing I
dicovered I had been using the default vim formatoptions of
tcq, which doesn't behave in the way described.  Adding an r,
i.e.  set fo=tcrq solved the problem.  That's much more
conveninent than what I had before!

-- 
Linux: The Choice of the GNU Generation





Re: Word Wrap

2001-05-21 Thread darren chamberlain

Larry Hignight ([EMAIL PROTECTED]) said something to this effect on 05/18/2001:
 I'm not sure how I missed this in the Mutt manual and some online tutorials,
 but I have some people on another mail list complaining that my email isn't
 wrapping properly.  I am using vim as my editor.  Which needs to be configured
 to setup wrapping at 72?  Is it in one of the vim files or the .muttrc?

set fo=trcq fo == formatoptions
set ft=mail ft == filetype
set tw=72   tw == textwidth

use :help to describe these. Setting ft=mail will also (I
believe) set fo to the right options.

(darren)

-- 
Any technology indistinguishable from magic is insufficiently advanced.



Re: Word Wrap

2001-05-21 Thread John P. Verel

My .vimrc has just this line for this problem:
set textwidth=72
On 05/21/01, 08:04:36AM -0400, darren chamberlain wrote:
 Larry Hignight ([EMAIL PROTECTED]) said something to this effect on 05/18/2001:
  I'm not sure how I missed this in the Mutt manual and some online tutorials,
  but I have some people on another mail list complaining that my email isn't
  wrapping properly.  I am using vim as my editor.  Which needs to be configured
  to setup wrapping at 72?  Is it in one of the vim files or the .muttrc?
 
 set fo=trcq fo == formatoptions
 set ft=mail ft == filetype
 set tw=72   tw == textwidth
 
 use :help to describe these. Setting ft=mail will also (I
 believe) set fo to the right options.
 
 (darren)
 
 -- 
 Any technology indistinguishable from magic is insufficiently advanced.

-- 
John P. Verel
Norwalk, CT



Re: Word Wrap

2001-05-21 Thread Suresh Ramasubramanian

John P. Verel [mutt-users] Mon, May 21, 2001 at 04:22:09PM -0400: 
 My .vimrc has just this line for this problem:
 set textwidth=72

I use

set editor=/usr/bin/vim +':set textwidth=77' +':set wrap' +\`awk'/^$/ {print i+2; 
exit} {i++}' %s\` %s

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin  



Re: Word Wrap

2001-05-21 Thread John P. Verel

As a variation on the vim invocation, I use this:
set editor =vim +/^$
This puts me at the first blank line of the composition screen.
John
On 05/22/01, 07:23:43AM +0530, Suresh Ramasubramanian wrote:
 I use
 
 set editor=/usr/bin/vim +':set textwidth=77' +':set wrap' +\`awk'/^$/ {print i+2; 
exit} {i++}' %s\` %s
 
 -- 
 Suresh Ramasubramanian + Wallopus Malletus Indigenensis
 mallet @ cluestick.org + Lumber Cartel of India, tinlcI
 EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin  

-- 
John P. Verel
Norwalk, CT



Re: Word Wrap

2001-05-19 Thread Thomas Ribbrock

On Fri, May 18, 2001 at 05:41:13PM -0400, Mr. Wade wrote:
 Larry Hignight wrote:
  I'm not sure how I missed this in the Mutt manual and some online
  tutorials, but I have some people on another mail list complaining
  that my email isn't wrapping properly.  I am using vim as my
  editor.  Which needs to be configured to setup wrapping at 72?  Is
  it in one of the vim files or the .muttrc?
 
 Either, actually!  Since you can specify it on the command line,
 you could use something like this in your ~/.muttrc file:
 
 set editor='vim -c set tw=72'

With vim, this can also be done automatically by vim itself. I have
this in my .vimrc:

 set the textwidth to 70 characters for replies (emailusenet)
au BufRead .letter,mutt*,nn.*,snd.* set tw=70

Works nicely.

Cheerio,

Thomas
-- 
-
Thomas Ribbrock   http://mutt.linuxatwork.at (mutt RPMs)
  http://www.bigfoot.com/~kaytanICQ#: 15839919
   You have to live on the edge of reality - to make your dreams come true!



Word Wrap

2001-05-18 Thread Larry Hignight

I'm not sure how I missed this in the Mutt manual and some online tutorials,
but I have some people on another mail list complaining that my email isn't
wrapping properly.  I am using vim as my editor.  Which needs to be configured
to setup wrapping at 72?  Is it in one of the vim files or the .muttrc?

TIA,

Larry

(ps ... I manually inserted the line breaks)
-- 
Larry HignightPowered by Caldera OpenLinux 2.4
--
  1:02pm  up 21 days,  2:01,  7 users,  load average: 1.15, 1.16, 0.83
--



Re: Word Wrap

2001-05-18 Thread Mr. Wade

Larry Hignight wrote:
 I'm not sure how I missed this in the Mutt manual and some online tutorials,
 but I have some people on another mail list complaining that my email isn't
 wrapping properly.  I am using vim as my editor.  Which needs to be configured
 to setup wrapping at 72?  Is it in one of the vim files or the .muttrc?

Either, actually!  Since you can specify it on the command line,
you could use something like this in your ~/.muttrc file:

set editor='vim -c set tw=72'

There are many other things that you could also specify, but this
is the one you mentioned, so...

Good luck!  =o)

-- Mr. Wade

-- 
Linux: The Choice of the GNU Generation





Re: Word-wrap when printing and quoting

2001-03-05 Thread David

Dirk Laurie wrote:
 The problem is this: by the time vim gets control, the quote sign ""
 has already been prepended to the line.  I want the line-break algorithm
 to do its thing before the "" sign gets prepended.

There's an example of commands to put in your vimrc file that will
automatically reformat lines in emails.  It wraps lines with quotes and
stuff.

For me it was /usr/share/doc/vim/examples/mail

-- 
Don't tell me I'm burning the candle at both ends -- tell me where to
get more wax!!
-
Fingerprint :  869B 53DD 5E80 E1F0 93F6  9871 0508 0296 5957 F723
David Clarke [EMAIL PROTECTED] || [EMAIL PROTECTED]

 PGP signature


Re: Word-wrap when printing and quoting

2001-02-28 Thread Jürgen Salk

Dirk Laurie wrote:

 signs to show that a line break was made by the viewer.  However, when
printing or quoting (in a reply) these convenient line breaks are
 gone, and the result looks terrible.  Can I persuade mutt to use the
viewer-formatted version instead of the original when printing or
 quoting?

If you edit your mails with vim, you can easily reformat the quoted lines by
the "gq{motion}" command. E.g. "gqj" will format the current 
line and places the cursor in the next line. Then proceed with the "."
command. Or just type "gqG" which will reformat every line until the end. 

Yes, I have intentionally used overlength lines, such that you can check it
out. Have fun. ;-)

Best regards - Juergen


-- 
Sent through GMX FreeMail - http://www.gmx.net




Re: Word-wrap when printing and quoting

2001-02-28 Thread Jürgen Salk

Jrgen Salk wrote:

 Yes, I have intentionally used overlength lines, such
 that you can check it out. Have fun.

Ahem, this bloody damned web interface, I'm using right 
now, seems to have it's own idea of breaking lines. :-)

Regards - Juergen.


-- 
Sent through GMX FreeMail - http://www.gmx.net




Re: Word-wrap when printing and quoting

2001-02-28 Thread Jason Helfman

how do you do this 

On Wed, Feb 28, 2001 at 08:02:11AM +0100, Suresh Ramasubramanian muttered:
| *[Dirk Laurie on Wed, Feb 28, 2001 at 08:52:14AM +0200]:
| 
|  signs to show that a line break was made by the viewer.  However, when
|  printing or quoting (in a reply) these convenient line breaks are
|  gone, and the result looks terrible.  Can I persuade mutt to use the
|  viewer-formatted version instead of the original when printing or
|  quoting?
|  
|  Set your print command to be piped through fmt so you can set a text width.
| 
|   -s

-- 
/Jason G Helfman

"At any given moment, you may find the ticket to the circus that has always
been in your possession."

Fingerprint: 6A32 3774 E390 33B5 8C96  2AA1 2BF4 BD71 35A1 C149
GnuPG http://www.gnupg.org  Get Private!  1024D/35A1C149



Re: Word-wrap when printing and quoting

2001-02-28 Thread Thomas E. Dickey

On Wed, 28 Feb 2001, Dirk Laurie wrote:

 Jrgen Salk skryf:
  Dirk Laurie wrote:
  
   signs to show that a line break was made by the viewer.  However, when
  printing or quoting (in a reply) these convenient line breaks are
   gone, and the result looks terrible.  Can I persuade mutt to use the
  viewer-formatted version instead of the original when printing or
   quoting?
  
  If you edit your mails with vim, you can easily reformat the quoted lines by
  the "gq{motion}" command. E.g. "gqj" will format the current 
  line and places the cursor in the next line. Then proceed with the "."
  command. Or just type "gqG" which will reformat every line until the end. 
  
 The problem is this: by the time vim gets control, the quote sign ""
 has already been prepended to the line.  I want the line-break algorithm
 to do its thing before the "" sign gets prepended.

vim (and vile, which I use) can reformat the quoted line.

-- 
T.E.Dickey [EMAIL PROTECTED]
http://dickey.his.com
ftp://dickey.his.com




Re: Word-wrap when printing and quoting

2001-02-28 Thread Jürgen Salk

Dirk Laurie wrote:

 The problem is this: by the time vim gets control, the quote sign ""
 has already been prepended to the line.  I want the line-break algorithm
 to do its thing before the "" sign gets prepended.

I understand quite exactly what you want.

Just try this "gqG" thing with vim and you'll see, that it 
will automagically prepend the quoting signs in front of 
each reformatted line as needed.

Best regards - Juergen.


-- 
Sent through GMX FreeMail - http://www.gmx.net




Re: Word-wrap when printing and quoting

2001-02-28 Thread Michael P. Soulier

On Wed, Feb 28, 2001 at 08:52:14AM +0200, Dirk Laurie wrote:
 Some of my correspondents use a mail composition system that does not
 break long lines into screen-width lines.  I dare not complain for they
 will then send me HTML or Word versions.  The mutt viewer handles the
 long lines nicely, breaking at word boundaries and putting in cyan plus 
 signs to show that a line break was made by the viewer.  However, when
 printing or quoting (in a reply) these convenient line breaks are
 gone, and the result looks terrible.  Can I persuade mutt to use the
 viewer-formatted version instead of the original when printing or
 quoting?

Personally I use Vim as my editor, so I use gq on the message to rejustify
it in a reply. That won't help for printing though. 

Many at my workplace use M$ Lookout! too...

Mike

-- 
Michael P. Soulier [EMAIL PROTECTED]
"With sufficient thrust, pigs fly just fine. However, this is not necessarily a good 
idea. It is hard to be sure where they are going to land, and it could be  dangerous 
sitting under them as they fly overhead." -- RFC 1925



Re: Word-wrap when printing and quoting

2001-02-28 Thread Ken Weingold

On Wed, Feb 28, 2001, Jrgen Salk wrote:
 If you edit your mails with vim, you can easily reformat the quoted
 lines by the "gq{motion}" command. E.g. "gqj" will format the
 current line and places the cursor in the next line. Then proceed
 with the "." command. Or just type "gqG" which will reformat every
 line until the end. 

Yeah, one of my favorite and most used functions of vim for email.  I
would be lost without it.  Q} is one of my most used keystroke combos.
I still keep the old (?) use of Q instead of gq.

Btw, I reformatted your extra long lines. ;-)


-Ken

-- 
[EMAIL PROTECTED]AIM: ScopusFest



Re: Word-wrap when printing and quoting

2001-02-28 Thread David Champion

On 2001.02.28, in [EMAIL PROTECTED],
"Dirk Laurie" [EMAIL PROTECTED] wrote:
  
 The problem is this: by the time vim gets control, the quote sign ""
 has already been prepended to the line.  I want the line-break algorithm
 to do its thing before the "" sign gets prepended.

The problem is also that this is another weird vim-ism.

Try using "par q" to reformat your lines.  You can set up a macro for
this.  I've used
map v mz{j0!}par 72gh^M'z
(^M is really control-m.)

Par is available from
http://www.cs.berkeley.edu/~amc/Par/

if you don't already have it.  It's like "fmt", but holy cow.

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago



Re: Word-wrap when printing and quoting

2001-02-28 Thread rex

On Wed, Feb 28, 2001 at 10:49:03AM -0600, David Champion wrote:
 On 2001.02.28, in [EMAIL PROTECTED],
   "Dirk Laurie" [EMAIL PROTECTED] wrote:
   
  The problem is this: by the time vim gets control, the quote sign ""
  has already been prepended to the line.  
 
 Try using "par q" to reformat your lines.  You can set up a macro for
 this.  
 
   http://www.cs.berkeley.edu/~amc/Par/
 
 if you don't already have it.  It's like "fmt", but holy cow.

Par is indeed a powerful formatting tool. 

Jed is a very good editor that has a mail_mode that does smart
formatting of quoted paragraphs. No more "" characters in the
middle of lines.

http://space.mit.edu/~davis/jed/




Re: Word-wrap when printing and quoting

2001-02-28 Thread Justin R. Miller

Try this:  

set editor="vim -c 'set tw=72 comments=nb:'"

-Justin

Thus spake Dirk Laurie ([EMAIL PROTECTED]):

 J?rgen Salk skryf:
  Dirk Laurie wrote:
  
   signs to show that a line break was made by the viewer.  However, when
  printing or quoting (in a reply) these convenient line breaks are
   gone, and the result looks terrible.  Can I persuade mutt to use the
  viewer-formatted version instead of the original when printing or
   quoting?
  
  If you edit your mails with vim, you can easily reformat the quoted lines by
  the "gq{motion}" command. E.g. "gqj" will format the current 
  line and places the cursor in the next line. Then proceed with the "."
  command. Or just type "gqG" which will reformat every line until the end. 
  
 The problem is this: by the time vim gets control, the quote sign ""
 has already been prepended to the line.  I want the line-break algorithm
 to do its thing before the "" sign gets prepended.
 
 Dirk
 



Re: Word-wrap when printing and quoting

2001-02-28 Thread Joe Philipps

On Wed, Feb 28, 2001 at 09:57:33AM -0800, [EMAIL PROTECTED] wrote:
Jed is a very good editor that has a mail_mode that does smart
formatting of quoted paragraphs. No more "" characters in the
middle of lines.

I've always been a big fan of GNUEmacs, and text mode has "" quoting
reformatting capability too.  The only hitch I've found is that when
you use the fill-* family of functions, at least w/ the version of
editor and Lisp libraries I have, you need a "\n\n\n" at the end of
each paragraph.

an exmple
paragraph; it needs to be
like this


and so goes more text here.

-- 
Oo---o, Oo---o, O-weem-oh-wum-ooo-ayyy
In the jungle, the silicon jungle, the process sleeps tonight.
Joe Philipps [EMAIL PROTECTED], http://www.philippsfamily.org/Joe/
public PGP/GPG key 0xFA029353 available via http://www.keyserver.net

 PGP signature


Word-wrap when printing and quoting

2001-02-27 Thread Dirk Laurie

Some of my correspondents use a mail composition system that does not
break long lines into screen-width lines.  I dare not complain for they
will then send me HTML or Word versions.  The mutt viewer handles the
long lines nicely, breaking at word boundaries and putting in cyan plus 
signs to show that a line break was made by the viewer.  However, when
printing or quoting (in a reply) these convenient line breaks are
gone, and the result looks terrible.  Can I persuade mutt to use the
viewer-formatted version instead of the original when printing or
quoting?

Dirk




Re: Word-wrap when printing and quoting

2001-02-27 Thread Suresh Ramasubramanian

*[Dirk Laurie on Wed, Feb 28, 2001 at 08:52:14AM +0200]:

 signs to show that a line break was made by the viewer.  However, when
 printing or quoting (in a reply) these convenient line breaks are
 gone, and the result looks terrible.  Can I persuade mutt to use the
 viewer-formatted version instead of the original when printing or
 quoting?
 
 Set your print command to be piped through fmt so you can set a text width.

-s



Re: [jcm@dogma.freebsd-uk.eu.org: word wrap]

2000-03-11 Thread Mikko Hänninen

J McKitrick [EMAIL PROTECTED] wrote on Sat, 11 Mar 2000:
 started using xterm with a smaller font, so more words fit per line.  I
 got complaints about my word wrap.

I'm not surprised, with the line length in your emails.

 I have word
 wrap margin set to 10 in vi, but that isn't helping, i guess.  Is there
 a better way?

You need to set wrapping at about 72 or 75 chars from the *left* margin,
not at 10 chars from the right, when it's dependent on the current
screen width.  How to do this depends on which program you're using
(there's a lot of vi clones, so saying "vi" isn't specific enough).


Regards,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
ST, DS9: FRofA #1: Once you have their money ... never give it back.



Re: [jcm@dogma.freebsd-uk.eu.org: word wrap]

2000-03-11 Thread J McKitrick

Well, here on my shell account i use the original vi.  On my machine i use vim.
So, which margin settings can i use?
-- 
-jm



Re: [jcm@dogma.freebsd-uk.eu.org: word wrap]

2000-03-11 Thread Matt Hortman

On Sat, Mar 11, 2000 at 02:04:56PM +, J McKitrick wrote:
 Well, here on my shell account i use the original vi.  On my machine i use vim.
 So, which margin settings can i use?
 -- 
 -jm

I use vim and I have to following in my .vimrc

:set tw=70CR
:map F10 gqap

This will cause vim to insert a newline (as you type) between words so
that the line is not longer than 70 characters.  This only applies,
however, when the cursor is at the end of the line.  IOW, if you stop
typing and go back up a line to insert more text, vim is not going to
automatically reformat the entire paragraph for you.  That's why I
mapped F10 to the command to reformat a paragraph.

-Matt



Re: [jcm@dogma.freebsd-uk.eu.org: word wrap]

2000-03-11 Thread Hall Stevenson

* Matt Hortman ([EMAIL PROTECTED]) [000311 11:30]:
 
 :set tw=70CR
 :map F10 gqap
 
 This will cause vim to insert a newline (as you type) between words so
 that the line is not longer than 70 characters.  This only applies,
 however, when the cursor is at the end of the line.  IOW, if you stop
 typing and go back up a line to insert more text, vim is not going to
 automatically reformat the entire paragraph for you.  That's why I
 mapped F10 to the command to reformat a paragraph.

Damn, you get such useful information from reading these messages ! ;-)

Thank you for that setting. It worked great !

Regards,
Hall Stevenson



word wrap

2000-03-11 Thread j mckitrick

i realize this is a bit off subject because it is somewhat of an editor problem, but 
it applies to mutt as well.  I
started using xterm with a smaller font, so more words fit per line.  I got complaints 
about my word wrap.  I have word
wrap margin set to 10 in vi, but that isn't helping, i guess.  Is there a better way?
-- 
-jm



Re: [jcm@dogma.freebsd-uk.eu.org: word wrap]

2000-03-11 Thread Christian R Molls

* J McKitrick [EMAIL PROTECTED] [000311 18:00]:

 On my machine i use vim.

I have this line in my .vimrc, which sets textwidth only for mail
editing in mutt:

au BufNewFile,BufRead /tmp/mutt* set tw=70

-- 
christian molls
student of laws
univ of cologne



Re: word wrap

2000-03-11 Thread Fairlight

On Sat, Mar 11, 2000 at 12:30:28PM -0600, Ben Beuchler thus spoke:
 On Sat, Mar 11, 2000 at 04:50:02AM +, j mckitrick wrote:
 
 In vi:
 
 :set textwidth=74
 

:set wrapmargin=75
-- 
Fairlight-   |||[EMAIL PROTECTED]  | Fairlight Consulting
  __/\__  ||| "I'm talking for free...   | http://www.fairlite.com
  |||   It's a New Religion..."  | [EMAIL PROTECTED]
\/||| PGP Public Key available via finger @iglou, or Key servers



Re: word wrap

2000-03-11 Thread Ben Beuchler

On Sat, Mar 11, 2000 at 04:50:02AM +, j mckitrick wrote:

In vi:

:set textwidth=74

 i realize this is a bit off subject because it is somewhat of an editor problem, but 
it applies to mutt as well.  I
 started using xterm with a smaller font, so more words fit per line.  I got 
complaints about my word wrap.  I have word
 wrap margin set to 10 in vi, but that isn't helping, i guess.  Is there a better way?
 -- 
 -jm

-- 
"There is no spoon"
-- The Matrix



Re: word wrap

2000-03-11 Thread Gary Johnson

On Sat, Mar 11, 2000 at 04:50:02AM +, j mckitrick wrote:
 i realize this is a bit off subject because it is somewhat of an
 editor problem, but it applies to mutt as well.  I started using xterm
 with a smaller font, so more words fit per line.  I got complaints
 about my word wrap.  I have word wrap margin set to 10 in vi, but that
 isn't helping, i guess.  Is there a better way?

What you want to achieve is a line length of something less than 80
characters--72 is often recommended--in your outgoing mail.  If you are
using 'vim', then you can do this by setting textwidth to 72 ("set
tw=72").  If you are actually using 'vi', then you will need to set
wrapmargin to the width of your xterm window minus 72.

You'll also need to watch your line lengths as you edit your text.  The
textwidth or wrapmargin settings alone won't do that automatically.
'vim' has a built-in formatting command (gq) that does that.  With 'vi',
you can use an external command such as 'fmt'.  The 'vim' "gq" command
also handles text quoted with a leading "", so I was able to reformat
your paragraph above by simply typing "gqip".

-- 
Gary Johnson | Agilent Technologies
[EMAIL PROTECTED] | RF Communications Product Generation Unit
 | Spokane, Washington, USA



[jcm@dogma.freebsd-uk.eu.org: word wrap]

2000-03-10 Thread J McKitrick

Subject: word wrap

i realize this is a bit off subject because it is somewhat of an editor problem, but 
it applies to mutt as well.  I
started using xterm with a smaller font, so more words fit per line.  I got complaints 
about my word wrap.  I have word
wrap margin set to 10 in vi, but that isn't helping, i guess.  Is there a better way?
-- 
-jm

- End forwarded message -

-- 
-jm