all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: simenheg@gmail.com
Cc: Michael Mauger <michael@mauger.com>,
	Alex Harsanyi <alexharsanyi@gmail.com>,
	pierre.techoueyres@free.fr, emacs-devel@gnu.org
Subject: Re: syntax based indentation for SQL files (ELPA package proposal)
Date: Tue, 11 Sep 2018 08:16:23 -0400	[thread overview]
Message-ID: <jwv4lewkz9o.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <808t48ny4y.fsf@gmail.com> (simenheg@gmail.com's message of "Tue,  11 Sep 2018 12:09:49 +0200")

>> I believe the default behavior should be to enable automatic
>> indentation.  We can provide some way for the user to disable it, of
>> course (actually, I think it would make sense to offer a generic minor
>> mode which provides "dumb" indentation in any major mode).
> I'm happy to see that sql-indent was added to ELPA last year, but I
> agree with Stefan that it would be even better if SQL mode offered
> automatic indentation by default, like major modes usually do.
>
> I could make an attempt to integrate it with SQL mode, with an option to
> turn it off, if there is interest for it?

The main prerequisite for that would be to move sql-indent from elpa.git
to emacs.git.  I think it's a good idea to bring sql.el and
sql-indent.el closer to each other (an alternative would be to move
sql.el to elpa.git, but that's probably not gonna fly), but it's rather
a question for Alex, Michael, and Emacs's maintainers.


        Stefan



  reply	other threads:[~2018-09-11 12:16 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-06  2:42 syntax based indentation for SQL files (ELPA package proposal) Alex Harsanyi
2017-08-06  4:05 ` Stefan Monnier
2017-08-06  6:35   ` Steinar Bang
2017-08-06 13:30   ` Alex Harsanyi
2017-08-06 17:54     ` Stefan Monnier
     [not found]       ` <j3XyL-aaKw13ov6PDSlK6YTLNYM6WwKGtS-OW5wgKzI9C4QQ1lDjHvosCxVSOEbqEaQOThHg4DKnPLVJO9ogqg==@protonmail.com>
2017-08-14  9:51         ` Stefan Monnier
2017-08-14 20:47           ` John Wiegley
2018-09-11 10:09       ` simenheg
2018-09-11 12:16         ` Stefan Monnier [this message]
2018-09-16  1:11           ` Michael Mauger
2018-09-16 21:30             ` Stefan Monnier
2018-10-01 12:56               ` Michael Mauger
2018-10-01 18:24                 ` Stefan Monnier
2018-10-01 22:31                 ` Andy Moreton
2018-10-02 12:57                   ` Stefan Monnier
2018-10-02 13:48                     ` Andy Moreton
2018-10-02 14:24                       ` Van L
2018-10-02 16:07                       ` Stefan Monnier
2018-10-02 13:49                     ` Thomas Fitzsimmons

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=jwv4lewkz9o.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=alexharsanyi@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=michael@mauger.com \
    --cc=pierre.techoueyres@free.fr \
    --cc=simenheg@gmail.com \
    /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.