Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regexp-quote strings of avy-goto-char* functions. #3

Merged
merged 2 commits into from
May 7, 2015

Conversation

tsdh
Copy link
Contributor

@tsdh tsdh commented May 7, 2015

Before this commit, avy-goto-char with char ^ would inf-loop because the
resulting string "^" is treated as a regular expressions. However, with
the avy-goto-char* function, the char should be treated literally. For
example, in Clojure ^:foo is treated as metadata annotation and thus ^
is a likely jump target.

tsdh added 2 commits May 7, 2015 10:22
Before this commit, avy-goto-char with char ^ would inf-loop because the
resulting string "^" is treated as a regular expressions.  However, with
the avy-goto-char* function, the char should be treated literally.  For
example, in Clojure ^:foo is treated as metadata annotation and thus ^
is a likely jump target.
avy-goto-subword-0's regexp requires that case-fold-search is nil, so
let-bind it.
@tsdh
Copy link
Contributor Author

tsdh commented May 7, 2015

The second commit fixes avy-goto-subword-0 which relies on case-fold-search being nil.

@abo-abo abo-abo merged commit 33546b6 into abo-abo:master May 7, 2015
@abo-abo
Copy link
Owner

abo-abo commented May 7, 2015

Thanks.

@tsdh
Copy link
Contributor Author

tsdh commented May 7, 2015

You're welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants