emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/sql-indent 1efac21 11/13: Update sql-indent.el to versi


From: Stefan Monnier
Subject: [elpa] externals/sql-indent 1efac21 11/13: Update sql-indent.el to version 1.1
Date: Sun, 11 Feb 2018 22:24:14 -0500 (EST)

branch: externals/sql-indent
commit 1efac21246d203eca1b2469d8af4950a1ffd39e9
Author: Alex Harsanyi <address@hidden>
Commit: Alex Harsanyi <address@hidden>

    Update sql-indent.el to version 1.1
    
    Updated / clarified some of the documentation as well
---
 sql-indent.el  | 18 +++++++-----------
 sql-indent.org | 13 +++++--------
 2 files changed, 12 insertions(+), 19 deletions(-)

diff --git a/sql-indent.el b/sql-indent.el
index f2c393b..bb07d27 100644
--- a/sql-indent.el
+++ b/sql-indent.el
@@ -4,7 +4,7 @@
 
 ;; Author: Alex Harsanyi (address@hidden)
 ;; Created: 27 Sep 2006
-;; Version: 1.0
+;; Version: 1.1
 ;; Keywords: languages sql
 ;; Homepage: https://github.com/alex-hhh/emacs-sql-indent
 ;;
@@ -23,19 +23,15 @@
 
 ;;; Commentary:
 ;;
-;; Add syntax-based indentation when editing SQL code: TAB indents the current
-;; line based on the syntax of the SQL code on previous lines.
-;; `sqlind-minor-mode' is a minor mode that enables/disables this
-;; functionality. To setup syntax-based indentation for every SQL buffer, add
-;; `sqlind-minor-mode' to `sql-mode-hook'.
+;; `sqlind-minor-mode' is a minor mode that enables syntax-based indentation
+;; for `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 `sqlind-minor-mode' to `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 `sqlind-align-rules'.
-;;
-;; Indentation rules can be customized, for more information, see the
-;; "sql-indent.org" file or the doc strings for `sqlind-basic-offset',
-;; `sqlind-default-indentation-offsets-alist' and
-;; `sqlind-indentation-syntax-symbols'.
 
 ;;; Code:
 
diff --git a/sql-indent.org b/sql-indent.org
index a2e1121..d951729 100644
--- a/sql-indent.org
+++ b/sql-indent.org
@@ -14,14 +14,7 @@ C and C++ code.
 
 The package also defines align rules so that the ~align~ function works for
 SQL statements, see ~sqlind-align-rules~ for which rules are defined.  This
-can be used to align multiple lines around equal signs or "as" statements,
-like this.
-
-~sqlind-minor-mode~ together with the align rules (see below) can assist in
-writing tidy SQL code or formatting existing SQL code.  The indentation rules
-are customizable, so you can adapt it to match your own indentation
-preferences.
-
+can be used to align multiple lines around equal signs or "as" statements.
 Here is an example of alignment rules:
 
 #+BEGIN_SRC sql
@@ -44,6 +37,10 @@ To use this feature, select the region you want to align and 
type:
   M-x align RET
 #+END_SRC
 
+~sqlind-minor-mode~ together with the align rules can assist in writing tidy
+SQL code or formatting existing SQL code.  The indentation rules are
+customizable, so you can adapt it to match your own indentation preferences.
+
 * Installation
 
 To install this package, open the file ~sql-indent.el~ in Emacs and type



reply via email to

[Prev in Thread] Current Thread [Next in Thread]