[Users] External editor?

blind Pete peter_s_d at fastmail.com.au
Mon Nov 10 07:24:50 CET 2014


On Sun, 9 Nov 2014 09:37:15 -0800
Ian Zimmerman <itz at buug.org> wrote:

> On Sun, 9 Nov 2014 18:54:26 +1100,
> blind Pete <peter_s_d at fastmail.com.au> wrote:
> 
> Pete> So, the drop down list should contain the lines; 
> 
> > gvim "+set syntax=mail" '%s'
> > emacs mode:claws-external %s
> > xemacs mode:claws-external %s
> 
> No.  Emacs is not a clone of vi.  

I noticed.  Rumour says that emacs has a good audio interface, but I'm
hesitant to learn a whole new operating system (emacs) for it.  

> It doesn't support passing the mode
> on the command line in the same way.  That's what I was trying to say
> with my post.
> 
> The closest analogue would be something like
> 
> emacs --file %s --funcall claws-external-mode

Could you make a one liner using --execute or --eval ?  

> but there are complications, particularly when one uses the emacs
> server.  That's why I prefer the local variables trick instead.

Can you set a variable with something like, 
"set emacs.mode=email; emacs %s"?  
That would probably be very dependant on which shell was involved.  

> Besides, claws-external-mode is something I wrote and haven't shared
> with anyone (yet).
> 
> In summary, I don't think this is something that should be preset by
> Claws.  There are too many different users, editors, and options.

It would be a reasonable assumption that files from CM are emails.  

-- 
testing
bP
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20141110/70bc639c/attachment.sig>


More information about the Users mailing list