emacs-devel
[Top][All Lists]
Advanced

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

Re: Some problems in `add-log-current-defun'


From: Masatake YAMATO
Subject: Re: Some problems in `add-log-current-defun'
Date: Sat, 30 Dec 2006 13:55:40 +0900 (JST)

>     >     void ssort(void * base, size_t n, size_t sz, CFT cmp)
>     >     /*
>     >         Sort the "n" elements of vector "base" into increasing order
>     >         using the comparison function pointed to by "cmp".
>     >         The elements are of size "sz".
>     > 
>     >         Shell sort (Knuth, Vol3, pg84)
>     >     */
>     >     {
>     >         /* ...  */
>     >     }
>     > 
>     > That seems like common usage -- not weird.  It would be nice to handle
>     > that usage correctly.  However, if we have never handled it in the
>     > past, I think it is not urgent to fix it now.
>     > 
>     > Masatake YAMATO <address@hidden> thinks that code is badly formatted.
>     > Masatake, why do you think so?
> 
>     Just because I have never seen such a comment style.
> 
> 
> The comment looks ordinary to me.  It starts with /* at the start of a
> line, and ends with */ on a separate line.
> 
> Do you mean the POSITION of the comment is unusual?

Yes. A comment put between a function signature( void ssort(void * base, size_t 
n, size_t sz, CFT cmp) )
and its body is unusual for me.

Masatake YAMATO




reply via email to

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