Skip to content

delete-trailing-whitespace removes empty LHS code lines #1855

Open

Description

@gergoerdi

In literate-haskell-mode, given some input like

foo
> bar
> 
> baz
quux

The command delete-trailing-whitespace removes the empty code lines, producing:

foo
> bar

> baz
quux

The problem with this is that this results in two separate code blocks for bar and baz which are potentially typeset very differently than a single code block containing three lines with the middle being empty.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions