Ignoring Emacs' lock files: `.#file.go`
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 906
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
Emacs writes a temporary file as soon as you start editing a file. When you hit save, it removes the temporary file.
This triggers gow, since the extension is still .go. It's a bit ugly, though perhaps not the end of the world.
To avoid flag chaos, I think reading patterns from a file is probably nicest, but I could imagine using .gitignore-style patterns fits more with gows current style.
Would you be open to an ignore prefix flag, an ignore pattern [1] flag, or perhaps reading a .gowignore file?
And thanks for writing gow! It replaces an inotifywatch | while read; go make ; done loop I've used previously. Much neater.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating gow's file-watching and option-handling entry points, then review how paths such as .#file.go are currently classified. The issue presents several possible designs rather than a selected solution, so done would require an agreed ignore mechanism and confirmation that Emacs lock files no longer trigger the watch command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100