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

Undo-Tree discarding undo history: "No further undo information" #16047

Closed
maptv opened this issue Jun 21, 2023 · 2 comments
Closed

Undo-Tree discarding undo history: "No further undo information" #16047

maptv opened this issue Jun 21, 2023 · 2 comments
Labels
stale marked as a stale issue/pr (usually by a bot)

Comments

@maptv
Copy link

maptv commented Jun 21, 2023

Description :octocat:

Undo-Tree discarding undo history leads to "No further undo information" message.

I cannot get persistent undo to work consistently in spacemacs.
Here is a link to my config: https://github.com/maptv/setup/blob/main/.spacemacs
I am installing in the typical location (.emacs.d).
I tried re-installing Spacemacs with different Emacs versions.
I have tried all sorts of undo settings, but took them all out of my config because nothing was working.

Reproduction guide 🪲

  1. Start Emacs with my config: https://github.com/maptv/setup/blob/main/.spacemacs
  2. Open a file
  3. Make a change
  4. Exit the current session
  5. Start a new session
  6. Press u

Observed behaviour: 👀 💔

The message "No further undo information" is displayed.

By pressing SPC w p m, I find this error:

Buffer has been modified since undo-tree history was saved to
	  "~/.emacs.d/.cache/undo-tree-history/.!Users!uname!uname!repo!.file.~undo-tree~"; could not load undo-tree history

I believe this error means that Undo-Tree has missed a beat and gave up completely.
Is there some way to ensure that this never happens?
Hooks that save/load undo history when closing/opening a file?

Expected behaviour: ❤️ 😄

Press u in normal state to undo the most recent change.

System Info 💻

  • OS: darwin
  • Emacs: 28.2
  • Spacemacs: 0.999.0
  • Spacemacs branch: develop (rev. 26629bf)
  • Graphic display: nil
  • Running in daemon: nil
  • Distribution: spacemacs
  • Editing style: vim
  • Completion: helm
  • Layers:
(vimscript lua auto-completion emacs-lisp evil-snipe git helm markdown multiple-cursors osx version-control treemacs)
  • System configuration features: ACL GMP GNUTLS JSON LIBXML2 MODULES NOTIFY KQUEUE PDUMPER THREADS ZLIB

Backtrace 🐾

Buffer has been modified since undo-tree history was saved to
	  "~/.emacs.d/.cache/undo-tree-history/.!Users!uname!uname!repo!.file.~undo-tree~"; could not load undo-tree history
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!

@github-actions github-actions bot added the stale marked as a stale issue/pr (usually by a bot) label Jun 20, 2024
@smile13241324 smile13241324 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 30, 2024
@smile13241324
Copy link
Collaborator

Undo-tree is not longer supported due to its unmaintained state. Please switch to undo-fu and reopen when the issue is still there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale marked as a stale issue/pr (usually by a bot)
Projects
None yet
Development

No branches or pull requests

2 participants