help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Disabling redundant asterisks in doxygen comments


From: mwnn
Subject: Disabling redundant asterisks in doxygen comments
Date: Sun, 02 Aug 2009 11:21:55 +0530
User-agent: Thunderbird 2.0.0.22 (X11/20090605)

Hi,
Emacs adds asterisks for every new line in a doxygen comment as shown below:
/**
*   @file vertical_histogram.c
*
*  @brief Program to print a graphical histogram that depicts the number
*  of characters found in the input. The input is classified as
*  1. Digits.
*  2. Whitspaces.
*  3. Others
*
*  Logic:
*  1. The character inputted by the user is classified.
*  2. The variable that holds the count for that group of characters
*     is incremented.
*  3. Stop taking input on EOF.
*  4. Print the histogram.
*/

The way i would prefer it would be:
/**
   @file vertical_histogram.c
@brief Program to print a graphical histogram that depicts the number
   of characters found in the input. The input is classified as
   1. Digits.
   2. Whitspaces.
   3. Others

   Logic:
   1. The character inputted by the user is classified.
   2. The variable that holds the count for that group of characters
       is incremented.
   3. Stop taking input on EOF.
   4. Print the histogram.
*/

.... with each new line indented by a tab.

What should i add to my .emacs file so that i can accomplish this?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]