Created
April 3, 2015 20:40
-
-
Save massysett/ac42073f92f098b55dfe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Main where | |
-- In the following Haddock comment, place point in the first "Lorem | |
-- ipsum" line and then run M-x fill-paragraph. Nothing will happen. | |
-- | Lorem ipsum etc Lorem ipsum etc Lorem ipsum etc Lorem ipsum etc Lorem ipsum etc Lorem ipsum etc Lorem ipsum etc Lorem ipsum etc | |
-- Lorem ipsum etc Lorem ipsum etc | |
-- But it works fine in the following comment. Place point in the | |
-- first line of the next comment and run M-x fill-paragraph. | |
-- Lorem ipsum etc Lorem ipsum etc Lorem ipsum etc Lorem ipsum etc Lorem ipsum etc Lorem ipsum etc Lorem ipsum etc Lorem ipsum etc | |
-- Lorem ipsum etc Lorem ipsum etc | |
-- One workaround seems to be putting the Haddock indicator on a | |
-- separate line; is this what people are usually doing? It results | |
-- in a wasted line. Try fill-paragraph in the lorem ipsum line in | |
-- this sample. fill-paragraph also works properly in the -- | line | |
-- too. | |
-- | | |
-- Lorem ipsum etc Lorem ipsum etc Lorem ipsum etc Lorem ipsum etc Lorem ipsum etc Lorem ipsum etc Lorem ipsum etc Lorem ipsum etc | |
-- Lorem ipsum etc Lorem ipsum etc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment