all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John Wiegley <jwiegley@gmail.com>
To: Alex Harsanyi <alexharsanyi@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: smart indentation for SQL files
Date: Mon, 21 Dec 2015 21:39:22 -0800	[thread overview]
Message-ID: <m2zix3vy7p.fsf@newartisans.com> (raw)
In-Reply-To: <CAH-ciFogkPiOkTfX17iUmNRd6ECnTfCTWnimXFDK-jQ35CNzNg@mail.gmail.com> (Alex Harsanyi's message of "Mon, 21 Dec 2015 19:42:18 +0800")

>>>>> Alex Harsanyi <alexharsanyi@gmail.com> 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	other threads:[~2015-12-22  5:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-21 11:42 smart indentation for SQL files Alex Harsanyi
2015-12-22  5:39 ` John Wiegley [this message]
2015-12-23 12:27   ` Alex Harsanyi
2015-12-23 17:35     ` John Wiegley
  -- strict thread matches above, loose matches on Subject: below --
2017-05-03  9:12 Alex Harsanyi
2017-05-03 21:32 ` Stefan Monnier
2017-05-04 10:15   ` Alex Harsanyi
2017-05-04  0:55 ` Clément Pit-Claudel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2zix3vy7p.fsf@newartisans.com \
    --to=jwiegley@gmail.com \
    --cc=alexharsanyi@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.