Skip to content

haskell-indentation-mode does not bind DEL #721

Closed
@drvink

Description

@drvink

Sorry for the noise, but I've looked over the commit log and I can't tell if I'm losing my mind or if something's changed with the default behavior of DEL under haskell-indentation-mode. It doesn't seem to be getting rebound for me anymore (when I C-h k DEL, it's bound to delete-backward-char), and furthermore, the cursor gets placed differently from where I expect it used to be.

The info pages seem to indicate that DEL should be getting rebound:

‘haskell-indentation-mode’

     Improved variation of ‘haskell-indent-mode’ indentation mode.
     Rebinds <RET> and <DEL>, so that indentations can be set and
     deleted as if they were real tabs.

Looking through the history, the behavior I'm used to from DEL was supplied by haskell-indentation-delete-backward-char, but the only relevant commit I see is c91c6b2, which was in March.

I update haskell-mode from master pretty often, so I don't know why I'm only seeing this now, but it's driving me crazy. Can we please have the old stuff back as an alternative, or can you tell me what functions I can use (if any) that will give similar behavior to the way DEL and the indentation algorithm for a new line used to work?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions