<<< Date Index >>>     <<< Thread Index >>>

Re: searching or wrapping input fields



On Fri, Jun 27, 2008 at 04:57:20PM +0100, Anton Shterenlikht wrote:
> On Fri, Jun 27, 2008 at 11:14:46AM -0400, Patrick Shanahan wrote:
> > * Anton Shterenlikht <mexas@xxxxxxxxxxxxx> [06-27-08 10:39]:
> > > On Fri, Jun 27, 2008 at 10:22:41AM -0400, Patrick Shanahan wrote:
> > > > 
> > > > if your terminal program is utilizing emacs keystrokes, <meta-f> or
> > > > <alt-f> will go forward one word (white space delimited) and <meta-b>
> > > > or <alt-b> will go backward one word.  Maybe this will help.
> > > 
> > > Patrick, yes, I know about this facility. It is in section 2.2 Editing
> > > Input Fields. On my system it's ESC/B and ESC/F to move backwards and
> > > forwards one word respectively. This is good, but it would be better
> > > to be able to view the whole list at once, or to be able to search within
> > > the list.
> > 
> > other options, set wordwrap in your editor.  I use jed with mail-mode,
> > but I know that joe also has wordwrap.  I see the entire list with
> > headers enabled in my editor.  
> > 
> > Not on the text entry line at the bottom of the mutt screen, but after
> > <enter> the To/Cc/Bcc lists are all wrapped.  I believe that this (not
> > the bottom line) is controlled via .muttrc,
> >   set wrapcolumn=-6
> 
> I use vi, and words do wrap in the editor, though
> not in the input fields.
> 
> When I <enter> the To/Cc/Bcc long list,
> it  is cut at the terminal edge, not wrapped.
> 
> The "wrapcolumn" is not recognised by my mutt:
> 
> % mutt
> Error in /home/mexas/.muttrc, line 3: wrapcolumn: unknown variable
> source: errors in /home/mexas/.muttrc
> Press any key to continue...
> %
> 
> and it doesn't appear in the manual either:
> 
> 6.3. Configuration Variables
> 
> [skip]
>   6.3.234. weed
> 
>   6.3.235. wrap_search
> [skip]
> 
> 
> I should probably add mutt -v:
> %mutt -v
> Mutt 1.4.2.3i (2007-05-26)
> Copyright (C) 1996-2002 Michael R. Elkins and others.
> Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
> Mutt is free software, and you are welcome to redistribute it
> under certain conditions; type `mutt -vv' for details.
> 
> System: FreeBSD 7.0-STABLE (i386) [using ncurses 5.6]
> Compile options:
> -DOMAIN
> -DEBUG
> -HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  
> -USE_FCNTL  +USE_FLOCK
> +USE_POP  +USE_IMAP  +USE_GSS  +USE_SSL  -USE_SASL  
> +HAVE_REGCOMP  -USE_GNU_REGEX  +COMPRESSED  
> +HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET  
> +HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM  
> +HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT  
> +ENABLE_NLS  -LOCALES_HACK  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET  
> +HAVE_LANGINFO_YESEXPR  
> +HAVE_ICONV  -ICONV_NONTRANS  +HAVE_GETSID  +HAVE_GETADDRINFO  
> -ISPELL
> SENDMAIL="/usr/sbin/sendmail"
> MAILPATH="/var/mail"
> PKGDATADIR="/usr/local/share/mutt"
> SYSCONFDIR="/usr/local/etc"
> EXECSHELL="/bin/sh"
> -MIXMASTER
> To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
> To report a bug, please use the flea(1) utility.
> 
> vvv.initials
> 1.3.28.nr.threadcomplete
> rr.compressed
> 

Patrick,

writecolumn doesn't seem to appear in mutt-devel (1.5.18) either.
There is "wrap", which is the substitute for the deprecated "wrapmargin".
I put "set wrapmargin = -5" in my mutt-stable (1.4.2.3),
but see no difference. The To/Cc/Bcc fields after <enter> are still
not wrapped, but cut at the right edge of the terminal.

many thanks
anton
 
-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423