Replies: 1 comment 2 replies
-
Hmm. I'm thinking what would be the best way to solve this problem. I guess you can make the ediff window small with window rules. What would you |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For some windows, I'd like to run some code when they appear. This could be done with a spawn-when-detected action.
Example usecase:
When using ediff in Emacs, a new window is spawned, that takes all the user input, but I still want to look at the main Emacs window. The ediff window is full screen sized by default. I can make it small, but I'd like to also shrink the main Emacs window, so both fit on the same screen.
Desired config after ediff window spawned:
![image](https://private-user-images.githubusercontent.com/16835755/318259613-9dc3bb2a-d4fc-4161-8a7d-1ef53e86b3d3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5OTg4NTIsIm5iZiI6MTczODk5ODU1MiwicGF0aCI6Ii8xNjgzNTc1NS8zMTgyNTk2MTMtOWRjM2JiMmEtZDRmYy00MTYxLThhN2QtMWVmNTNlODZiM2QzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDA3MDkxMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE1NjVhMTQ5NzBlMzRlMzRkMmIyMDk1MjMzN2IyZTE1NjNlMDVlNzJiNTcyYzgwYTQyNmE5NjdhNjMzMTA0MmYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.RUcfXX8byBSefTRE4z8Z_UfQVBAdFBdCvEAfDYMga2k)
Currently: Emacs main window is full screen size, focus is switched to ediff window, so Emacs is actually off screen, so I need to go back to Emacs main window and shrink it, manually.
Usually, one would probably have the Ediff window be floating, but as we don't, yet, have a floating layer, this would be a pretty good solution.
Beta Was this translation helpful? Give feedback.
All reactions