clojure-emacs / clojure-emacs/clj-refactor.el

cljr-slash: rule out some edge cases

Open
#492 0 comments 0 reactions 1 assignee Claimed by @vemv View on GitHub
Dominant language
Emacs Lisp
Stars
785
Forks
110
PR merge metrics
No merged PRs in 30d

Description

For cljr-slash functionality, some edge cases will predictably never succeed, yet will spend computational time.

e.g. `a/a/` has two slashes, there will be nothing matching that.

Similarly sometimes as I use emacs I make other typos that also can never succeed, yet block the UI for a few secs.

So one could have a simple regex for validating the expected admissible inputs.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.