Skip to content

Del/Backspace do not delete text selection in literate mode outside bird lines  #379

Closed
@kostya-sh

Description

@kostya-sh

My emacs configuration contains:

(delete-selection-mode t)
(add-hook 'haskell-mode-hook 'turn-on-haskell-indentation)

In literate-haskell-mode DEL/BACKSPACE keys do not delete selected text outside bird lines but work as expected for Haskell code.

I am quite new to Emacs but I think it can be fixed by changing haskell-indentaton.el:

  • haskell-indentation-delete-backward-char function to use delete-backward-char instead of delete-char
  • haskell-indentation-delete-char function to use delete-forward-char instead of delete-char

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