Hi!

I have added a sample .emacs configuration file to the OpenSAF wiki. It 
sets the correct formatting style (Linux style for C code, and Google 
style for C++ code). It also has the following useful settings:

* Selected text is deleted when inserting new text (same behaviour as is 
common in most other editors)
* Fill column is set to 80 (instead of the default 70). This is useful 
for formatting large comments in the code using the fill-paragraph 
command (bound to the key M-q)
* Newline is automatically added to the end of a file when saving, if 
needed.
* Matching parentheses are highlighted.
* Trailing whitespace at the end of lines is made visible

You can find the sample .emacs configuration here:

https://sourceforge.net/p/opensaf/wiki/configuration-emacs/

regards,
Anders Widell


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to