alexeyr / company-auctex

company-mode autocompletion for auctex
49 stars 18 forks source link

Fix Environment Completion Searches. Closes #2 #3

Closed trishume closed 9 years ago

trishume commented 9 years ago

Quotes regexes so things like asterisks in environment names like align* don't fail to delete the match.

See #2

alexeyr commented 9 years ago

Thanks! I'll check it when I have an opportunity after this weekend. On Nov 5, 2014 3:21 AM, "Tristan Hume" notifications@github.com wrote:

Quotes regexes so things like asterisks in environment names like align*

don't fail to delete the match.

You can merge this Pull Request by running

git pull https://github.com/trishume/company-auctex fix-regex

Or view, comment on, or merge it at:

https://github.com/alexeyr/company-auctex/pull/3 Commit Summary

  • Fix broken search see alexeyr/company-auctex#2

File Changes

Patch Links:

— Reply to this email directly or view it on GitHub https://github.com/alexeyr/company-auctex/pull/3.

trishume commented 9 years ago

Thanks for the better solution @dgutov. I'm an Emacs newbie, so when I thought "I wonder if there is a non-regex version" I Googled instead of using apropos, and didn't find anything.

Today I learned apropos is much better than Google when it comes to Emacs commands.

alexeyr commented 9 years ago

Thanks to both of you!