Mercurial > emacs
annotate test/indent/Makefile @ 110563:5b5c2cab9a6a
Merge changes made in Gnus.tranck
gnus-art.el: Remove useless gnus-treat-translate.
gnus-gravatar.el (gnus-gravatar-transform-address): Use gnus-gravatar-size.
gnus.el: Remove useless gnus-local-domain.
mml-smime.el: Remove useless mml-smime-verbose.
mml2015.el: Remove useless mml2015-verbose.
author | Katsumi Yamaoka <yamaoka@jpl.org> |
---|---|
date | Sat, 25 Sep 2010 12:49:02 +0000 |
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 |