[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.
- Re: emacs: indent automatically on c, c++, php comments, (continued)
- Re: emacs: indent automatically on c, c++, php comments, Alan Mackenzie, 2003/09/06
- Re: emacs: indent automatically on c, c++, php comments, Alex Braumann, 2003/09/13
- Re: emacs: indent automatically on c, c++, php comments, Alan Mackenzie, 2003/09/13
- Re: emacs: indent automatically on c, c++, php comments, Alex Braumann, 2003/09/13
- Re: emacs: indent automatically on c, c++, php comments, Alan Mackenzie, 2003/09/13
- Re: emacs: indent automatically on c, c++, php comments, Alex Braumann, 2003/09/14
- Re: emacs: indent automatically on c, c++, php comments, Stefan Monnier, 2003/09/15
- Re: emacs: indent automatically on c, c++, php comments, Alex Braumann, 2003/09/15
- Re: emacs: indent automatically on c, c++, php comments, Stefan Monnier, 2003/09/15
- Re: emacs: indent automatically on c, c++, php comments, Alan Mackenzie, 2003/09/17
- Re: emacs: indent automatically on c, c++, php comments,
Alex Braumann <=