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

[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


reply via email to

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