[ESS] Easy argument list: r-autoyas

Sven Hartenstein lists at svenhartenstein.de
Sun Mar 13 14:16:38 CET 2011


Hi Ista,

thank you for the feedback!

> I do have a sort of feature request though; support for nested
> function calls.

Yes, that would definitely be nice. I just tried, but failed. I am
guessing it should be possible by somehow replacing the use of
yas/exit-all-snippets, but both my lisp knowledge and understanding of
yasnippet's snippet organisation are far too limited. Anyone else?

(I put it on the "limitations" list on my website.)

> I would also like to bind a function to exit the snippet to the ")"
> key.

Maybe just this:?

(define-key ess-mode-map (kbd ")")
  '(lambda ()(interactive)
     (yas/abort-snippet)))


Sven



More information about the ESS-help mailing list