Comments (3)
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:
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.
- Create three visible windows in a frame, with buffers visiting 3 files:
a.txt
,b.txt
,c.txt
. M-x activities-new
(we'll call ittmp
).- Close the activity frame.
- Remove the file
c.txt
from disk. 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.
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)
- Activities tabs should resize according to `tab-bar-auto-width` HOT 9
- Other ways to handle unrestorable buffers HOT 11
- Feature request: associate an activity a collection of frames? HOT 10
- Reverting an activity should either remove the last state or immediately save HOT 8
- `persist/activities-activities` can disappear during development HOT 2
- activities-save-all adjusts height minibuffer when framed mode HOT 4
- Activities.el breaks workspaces in doom emacs
- Don't change tabs' last-used order when saving activities HOT 1
- org agenda get not restored HOT 1
- Configuring tabs HOT 1
- Discarding an activity does not discard its mirrored bookmark HOT 5
- Show the name of the current activity in an associated buffer's mode-line HOT 8
- `activities-before-resume-functions`, `activities-after-resume-functions` not actually called
- activities-switch with tab-bar and multiple frames should show all open activities HOT 1
- activities-rename in activities-tabs-mode should rename the activity tab immediately HOT 10
- activities-list vtable styling is a bit wonky due to Emacs default styling HOT 2
- Add ability to prevent certain mode's buffers from being stored HOT 2
- Need to display tabs correctly with tab-bar-format-tabs-groups under tab-bar-mode HOT 7
- Lost all my activities HOT 4
- nitpick: *activities* buffer is in fundamental mode and has trailing white space HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from activities.el.