Emacs & PINE -- "perfect together." [Don't hurt me!]

Steven W. Orr steveo at syslang.net
Wed Jan 11 09:51:01 EST 2006


On Wednesday, Jan 11th 2006 at 01:30 -0500, quoth Ken D'Ambrosio:

=>A sad, sad truth that I've come to accept is that I have PINE's keystrokes
=>emblazoned in my memory.  I use it at least once a year, whether I need to
=>or not, and I never even have to pause.  They keystrokes are just THERE.
=>I tried MUTT.  No dice.  Never was a big ELM fan.  And GUIs are certainly
=>nice, but sometimes text based is the way to fly.
=>
=>Ironically, however, I really hate PICO.
=>
=>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.

I have this in my emacs init

(add-to-list 'auto-mode-alist '("\\.txt\\'\\|^/tmp/pico" . text-mode))

Combine this with using emacsclient by adding this to your init

(server-start)

And then just tell pine to use emacsclient. BTW, emacslient is the way to 
go. I have an emacs initialization that's over 200K and the machines are 
getting faster but on my last box with Athlon 1600's it took a couple of 
seconds. emacsclient is instantaneous.


-- 
Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net



More information about the gnhlug-discuss mailing list