> Presently commenting of single lines in C-Mode and
> others per default uses multiline comment signs as
> shown below

> /* Example code */

> Seems no way to change this via  customization, also after changing
> comment-style-Var to `plain' or `aligned', same result.

> Better default would be

> // Example code

> in the case, there is just a single line to comment.

Hmmmm.... I've seen guidelines which distiguish between comments that are on
their own line (for which they may use /*...*/) vs comments that are the end
of code line (for which they'd use //...).  But I've never heard of any
coding guidelines which distinguish between comments that span a single line
vs comments that span multiple lines.

So I'm not convinced it's worth the trouble.

> Suggest to change the default from region-transient-mark-mode-requiring to
> an line-oriented behavior, which respects region per default if
> transient-mark-mode is on.

The default of what?  You mean you want to change comment-region so that it
also works when no region is selected (and comments the current line
instead)?


        Stefan


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to