Skip to content
New issue

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

errors on qualified buffer-names #33

Open
sboosali opened this issue Oct 8, 2018 · 0 comments
Open

errors on qualified buffer-names #33

sboosali opened this issue Oct 8, 2018 · 0 comments

Comments

@sboosali
Copy link

sboosali commented Oct 8, 2018

I assume this is caused by relying only on buffer-name to identify buffers. and/or not removing that hook when a buffer is renamed (by Emacs) when opening a second file with the same basename, even when neither the filename being visited nor the buffer contents have changed.

Reproduction:

(1) open README.md, enable real-auto-save-mode, autosave work.

(2) open another namesake, say ../README.md, then real-auto-save-mode still works, but errors from real-auto-save-mode-buffers with "No buffer named README.md", on both files.

(3) let's say the current directory is y/ and its parent directory is x/. then buffer-name returns the filename qualified with as much directory necessary to disambiguate it from other file buffers. i.e. README.md<x> for the former and README.md<x/y> for the latter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant