Skip to content
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

User manual updates #1058

Merged
merged 7 commits into from Jan 9, 2016
Merged

User manual updates #1058

merged 7 commits into from Jan 9, 2016

Conversation

bergey
Copy link
Contributor

@bergey bergey commented Jan 8, 2016

Here are a bunch of changes to the user manual to try to make it more closely reflect the actual code. Feel free to cherry pick commits you like, and give me feedback on any that you don't want to merge as-is.

I have many more changes that I want to make, after some code diving to make sure I don't say anything untrue.

Am I right that the plan is to have the Texinfo be the main manual, not the Github wiki?

Copied from README

This addresses part of haskell#197
- `haskell-indent-mode` is not recommended,
- `haskell-simple-indent` is gone
- `haskell-indentation-mode` doesn't do anything special with DEL

This updates the manual to reflect changes in:
- 10f7da7
- ee5effd
- 883bfd9
After the sections on elisp import formatting.
Recommend transient-mark-mode and TAB, instead of
`haskell-move-nested-{left,right}`.  Follows gracjan's changes to the
wiki in
https://github.com/haskell/haskell-mode/wiki/Indentation/_compare/a251fed86858fd9a4f322c385d70fd25b8293ebf

As far as I can tell the move-nested functions don't indent enough
nested code to preserve valid layout.  They also don't have default key
bindings.
@gracjan
Copy link
Contributor

gracjan commented Jan 8, 2016

Yes, haskell-mode.texi as a coherent, authoritative source about haskell-mode.

the following nested block or, if a region is active while in Transient
Mark Mode (@pxref{Disabled Transient Mark,,,emacs}), de/indent the
active region.
Either of these will turn off @code{haskell-indentation-mode}.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to use singular form, because there is only haskell-indent-mode left.

@gracjan
Copy link
Contributor

gracjan commented Jan 8, 2016

Nice changes. One thing to fix and we will merge everything.

Need to use singular form, because there is only `haskell-indent-mode` left.
@bergey
Copy link
Contributor Author

bergey commented Jan 9, 2016

Ah, thanks for catching that.

gracjan added a commit that referenced this pull request Jan 9, 2016
@gracjan gracjan merged commit ca37035 into haskell:master Jan 9, 2016

@section Installation - more information

@code{haskell-mode} supports GNU Emacs versions 23, 24 and upcoming 25
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is Emacs 23 still supported for sure?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, for now. Dropping Emacs23 is tracked by #1055.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants