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: syntax based indentation for SQL files (ELPA package proposal) Date: Sun, 6 Aug 2017 10:42:51 +0800 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1501987385 21218 195.159.176.226 (6 Aug 2017 02:43:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 6 Aug 2017 02:43:05 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 06 04:43:00 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 1deBWu-0005Bc-0C for ged-emacs-devel@m.gmane.org; Sun, 06 Aug 2017 04:43:00 +0200 Original-Received: from localhost ([::1]:59498 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1deBX0-00067p-8f for ged-emacs-devel@m.gmane.org; Sat, 05 Aug 2017 22:43:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58657) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1deBWq-00067T-Jw for emacs-devel@gnu.org; Sat, 05 Aug 2017 22:42:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1deBWp-0005Hk-1S for emacs-devel@gnu.org; Sat, 05 Aug 2017 22:42:56 -0400 Original-Received: from mail-io0-x236.google.com ([2607:f8b0:4001:c06::236]:36613) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1deBWo-0005Fj-RU for emacs-devel@gnu.org; Sat, 05 Aug 2017 22:42:54 -0400 Original-Received: by mail-io0-x236.google.com with SMTP id g35so16500751ioi.3 for ; Sat, 05 Aug 2017 19:42:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=KUtik01yV4yliSngNaG9D3VGiekX5z8dWuIRPCzyDIE=; b=Bgej7jEoYLi3FPo3ibnaztsboJ0oJaowarpXHgwDWhPq3rKrb0AommqysqmDgfY6oe xXcBlgud7QDZrpjWjOPRLj0WQv0eaQvNIUU3JPPFs70uTNq9AwPA9L87I6cs0PTi4PUF BBn09YqZPTypLad8OHS8Byd4g/PFloiDMMsYoDpYAwIdONO1XJj6WE4Xj8fmF1FLdbRN c4Ebd+mHBfqA5FGsgBPCyzUmNQpAQt16LkbaaB+Cvx1QrXOanVTS1HxLrmWy+gpeLHXi vuupS4XKq/6fFG45LfRHet47sq77619117o9XQxj12J5liEytrlVG4kmPnn6zh2yBb6B KtRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=KUtik01yV4yliSngNaG9D3VGiekX5z8dWuIRPCzyDIE=; b=X8rN+76oIqy7Mq1AWO1VHm2KMWRrnBHKgZHjfmhbL7ART3IbM9VlXHJ8cGtTn3EaVY ki5+txKI4tyQSh4w6aNc58eB+jrXcxKep7GrqvAHNja+bpn123JiE3Tg/EM0E7P3vjWM Ie8CZfH5ywtwQBr/LK5EPqKsHTzHlN4yBQUhsX82vBWHQmLs5bzOto/Y3RqownyqxF3J OXoTKL8zjl2x5rn7ThpKTQI/xsadlFcklvlLlsJ/AwcRf+6eCm4un8suwW/Q18QxaKvy epdVblFFx/68hu0/74qwjg1ncdlYPozlSF6vykbeO5EAkEYWgiAs2RitTsI5WEYepvi1 SlwA== X-Gm-Message-State: AHYfb5g8sidt5n7FczszGVnWuWNrpYEVnpVygON78O6WckhlqjkgWUlT 2/hhDW0NgrCugOeGFpdiESPEavs2nvSz7so= X-Received: by 10.107.198.74 with SMTP id w71mr7050425iof.256.1501987372198; Sat, 05 Aug 2017 19:42:52 -0700 (PDT) Original-Received: by 10.107.162.76 with HTTP; Sat, 5 Aug 2017 19:42:51 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c06::236 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:217334 Archived-At: Hello, I wrote a package that adds support for syntax based indentation for SQL files: TAB indents the current line based on the syntax of the SQL code on previous lines. This works similar to the indentation for cc-mode. The current sql-mode does not provide indentation functionality, and my package implements a minor mode that can be added to sql-mode to provide syntactic indentation. I'd like to propose to include the package into ELPA You can find the source of the package here: https://github.com/alex-hhh/emacs-sql-indent I already posted twice on this mailing list about this package (see links below). While the response seemed positive to me, the package was not added to ELPA but I also I did not receive a definite "not interested" answer. I after some thought, I decided to post about this one last time. https://lists.gnu.org/archive/html/emacs-devel/2017-05/msg00075.html https://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00943.html Best Regards, Alex.