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: Lennart Borgman
Subject: Re: indenting SQL in php_mode
Date: Mon, 8 Dec 2008 14:32:50 +0100

On Mon, Dec 8, 2008 at 12:08 PM, Frank Thieme <fthieme@gmx.net> wrote:
> 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.

Could you please show me some examples of how sql in php look? (Delimiters etc.)




reply via email to

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