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

Opening several buffers in one project breaks when switching #9

Open
neh opened this issue Nov 13, 2020 · 1 comment
Open

Opening several buffers in one project breaks when switching #9

neh opened this issue Nov 13, 2020 · 1 comment

Comments

@neh
Copy link

neh commented Nov 13, 2020

The latest commit (7c45ca1) sets window-size-fixed t, which causes an error whenever I have enough buffers open in a project to cause nswbuff to try to adjust the window height. Setting nswbuff-status-window-layout 'scroll doesn't help as it seems to still try to adjust the window height. Here's a backtrace:

Debugger entered--Lisp error: (error "Cannot resize window #<window 59 on  *nswbuff*>")
  signal(error ("Cannot resize window #<window 59 on  *nswbuff*>"))
  error("Cannot resize window %s" #<window 59 on  *nswbuff*>)
  window-resize(#<window 59 on  *nswbuff*> 2)
  set-window-text-height(nil 3)
  nswbuff-adjust-window()
  nswbuff-layout-status-line(#<window 59 on  *nswbuff*> "personal.org")
  nswbuff-show-status-window()
  nswbuff-switch-to-next-buffer()
  funcall-interactively(nswbuff-switch-to-next-buffer)
  call-interactively(nswbuff-switch-to-next-buffer nil nil)
  command-execute(nswbuff-switch-to-next-buffer)
@joostkremers
Copy link
Owner

Hmm, that's a consequence I hadn't considered. I think I'll revert that commit, the person reporting issue #8 hadn't set zoom-ignored-buffer-names correctly, so perhaps his/her issue can be solved that way. If not, I'll add an option to disallow resizing the *nswbuff* status buffer.

joostkremers added a commit that referenced this issue Nov 13, 2020
Resizing the nswbuff status buffer is sometimes necessary, if the number of
windows is large. See Github issue #9.
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

2 participants