Hi all.
I've seen in the tarball that a quantlib.el is shipped. For those of you who use Emacs, could you say how is your .emacs, especially the parts about loading quantlib.el and defining the keybindings, with ql-new-header, say ? By the way, do you use autocompletion features in Emacs and how do you get it up and running with Quantlib if yes ? |
On Tue, 2008-11-11 at 07:50 -0800, 1sy8 wrote:
> Hi all. > > I've seen in the tarball that a quantlib.el is shipped. For those of you who > use Emacs, could you say how is your .emacs, especially the parts about > loading quantlib.el and defining the keybindings, with ql-new-header, say ? A long time ago, I had written (load "quantlib") (global-set-key [f9] 'ql-new-header) (global-set-key [f10] 'ql-new-source) but I admit I never use the bindings. Loading the file highlights a few types in the source, though. > By the way, do you use autocompletion features in Emacs and how do you get > it up and running with Quantlib if yes ? I just use M-/ to complete, which just looks for similar words in the open buffers (i.e., no autocompletion like, say, IntelliSense) but it good enough for me. Also, in case you want to jump to the definition of a class, M-. will work if you run 'make tags' and add something like (setq tags-table-list (cons "/path/to/QuantLib/TAGS" tags-table-list))) to your .emacs (you'll have to replace /path/to/QuantLib with the correct one, of course.) Luigi -- Everything that can be invented has been invented. -- Charles Duell, Director of U.S. Patent Office, 1899 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
Thanks for all these tips. So you just copy and paste the header when you start a new file ? Regards |
On Thu, 2008-11-13 at 11:32 -0800, 1sy8 wrote:
> Thanks for all these tips. So you just copy and paste the header when you > start a new file ? Yes. Luigi -- If I do not want others to quote me, I do not speak. -- Phil Wayne ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
Free forum by Nabble | Edit this page |