Skip to content

Remove horizontal whitespace based smart indentation mode haskell-simple-indent #958

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 17, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ ELFILES = \
haskell-process.el \
haskell-repl.el \
haskell-session.el \
haskell-simple-indent.el \
haskell-sort-imports.el \
haskell-string.el \
haskell-unicode-input-method.el \
Expand Down
7 changes: 0 additions & 7 deletions doc/haskell-mode.texi
Original file line number Diff line number Diff line change
Expand Up @@ -350,12 +350,6 @@ trade-offs:

@ftable @code

@item haskell-simple-indent-mode

A very simple indentation scheme; In this scheme, @key{TAB} will now
move the cursor to the next indent point in the previous non-blank line.
An indent point is a non-whitespace character following whitespace.

@item haskell-indent-mode

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

@lisp
(add-hook 'haskell-mode-hook 'haskell-simple-indent-mode)
(add-hook 'haskell-mode-hook 'haskell-indent-mode)
(add-hook 'haskell-mode-hook 'haskell-indentation-mode)
@end lisp
Expand Down
3 changes: 0 additions & 3 deletions haskell-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -600,9 +600,6 @@ Indentation modes:
`haskell-indent-mode', Guy Lapalme
Intelligent semi-automatic indentation.

`haskell-simple-indent-mode', Graeme E Moss and Heribert Schuetz
Simple indentation.

Interaction modes:

`interactive-haskell-mode'
Expand Down
273 changes: 0 additions & 273 deletions haskell-simple-indent.el

This file was deleted.

14 changes: 0 additions & 14 deletions tests/haskell-indentation-tests.el
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
(require 'haskell-font-lock)
(require 'haskell-indentation)
(require 'haskell-indent)
(require 'haskell-simple-indent)

;;; Code:

Expand Down Expand Up @@ -132,19 +131,6 @@ macro quotes them for you."
(should-not haskell-indentation-mode)
(should haskell-indent-mode)))

(ert-deftest haskell-indentation-turns-off-haskell-simple-indent ()
(with-temp-buffer
(haskell-mode)
(haskell-simple-indent-mode)
(should haskell-simple-indent-mode)
(haskell-indentation-mode)
(should haskell-indentation-mode)
(should-not haskell-simple-indent-mode)

(haskell-simple-indent-mode)
(should-not haskell-indentation-mode)
(should haskell-simple-indent-mode)))

(hindent-test "1 Check if '{' on its own line gets properly indented""
function = Record
{ field = 123 }"
Expand Down
Loading