GNU bug report logs - #67352
[PATCH] gnu: Add emacs-sql-indent.

Previous Next

Package: guix-patches;

Reported by: Ian Eure <ian <at> retrospec.tv>

Date: Tue, 21 Nov 2023 22:33:02 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#67352: closed ([PATCH] gnu: Add emacs-sql-indent.)
Date: Thu, 04 Jan 2024 11:35:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 04 Jan 2024 12:34:25 +0100
with message-id <87le95jpry.fsf <at> nicolasgoaziou.fr>
and subject line Re: [bug#67352] [PATCH] gnu: Add emacs-sql-indent.
has caused the debbugs.gnu.org bug report #67352,
regarding [PATCH] gnu: Add emacs-sql-indent.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
67352: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67352
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ian Eure <ian <at> retrospec.tv>
To: guix-patches <at> gnu.org
Cc: Ian Eure <ian <at> retrospec.tv>
Subject: [PATCH] gnu: Add emacs-sql-indent.
Date: Tue, 21 Nov 2023 14:32:32 -0800
* gnu/packages/emacs-xyz.scm (emacs-sql-indent): New variable.

Change-Id: I56a5f1c2e5256ed2ebcfe58ff99faffe49bf8519
---
 gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 90fe9fceeb..07d9ee280f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -22444,6 +22444,30 @@ (define-public emacs-closql
 add any additional instance slots.")
     (license license:gpl3)))
 
+(define-public emacs-sql-indent
+  (package
+    (name "emacs-sql-indent")
+    (version "1.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://elpa.gnu.org/packages/sql-indent-" version
+                           ".tar"))
+       (sha256
+        (base32 "043qcy97a5hx68w0ac7xsk380l2i7bphgrdz6aby2zfpp90vrjpn"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/alex-hhh/emacs-sql-indent")
+    (synopsis "Support for indenting code in SQL files")
+    (description
+     "This package provides a minor mode that enables syntax-based indentation for
+@code{sql-mode} buffers: the TAB key indents the current line based on the SQL code on
+previous lines.  To setup syntax-based indentation for every SQL buffer, add
+@code{sqlind-minor-mode} to @code{sql-mode-hook}.  Indentation rules are flexible and can
+be customized to match your personal coding style.  For more information, see
+the \"sql-indent.org\" file.  The package also defines align rules so that the
+align function works for SQL statements, see @code{sqlind-align-rules}.")
+    (license license:gpl3+)))
+
 (define-public emacs-epkg
   (package
     (name "emacs-epkg")

base-commit: 42be8fa560a7554ac35801b46c3a0a007fd742ce
-- 
2.41.0



[Message part 3 (message/rfc822, inline)]
From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Ian Eure <ian <at> retrospec.tv>
Cc: Katherine Cox-Buday <cox.katherine.e+guix <at> gmail.com>,
 Liliana Marie Prikler <liliana.prikler <at> gmail.com>, 67352-done <at> debbugs.gnu.org,
 Andrew Tropin <andrew <at> trop.in>
Subject: Re: [bug#67352] [PATCH] gnu: Add emacs-sql-indent.
Date: Thu, 04 Jan 2024 12:34:25 +0100
Hello,

Ian Eure <ian <at> retrospec.tv> writes:

> * gnu/packages/emacs-xyz.scm (emacs-sql-indent): New variable.

Applied. Thank you.

I truncated description and removed parts of it that should belong to
the manual instead.

Regards,
-- 
Nicolas Goaziou




This bug report was last modified 1 year and 176 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.