Hi!
I have emacs creating files like .#myfile.txt when I am editing a file, and sos triggers on those (runs the command). This is not the behaviour I want, so I tried using -e to exclude those, but I just can't get it to work!
I tried following:
-e "#"
-e "\.#"
-e ".*\.#.*"
and non of those excludes the files in question from triggering sos.
The message I get is Added: foo/bar/.#yourfile.txt. So it seems to be triggering only on adding the emacs lock file, not modifying it. Is it possible that -e matches only modified files and not added ones?
Am I doing smth wrong? Thank you!
Btw. I am on Archlinux, I am running sos on a directory, and sos version is 2.0.2.
Hi!
I have emacs creating files like
.#myfile.txtwhen I am editing a file, and sos triggers on those (runs the command). This is not the behaviour I want, so I tried using -e to exclude those, but I just can't get it to work!I tried following:
and non of those excludes the files in question from triggering sos.
The message I get is
Added: foo/bar/.#yourfile.txt. So it seems to be triggering only on adding the emacs lock file, not modifying it. Is it possible that-ematches only modified files and not added ones?Am I doing smth wrong? Thank you!
Btw. I am on Archlinux, I am running sos on a directory, and sos version is 2.0.2.