Skip to content

Commit c5987ad

Browse files
committed
Merge pull request #958 from gracjan/pr-remove-haskell-simple-indent
Remove horizontal whitespace based smart indentation mode haskell-simple-indent
2 parents 0fe7688 + 883bfd9 commit c5987ad

6 files changed

+0
-480
lines changed

Makefile

-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ ELFILES = \
6969
haskell-process.el \
7070
haskell-repl.el \
7171
haskell-session.el \
72-
haskell-simple-indent.el \
7372
haskell-sort-imports.el \
7473
haskell-string.el \
7574
haskell-unicode-input-method.el \

doc/haskell-mode.texi

-7
Original file line numberDiff line numberDiff line change
@@ -350,12 +350,6 @@ trade-offs:
350350

351351
@ftable @code
352352

353-
@item haskell-simple-indent-mode
354-
355-
A very simple indentation scheme; In this scheme, @key{TAB} will now
356-
move the cursor to the next indent point in the previous non-blank line.
357-
An indent point is a non-whitespace character following whitespace.
358-
359353
@item haskell-indent-mode
360354

361355
Intelligent semi-automatic indentation for Haskell's layout rule. The
@@ -386,7 +380,6 @@ convenient user interface or by adding @emph{one} of the following three
386380
lines to your @file{.emacs} file:
387381

388382
@lisp
389-
(add-hook 'haskell-mode-hook 'haskell-simple-indent-mode)
390383
(add-hook 'haskell-mode-hook 'haskell-indent-mode)
391384
(add-hook 'haskell-mode-hook 'haskell-indentation-mode)
392385
@end lisp

haskell-mode.el

-3
Original file line numberDiff line numberDiff line change
@@ -600,9 +600,6 @@ Indentation modes:
600600
`haskell-indent-mode', Guy Lapalme
601601
Intelligent semi-automatic indentation.
602602
603-
`haskell-simple-indent-mode', Graeme E Moss and Heribert Schuetz
604-
Simple indentation.
605-
606603
Interaction modes:
607604
608605
`interactive-haskell-mode'

haskell-simple-indent.el

-273
This file was deleted.

tests/haskell-indentation-tests.el

-14
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
(require 'haskell-font-lock)
2929
(require 'haskell-indentation)
3030
(require 'haskell-indent)
31-
(require 'haskell-simple-indent)
3231

3332
;;; Code:
3433

@@ -132,19 +131,6 @@ macro quotes them for you."
132131
(should-not haskell-indentation-mode)
133132
(should haskell-indent-mode)))
134133

135-
(ert-deftest haskell-indentation-turns-off-haskell-simple-indent ()
136-
(with-temp-buffer
137-
(haskell-mode)
138-
(haskell-simple-indent-mode)
139-
(should haskell-simple-indent-mode)
140-
(haskell-indentation-mode)
141-
(should haskell-indentation-mode)
142-
(should-not haskell-simple-indent-mode)
143-
144-
(haskell-simple-indent-mode)
145-
(should-not haskell-indentation-mode)
146-
(should haskell-simple-indent-mode)))
147-
148134
(hindent-test "1 Check if '{' on its own line gets properly indented""
149135
function = Record
150136
{ field = 123 }"

0 commit comments

Comments
 (0)