From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alex Harsanyi Newsgroups: gmane.emacs.devel Subject: Re: smart indentation for SQL files Date: Thu, 4 May 2017 18:15:18 +0800 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1493892925 24490 195.159.176.226 (4 May 2017 10:15:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 4 May 2017 10:15:25 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 04 12:15:22 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6Dn8-0006Gh-0H for ged-emacs-devel@m.gmane.org; Thu, 04 May 2017 12:15:22 +0200 Original-Received: from localhost ([::1]:40870 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d6DnB-0004ld-Uj for ged-emacs-devel@m.gmane.org; Thu, 04 May 2017 06:15:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d6Dn6-0004lN-E1 for emacs-devel@gnu.org; Thu, 04 May 2017 06:15:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d6Dn5-0003UC-H5 for emacs-devel@gnu.org; Thu, 04 May 2017 06:15:20 -0400 Original-Received: from mail-it0-x22d.google.com ([2607:f8b0:4001:c0b::22d]:38300) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d6Dn5-0003U2-Aw for emacs-devel@gnu.org; Thu, 04 May 2017 06:15:19 -0400 Original-Received: by mail-it0-x22d.google.com with SMTP id e65so6060807ita.1 for ; Thu, 04 May 2017 03:15:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=IwITj7jyxG+3JHAwpFkFtzvli4tmVsO23SjU+GmkYEs=; b=Bi+y69e8Exb4yTjmlo+nKqxL0du4BA0MVkGxvoY4f7aMEgwYn/+l/CozyJj9MlPR01 RSbHti1og1wBEZILhcTyBxWcfn28tgLYKftB5oYbTKudrQElP/mQ7IGQPehn4xLhP1LS XS7yumrdROtAtwO4Ts7NNYKxh/jTeSV4t8HXiYqBRrSyHRpBf/H9oAUGozcuukc6Smww VtVolMsuW0Hd3Eg0bFr8gedE3Z+x4IS3DauJjl9SgDZUoHz4QX5rQSKFzAgst1dGRTPT Bmzv96RuKNlzQrf3TZYq2LGCSWnY9/6UpWnQLU7K7+ExI3D3fO5zc8qO39bYBoQB4OBB 31ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=IwITj7jyxG+3JHAwpFkFtzvli4tmVsO23SjU+GmkYEs=; b=NYN+ZLWoFyrV69QmWGKMD6Z89zFtV3+YTZW1xiq19Rdf+9xIvoqyNwwpgFzDDbhFsS d9OKitwel7VStaB6N/shnMkz5Mf6N3zWQri2EQFaQsKG9kHwAdrl2tEcs4/F9U9q9YGN GBMyXNbvxWen64zuI9yg10XNTLbzRQl32cb6m98JjKlb0uiyovvkQ0CtZibZzLguiEz7 ayuKGQ0+0D6+xWzGpLzqpMOe4NwD3jmtjwwwe6oFiK5hphRTAgwGqEatYB8DuRnCS8od nyKjQL6wgtcLZyaM+yiEDSYbxk5/anjU3I/4zpTVUt1RnJFgY6kqOQ6zcAHyC/XCRG6U NgHA== X-Gm-Message-State: AN3rC/4rVKMPcxqqWBdgk7PtxZCSgqkgusU30/Bf7GRNVa0xZEqXPN1M miTS/a6n+3aK7rMd7LNzxhhOXwKkmg== X-Received: by 10.36.211.198 with SMTP id n189mr1004974itg.90.1493892918504; Thu, 04 May 2017 03:15:18 -0700 (PDT) Original-Received: by 10.107.173.6 with HTTP; Thu, 4 May 2017 03:15:18 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c0b::22d X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:214561 Archived-At: 2017-05-04 5:32 GMT+08:00 Stefan Monnier : >> Could this package be considered for inclusion in sql.el or as an >> ELPA package? > > I think it would make a lot of sense to include it into sql.el, but if > that's not an option, I'll happily add it to GNU ELPA. I also think it fits better with sql.el, but this is a decision for the Emacs maintainers. I am, of course, happy to provide support and fix any bugs in this code regardless of how it is added. > > > Stefan > > > PS: BTW, in sqlind-indent-line I recommend you use indent-line-to. I updated the code to use `indent-line-to`, I was not aware of that function... Is there anything else I need to do to progress this? Thanks, Alex. > >