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

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

Re: emacs: indent automatically on c, c++, php comments


From: Alex Braumann
Subject: Re: emacs: indent automatically on c, c++, php comments
Date: Thu, 18 Sep 2003 07:44:53 GMT
User-agent: Pan/0.13.4 (She had eyes like strange sins.)

On Wed, 17 Sep 2003 13:42:30 +0000, Alan Mackenzie wrote:

>
> 
> (defun my-php-setup-hook ()
>   (setq c-comment-only-line-offset '(30 . 30))
>   (c-set-offset 'comment-intro 'c-lineup-comment))
> (add-hook 'php-mode-user-hook 'my-php-setup-hook)
> 
> I think it does what you want.

It doens't - not for me! :). IMHO, php-mode depends on c++-mode, because
my c++-mode has the same problem with comments.

c-mode produces: /*  */

yes, that's the way it is.

alex.


reply via email to

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