Skip to content

saving a file from emacs can make it disappear from the note list #26

@jaked

Description

@jaked

Sometimes saving a file from emacs makes it disappear in the note list. Here's a debug trace

Filesystem.ts:274 timerCallback
Filesystem.ts:156 /Users/jake/Google Drive/docs.blog/blog / 2021-10-21-Reconstructing-TypeScript-part-5.pm was deleted
Filesystem.ts:118 /Users/jake/Google Drive/docs.blog/blog / 2021-10-21-Reconstructing-TypeScript-part-5.pm was created
Filesystem.ts:274 timerCallback
Filesystem.ts:347 fsFile newer (1635204577823.24 > 1635204553873) for /blog/2021-10-21-Reconstructing-TypeScript-part-5.pm
Filesystem.ts:274 timerCallback
Filesystem.ts:296 both deleted for /blog/2021-10-21-Reconstructing-TypeScript-part-5.pm
Filesystem.ts:274 timerCallback

Emacs deletes then recreates the file on save (I think?), so PM sees a deletion / creation from NSFW. The file on disk is newer (correct) but it's marked deleted (incorrect, it was deleted then recreated) so removed from the note list.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions