jcollard / elm-mode

Elm mode for emacs
GNU General Public License v3.0
376 stars 67 forks source link

fix elm-mode-generate-tags in Aquamacs Emacs #101

Closed zhenchaopro closed 7 years ago

zhenchaopro commented 7 years ago

elm-mode-generate-tags does not work when the abosolute path of elm-mode package contains blank space. eg: /Users/steve/Library/Preferences/Aquamacs Emacs/Packages/elpa/elm-mode-20170322.1347/ Quoting elm-tags-regexps params makes it work.

purcell commented 7 years ago

I feel like the safer and more complete solution here would be to use the shell-quote-argument function to escape the regexps instead of surrounding them with ". Please could you try that locally, and update this PR if it works for you?