jed-users mailing list

[2002 Date Index] [2002 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

cmode custom_variable C_Autoinsert_CPP_Comments


Dear JEDders,

In investigating a Debian "bug report", I've come across the following.  It
seems that the custom variable in cmode.sl C_Autoinsert_CPP_Comments is not
completely honoured.

If I set it to zero in my .jedrc (variable C_Autoinsert_CPP_Comments = 0),
JED still automatically adds "//" to the beginning of newlines if the
previous line had something after the initial "//" (e.g. // hello).  If the
previous line had only "//", the beginning of the new line doesn't have "//"
automatically prepended.  With C_Autoinsert_CPP_Comments, it automatically
prepends a "//" the new line even if the previous line only had "//" with
nothing after.

Is this the intention with C_Autoinsert_CPP_Comments?  Shouldn't
C_Autoinsert_CPP_Comments = 1 mean that "//" should NEVER be automatically
prepended?

Thanks,
Charl

-- 
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2002 date index] [2002 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]