Emacs & PINE -- "perfect together." [Don't hurt me!]
Bruce Dawson
jbd at codemeta.com
Wed Jan 11 09:11:01 EST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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.
First, switch to the buffer you want to word-wrap at column 77. Then
do the following commands.
M-X auto-fill-mode
^U77M-Xset-fill-column
If you mean by "from the command line", that you want something to
feed to emacs on the bash command line (vs. the Emacs internal command
line), then *I* would use the following on the emacs command line:
- --eval="(progn(auto-fill-mode)(set-fill-column 77))" outgoing.txt
But it doesn't appear to work. Anyone have any ideas? (I suspect the
'eval' is done before the file is visited, but I'm not sure.)
- --Bruce
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDxRG4/TBScWXa5IgRAl5DAKDBWWU1sltEpeDHU2DmiBAmtxz0FgCgqfY+
Y/6DD2Vg91RHNhhHzWVU2Dc=
=r9vn
-----END PGP SIGNATURE-----
More information about the gnhlug-discuss
mailing list