Skip to content

clojure-fill-paragraph doesn't wrap backwards #400

Closed
@arrdem

Description

@arrdem

At present, clojure-fill-paragraph only scans forwards to wrap lines. I argue that it should scan backwards to the first empty comment line or start of comment and fill everything from that point down.

So for instance: at present

;; foo bar baz
;; qux|

fill is a noop.

Instead, it should fill to

;; foo bar baz qux|

However:

;; foo bar baz
;;
;; quixxity quuxxity
;; flub|

should fill to

;; foo bar baz
;;
;; quixxity quuxxity flub|

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