all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* indenting SQL in php_mode
@ 2008-12-07 19:45 Frank Thieme
  2008-12-08  5:57 ` Ian Eure
       [not found] ` <mailman.2196.1228715850.26697.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 9+ messages in thread
From: Frank Thieme @ 2008-12-07 19:45 UTC (permalink / raw)
  To: help-gnu-emacs

Hi!

After years I'm back on Emacs. At the moment I'm writing a PHP/Mysql
project and wonder how I can get some indentation on the SQL statements
within PHP code.

When I write function calls like

foo($bar,
    $foobar);

I can indent pressing <Tab> key. But when I do same for SQL just nothing
happens:

$query = "SELECT foo
FROM bar
WHERE foobar"

I have to manually indent...

any hints?

Bye...Frank



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-12-09  0:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-07 19:45 indenting SQL in php_mode Frank Thieme
2008-12-08  5:57 ` Ian Eure
     [not found] ` <mailman.2196.1228715850.26697.help-gnu-emacs@gnu.org>
2008-12-08 11:08   ` Frank Thieme
2008-12-08 13:32     ` Lennart Borgman
     [not found]     ` <mailman.2226.1228743177.26697.help-gnu-emacs@gnu.org>
2008-12-08 14:01       ` Frank Thieme
2008-12-08 16:27         ` Lennart Borgman
2008-12-08 17:38           ` Ian Eure
2008-12-09  0:10             ` Lennart Borgman
     [not found]         ` <mailman.2236.1228753665.26697.help-gnu-emacs@gnu.org>
2008-12-08 17:38           ` Frank Thieme

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.