GithubHelp home page GithubHelp logo

Comments (3)

alphapapa avatar alphapapa commented on August 10, 2024

I don't understand what's going on here. A window configuration's restoration should not be affected by which window is selected. As well, a warning is already implemented if a buffer cannot be restored; it looks like this:

Screenshot_20240202_233735

The warning is shown in the correct buffer, and other windows and buffers are restored normally. (It's always necessary to restore all windows, even if some buffers can't be restored, because windows can have child windows, so not restoring one could cause others to not be restored also.)

In order to solve this, I'll need an exact set of steps to reproduce the problem.

from activities.el.

jdtsmith avatar jdtsmith commented on August 10, 2024
  1. Create three visible windows in a frame, with buffers visiting 3 files: a.txt, b.txt, c.txt.
  2. M-x activities-new (we'll call it tmp).
  3. Close the activity frame.
  4. Remove the file c.txt from disk.
  5. M-x activities-resume tmp.

You should see an incorrect buffer in the place of C (even if the c.txt buffer is still alive!). You can activities-revert from various windows in the tmp activity's frame, and different things will appear in C's window, but not a warning, and not the c.txt buffer. You can kill the (file-less) c.txt buffer, and the behavior is the same.

from activities.el.

alphapapa avatar alphapapa commented on August 10, 2024

Great, with that recipe I was able to reproduce and solve the problem (which is that the bookmark system obscures the error and works by side-effect, so we have to do some extra checking to be sure it worked). Thanks for reporting this. Please let me know if that fix works for you.

from activities.el.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.