jed-users mailing list

[2008 Date Index] [2008 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: Using JED with Pine MUA


Hi!

> I have my Pine mail client set up to use an external editor as follows:

I've been using Jed with Pine for quite some time on some of the
machines where I read mail, I am using
http://www.does-not-exist.org/roessler/flower.sl and
http://www.does-not-exist.org/roessler/mail_mode.sl, and a wrapper
script to call Jed as follows:

  #!/bin/sh
  jed "$1" -l ~/skel/jed/flower.sl -f 'flower_mode();'

(my jed scripts are in ~/skel/jed)

I have this coupled with enabling enable-alternate-editor-cmd and
enable-alternate-editor-implicitly and it generally works well. I did
change flower.sl not to add extra indentation for lines starting with
blanks, though (this is against a version of the URL above downloaded
serveral years ago, so it might no longer apply):

--- flower.sl	11 Aug 2004 12:09:51 -0000	1.1
+++ flower.sl	26 Aug 2004 06:28:09 -0000	1.2
@@ -72,7 +72,7 @@
   }
   {
     case ' ':
-    if (((flower_prev() == 'm') and (flower_state() == 4)) or bolp())
+    if ((flower_prev() == 'm') and (flower_state() == 4))
       flower_set_state (5);
     else
       flower_set_state (0);

-- 
\\// Peter - http://www.softwolves.pp.se/

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2008 date index] [2008 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]