Mercurial > emacs
annotate test/indent/Makefile @ 110971:80846b446563
lisp/subr.el (last): Use `safe-length' instead of `length' (bug#7206).
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Thu, 14 Oct 2010 01:15:03 +0200 |
parents | 6939db1ee97b |
children |
rev | line source |
---|---|
108864
f241d9fe71fe
* lisp/emacs-lisp/smie.el (smie-indent-calculate): Simplify and cleanup.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1 RM=rm |
f241d9fe71fe
* lisp/emacs-lisp/smie.el (smie-indent-calculate): Simplify and cleanup.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
2 EMACS=emacs |
f241d9fe71fe
* lisp/emacs-lisp/smie.el (smie-indent-calculate): Simplify and cleanup.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
3 |
f241d9fe71fe
* lisp/emacs-lisp/smie.el (smie-indent-calculate): Simplify and cleanup.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
4 clean: |
f241d9fe71fe
* lisp/emacs-lisp/smie.el (smie-indent-calculate): Simplify and cleanup.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
5 -$(RM) *.test |
f241d9fe71fe
* lisp/emacs-lisp/smie.el (smie-indent-calculate): Simplify and cleanup.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
6 |
f241d9fe71fe
* lisp/emacs-lisp/smie.el (smie-indent-calculate): Simplify and cleanup.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
7 # TODO: |
f241d9fe71fe
* lisp/emacs-lisp/smie.el (smie-indent-calculate): Simplify and cleanup.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
8 # - mark the places where the indentation is known to be incorrect, |
f241d9fe71fe
* lisp/emacs-lisp/smie.el (smie-indent-calculate): Simplify and cleanup.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
9 # and allow either ignoring those errors or not. |
f241d9fe71fe
* lisp/emacs-lisp/smie.el (smie-indent-calculate): Simplify and cleanup.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
10 %.test: % |
110038
6939db1ee97b
Use SMIE for octave-mode.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
108864
diff
changeset
|
11 -$(RM) $<.new |
108864
f241d9fe71fe
* lisp/emacs-lisp/smie.el (smie-indent-calculate): Simplify and cleanup.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
12 $(EMACS) --batch $< \ |
f241d9fe71fe
* lisp/emacs-lisp/smie.el (smie-indent-calculate): Simplify and cleanup.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
13 --eval '(indent-region (point-min) (point-max) nil)' \ |
110038
6939db1ee97b
Use SMIE for octave-mode.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
108864
diff
changeset
|
14 --eval '(write-region (point-min) (point-max) "$<.new")' |
6939db1ee97b
Use SMIE for octave-mode.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
108864
diff
changeset
|
15 diff -u -B $< $<.new |