Emacs & PINE -- "perfect together." [Don't hurt me!]
Jeff Kinz
jkinz at kinz.org
Wed Jan 11 09:02:00 EST 2006
On Wed, Jan 11, 2006 at 01:30:50AM -0500, Ken D'Ambrosio wrote:
> So I've set up Emacs as my default editor. Nice. But the one problem I
> have is that I'd really like to have Emacs do column-77 wordwrap if -- and
> only if -- it's invoked from PINE. I have zilch idea how to invoke this
> from the command line, and don't know enough about Emacs (I dabble, I don't
> "use") to do it any of the other ways.
>
> Suggestions on which approach? I've Googled, to no avail, but I know that
> there are some Emacs die-hards out there, and would be glad to follow their
> sagacious advice.
set your pine editor to "pineedit" which would be a shell script like this:
#!/bin/sh
touch $1
chmod 600 $1
exec emacsclient <options for text wrapping> $1
Where emacsclient is whatever form of emacs invocation you need for
your environment, like are you in X-windows? Do you want Xemacs or do
you want an xterm with emacs running in it.. etc...
--
Jeff Kinz, Emergent Research, Hudson, MA.
speech recognition software may have been used to create this e-mail
"The greatest dangers to liberty lurk in insidious encroachment by men
of zeal, well-meaning but without understanding." - Brandeis
To think contrary to one's era is heroism. But to speak against it is
madness. -- Eugene Ionesco
More information about the gnhlug-discuss
mailing list