We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Emacs will generate some temp files before save, e.g. .#app.rb, #app.rb#.
.#app.rb
#app.rb#
So, i thought we should add those rarely used filename to ignore list. like this:
listener.ignore /\A\.?#/
The text was updated successfully, but these errors were encountered:
@zw963 That regexp looks a bit more general than the 2 examples you show, because it would also match #app.rb.
#app.rb
Does this pattern look accurate to match exactly those 2 cases? /\A.#|\A#.*#\z/?
/\A.#|\A#.*#\z/
Could you please make a PR with this change, along with specs?
Sorry, something went wrong.
That regexp looks a bit more general than the 2 examples you show
Yes, /\A\.?#/ is a little general (though, this is my original purpose)
/\A\.?#/
I just want ignore any file which prefix with .# or #, if you favor more accurate, i can exact file name like (?:^\.#|^#.+#$), will create PR later.
.#
#
(?:^\.#|^#.+#$)
@ColinDKelley PR, #546 , thank you.
Successfully merging a pull request may close this issue.
Emacs will generate some temp files before save, e.g.
.#app.rb
,#app.rb#
.So, i thought we should add those rarely used filename to ignore list. like this:
The text was updated successfully, but these errors were encountered: