[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: indenting SQL in php_mode
From: |
Frank Thieme |
Subject: |
Re: indenting SQL in php_mode |
Date: |
Mon, 08 Dec 2008 12:08:16 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) |
On Mo 08 Dez 2008 06:57, Ian Eure <ian@digg.com> writes:
> There's no easy solution, unfortunately. I think the only thing you
> can do is et up MMM or MuMaMo so those regions are sql-mode instead of
> php-mode, and use sql-indent.el.
>
> I've never had the patience to get either of those working, so I just
> align it by hand in the source, or edit the query in a *SQL* buffer,
> then dump it into the source in a here document.
Mmh, I know what you mean. I think it would be sufficient if indentation
is like in text-mode, but somehow this seems to be disabled.
Bye...Frank
- indenting SQL in php_mode, Frank Thieme, 2008/12/07
- Re: indenting SQL in php_mode, Ian Eure, 2008/12/08
- Message not available
- Re: indenting SQL in php_mode,
Frank Thieme <=
- Re: indenting SQL in php_mode, Lennart Borgman, 2008/12/08
- Message not available
- Re: indenting SQL in php_mode, Frank Thieme, 2008/12/08
- Re: indenting SQL in php_mode, Lennart Borgman, 2008/12/08
- Re: indenting SQL in php_mode, Ian Eure, 2008/12/08
- Re: indenting SQL in php_mode, Lennart Borgman, 2008/12/08
- Message not available
- Re: indenting SQL in php_mode, Frank Thieme, 2008/12/08