[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: smart indentation for SQL files

From: John Wiegley
Subject: Re: smart indentation for SQL files
Date: Mon, 21 Dec 2015 21:39:22 -0800
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (darwin)

>>>>> Alex Harsanyi <address@hidden> writes:

> The code is similar to cc-mode, in that it separates the "parsing" of the
> SQL code from the indentation and the indentation rules can be modified by
> the user to conform to local indentaiton guidelines or preferences.

> I think this code would be a nice addition to sql.el.

Hi Alex,

In the interests of expedience, would you mind starting out this module under
the name "sql-indent.el", and committing it to ELPA? It will not make it into
25.1 in any case, since no more features are being accepted there. But within
ELPA, users may still find it after installation.

Once your code is ready there, we can talk later about integrating it directly
into sql.el, or making it more accessible some other way (such as tarball ELPA
with a suitable autoload).

John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2

reply via email to

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