[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
- [elpa] externals/sql-indent 2c9c17f 07/13: Fix typo in sql-indent.org. (#56), (continued)
- [elpa] externals/sql-indent 2c9c17f 07/13: Fix typo in sql-indent.org. (#56), Stefan Monnier, 2018/02/11
- [elpa] externals/sql-indent 283116d 04/13: Correct the adjustment of indentation for operators in select (#52), Stefan Monnier, 2018/02/11
- [elpa] externals/sql-indent 51b17d6 01/13: Update README with instructions on how to install from GNU ELPA, Stefan Monnier, 2018/02/11
- [elpa] externals/sql-indent 0bca299 12/13: Fix travis build. (#58), Stefan Monnier, 2018/02/11
- [elpa] externals/sql-indent 44841a8 13/13: Add .elpaignore file, Stefan Monnier, 2018/02/11
- [elpa] externals/sql-indent 1b4d0e8 03/13: Add CONTRIBUTING.md file (#51), Stefan Monnier, 2018/02/11
- [elpa] externals/sql-indent 3ee7f95 08/13: Fix various typos here and there. (#57), Stefan Monnier, 2018/02/11
- [elpa] externals/sql-indent d56faed 06/13: Updated documentation, Stefan Monnier, 2018/02/11
- [elpa] externals/sql-indent 9f716f6 09/13: Recognize PostgreSQL $$ quote syntax, #54 (#55), Stefan Monnier, 2018/02/11
- [elpa] externals/sql-indent 8a1c4ec 05/13: Correct indentation of column continuation with operators. (#53), Stefan Monnier, 2018/02/11
- [elpa] externals/sql-indent 1efac21 11/13: Update sql-indent.el to version 1.1,
Stefan Monnier <=
- [elpa] externals/sql-indent 146655b 02/13: Add new indentation function for select columns. (#50), Stefan Monnier, 2018/02/11