Skip to content

/ symbol will block input text #591

Description

@getong

Emacs 30+, my emacs is 31.0.91, open any *.rs file, M-x visual-wrap-prefix-mode, type /, it will block any input text.

 (with-eval-after-load 'rust-mode
    (define-advice rust-in-comment-paragraph (:around (orig body) fix-eob-hang)
      "fix the / symbol crash"
      (if (save-excursion (end-of-line) (eobp))
          (funcall body)
        (funcall orig body))))

with claude debug

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