* auto 'new-line' in C++ lines too long
@ 2009-01-22 19:15 Rodrigo Canellas
0 siblings, 0 replies; only message in thread
From: Rodrigo Canellas @ 2009-01-22 19:15 UTC (permalink / raw
To: help-gnu-emacs
Hi,
I have defined '(c-max-one-liner-length 80), but I do not know how to make 'emacs' insert a 'new-line' char when a C++ line is more than 80 chars long, like this:
void
tedious::
g ( ) {
for ( m = 0, g = 12; m < 12, g > 0; ++m, --g ) {
if ( some_very_long_function_name_is_called ( m, g, a_very_big_var_name ) ) {
I mean, I would like a 'new-line' char to be inserted before the 'a_very_big_var_name', so the code looks like this:
void
tedious::
g ( ) {
for ( m = 0, g = 12; m < 12, g > 0; ++m, --g ) {
if ( some_very_long_function_name_is_called ( m, g,
a_very_big_var_name ) ) {
Thanks a lot!
--
Rodrigo Canellas
Software Developer
Digital TV Products
+55 21 3147-3000/8675
rodrigo.canellas@tqtvd.com
www.tqtvd.com
TQTVD Software
--
Rodrigo Canellas
Software Developer
Digital TV Products
+55 21 3147-3000/8675
rodrigo.canellas@tqtvd.com
www.tqtvd.com
TQTVD Software
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-22 19:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-22 19:15 auto 'new-line' in C++ lines too long Rodrigo Canellas
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.