[elpa] master updated (9a371f4 -> b0039dd)

2015-08-19 Thread Artur Malabarba
malabarba pushed a change to branch master.

  from  9a371f4   Merge branch 'master' of 
git+ssh://git.sv.gnu.org/srv/git/emacs/elpa
   new  a2fad89   [Fix #53] Indent more aggressively
   new  6238e74   Version bump
   new  b0039dd   Merge commit '6238e7402adabd0003f6ffcf5c57d9f18f1e7684'


Summary of changes:
 packages/aggressive-indent/aggressive-indent.el |   15 ++-
 1 files changed, 10 insertions(+), 5 deletions(-)



[elpa] master a2fad89 1/3: [Fix #53] Indent more aggressively

2015-08-19 Thread Artur Malabarba
branch: master
commit a2fad89e551490ab8250e57a754185efb657bee9
Author: Artur Malabarba 
Commit: Artur Malabarba 

[Fix #53] Indent more aggressively
---
 aggressive-indent.el |   13 +
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/aggressive-indent.el b/aggressive-indent.el
index 636504d..82e5fbf 100644
--- a/aggressive-indent.el
+++ b/aggressive-indent.el
@@ -325,10 +325,15 @@ until nothing more happens."
  (point-limit (if (and eod (< (point) eod))
   eod (point-max-marker
 (while (and (null (eobp))
-(< (point) point-limit)
-(/= (point)
-(progn (indent-according-to-mode)
-   (point
+(let ((op (point))
+  (np (progn (indent-according-to-mode)
+ (point
+  ;; As long as we're indenting things to the
+  ;; left, keep indenting.
+  (or (< np op)
+  ;; If we're indenting to the right, or
+  ;; not at all, stop at the limit.
+  (< (point) point-limit
   (forward-line 1)
   (skip-chars-forward "[:blank:]\n"
   (goto-char p



[elpa] master b0039dd 3/3: Merge commit '6238e7402adabd0003f6ffcf5c57d9f18f1e7684'

2015-08-19 Thread Artur Malabarba
branch: master
commit b0039dd1f382edcd722f6c1c7194867538831d32
Merge: 9a371f4 6238e74
Author: Artur Malabarba 
Commit: Artur Malabarba 

Merge commit '6238e7402adabd0003f6ffcf5c57d9f18f1e7684'
---
 packages/aggressive-indent/aggressive-indent.el |   15 ++-
 1 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/packages/aggressive-indent/aggressive-indent.el 
b/packages/aggressive-indent/aggressive-indent.el
index d6d201d..f9a0df3 100644
--- a/packages/aggressive-indent/aggressive-indent.el
+++ b/packages/aggressive-indent/aggressive-indent.el
@@ -4,7 +4,7 @@
 
 ;; Author: Artur Malabarba 
 ;; URL: http://github.com/Malabarba/aggressive-indent-mode
-;; Version: 1.1.2
+;; Version: 1.1.3
 ;; Package-Requires: ((emacs "24.1") (names "20150125.9") (cl-lib "0.5"))
 ;; Keywords: indent lisp maint tools
 ;; Prefix: aggressive-indent
@@ -325,10 +325,15 @@ until nothing more happens."
  (point-limit (if (and eod (< (point) eod))
   eod (point-max-marker
 (while (and (null (eobp))
-(< (point) point-limit)
-(/= (point)
-(progn (indent-according-to-mode)
-   (point
+(let ((op (point))
+  (np (progn (indent-according-to-mode)
+ (point
+  ;; As long as we're indenting things to the
+  ;; left, keep indenting.
+  (or (< np op)
+  ;; If we're indenting to the right, or
+  ;; not at all, stop at the limit.
+  (< (point) point-limit
   (forward-line 1)
   (skip-chars-forward "[:blank:]\n"
   (goto-char p



[elpa] master 6238e74 2/3: Version bump

2015-08-19 Thread Artur Malabarba
branch: master
commit 6238e7402adabd0003f6ffcf5c57d9f18f1e7684
Author: Artur Malabarba 
Commit: Artur Malabarba 

Version bump
---
 aggressive-indent.el |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/aggressive-indent.el b/aggressive-indent.el
index 82e5fbf..1412ee9 100644
--- a/aggressive-indent.el
+++ b/aggressive-indent.el
@@ -4,7 +4,7 @@
 
 ;; Author: Artur Malabarba 
 ;; URL: http://github.com/Malabarba/aggressive-indent-mode
-;; Version: 1.1.2
+;; Version: 1.1.3
 ;; Package-Requires: ((emacs "24.1") (names "20150125.9") (cl-lib "0.5"))
 ;; Keywords: indent lisp maint tools
 ;; Prefix: aggressive-indent