all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Michael Mauger <mmauger@protonmail.com>
Cc: Michael Mauger <michael@mauger.com>,
	Alex Harsanyi <alexharsanyi@gmail.com>,
	"pierre.techoueyres@free.fr" <pierre.techoueyres@free.fr>,
	"simenheg@gmail.com" <simenheg@gmail.com>,
	"emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Re: syntax based indentation for SQL files (ELPA package proposal)
Date: Mon, 01 Oct 2018 14:24:54 -0400	[thread overview]
Message-ID: <jwvlg7httki.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <mVZ2LoSXINHamLlKAon39WtehwpgUhzKOB99tN3LuYSmAFPK52mnrQlwvFP0F8tAsnGLDTkhJfyvvH6WBpcs9g==@protonmail.com> (Michael Mauger's message of "Mon, 01 Oct 2018 12:56:22 +0000")

> Alex, you may want to look into making a change to sql-indent to make
> sure users who have enabled indent mode previously by calling the
> minor mode or setup function may end up toggling off indent mode
> because sql.el has already turned on.

I don't understand what you mean by that.

Calling (sql-indent-mode) (or adding it to sql-mode-hook) will never turn
the mode off: you'd have to call sql-indent-mode interactively or pass
it an explicit -1 argument to turn it off.


        Stefan



  reply	other threads:[~2018-10-01 18:24 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
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 [this message]
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=jwvlg7httki.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=alexharsanyi@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=michael@mauger.com \
    --cc=mmauger@protonmail.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.