Bug #397
EMACS UI: fix windows splitting
Status:
Closed
Priority:
Normal
Assignee:
Category:
EmacsUI
Target version:
Description
It seems that newer versions are "clever" and prefer to split horizontally the window is wide.
That causes cocoa5-mode to split the window 3 ways: first vertically, as the code says, and then horizontally to use the right part of the screen.
... I'll fix it...
Related issues
History
#1
Updated by Anna Maria Bigatti almost 11 years ago
This is the "wrong" code: keeps the window layout seems false with new version of emacs
(defun try-pop-to-buffer (buffer) "Switch to buffer, if it exists." (let ((buf (get-buffer buffer))) (if buf ; switches buffer, but keeps the window layout: ; never changes the number and the sizes of the visible windows in the current frame. (pop-to-buffer buf) ;; would destroy the window layout: (switch-to-buffer buf) (message "No buffer \"%s\"." buffer))))
#2
Updated by John Abbott over 10 years ago
- Status changed from New to In Progress
#3
Updated by John Abbott over 10 years ago
- Target version changed from CoCoA-5.0.9 to CoCoA-5.1.0 Easter14
#4
Updated by John Abbott about 10 years ago
- Target version changed from CoCoA-5.1.0 Easter14 to CoCoA-5.1.1 Seoul14
#5
Updated by Anna Maria Bigatti about 10 years ago
- Status changed from In Progress to Closed
- % Done changed from 10 to 100
This is discussed (and solved) in #464
Instead of trying to be clever now there are two entries in the CoCoA-5 menu to select horizontal or vertical splitting removing all spurious buffers.
#6
Updated by Anna Maria Bigatti about 10 years ago
- Subject changed from Emacs User Interface: fix windows splitting to EMACS UI: fix windows splitting