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

bug/feature req: When burying a buffer in a window-config, the 'last' buffer (top of buffer stack) is not preserved per config. #72

Closed
ahungry opened this Issue Nov 15, 2017 · 5 comments

Comments

Projects
None yet
4 participants
@ahungry

ahungry commented Nov 15, 2017

Steps:

  1. Start a window-config, with a file open.
  2. Start a new window-config and do something like M-x hackernews, then follow an article to it's eww buffer (at this point, the non-visible buffer stack has the hackernews buffer on top)
  3. Go back to window-config 1 and open a second file (hence pushing the first open file to the top of the buffer stack/list)
  4. Jump back to window-config 2 and press 'q' to bury the eww buffer - at this point, it would be expected that the hackernews buffer was visible, but unfortunately the file from step 1 is

Is there any way to have each window-config track its own buffer stack / sort order?

@wasamasa

This comment has been minimized.

Show comment
Hide comment
@wasamasa

wasamasa Nov 15, 2017

Owner

No and this is out of scope for this package.

Owner

wasamasa commented Nov 15, 2017

No and this is out of scope for this package.

@wasamasa wasamasa closed this Nov 15, 2017

@is-r-not-j

This comment has been minimized.

Show comment
Hide comment
@is-r-not-j

is-r-not-j Jul 5, 2018

Then this package is not a proper window manager like i3

is-r-not-j commented Jul 5, 2018

Then this package is not a proper window manager like i3

@wasamasa

This comment has been minimized.

Show comment
Hide comment
@wasamasa

wasamasa Jul 5, 2018

Owner

I'm not sure why you expect it to be. At no point the README suggests it provides a window manager for Emacs. This package is closer to saving/restoring window configurations manually with C-x r w than being i3.

Owner

wasamasa commented Jul 5, 2018

I'm not sure why you expect it to be. At no point the README suggests it provides a window manager for Emacs. This package is closer to saving/restoring window configurations manually with C-x r w than being i3.

@novoid

This comment has been minimized.

Show comment
Hide comment
@novoid

novoid Jul 13, 2018

I understand that this feature request was not in the mind of the author or a goal to achieve.

However, this feature would be very helpful for my use-case as well.

Do you think that this could be achieved by some (add-to-list 'window-persistent-parameters '(FOO-BAR . writable)) magic (which I do not understand yet)?

I'd love to stick with eyebrowse instead of switching to something more sophisticated (and more complicated) just for the sake of storing and restoring the current stack of buffers order in addition to the current window/buffer only ...

novoid commented Jul 13, 2018

I understand that this feature request was not in the mind of the author or a goal to achieve.

However, this feature would be very helpful for my use-case as well.

Do you think that this could be achieved by some (add-to-list 'window-persistent-parameters '(FOO-BAR . writable)) magic (which I do not understand yet)?

I'd love to stick with eyebrowse instead of switching to something more sophisticated (and more complicated) just for the sake of storing and restoring the current stack of buffers order in addition to the current window/buffer only ...

@wasamasa

This comment has been minimized.

Show comment
Hide comment
@wasamasa

wasamasa Jul 14, 2018

Owner

If it were that simple, I'd have done it in the first place. Take a look at (info "(elisp) Window Parameters") for yourself, you'll find it's about window-specific properties, not something as global as the buffer list.

Owner

wasamasa commented Jul 14, 2018

If it were that simple, I'd have done it in the first place. Take a look at (info "(elisp) Window Parameters") for yourself, you'll find it's about window-specific properties, not something as global as the buffer list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment