0

I have managed to resize a window so that it is 3 characters wide but I need to make it 0 but still be able to edit it

current situation

Current code:
(window-resize nil (- (truncate (* 0.06 (frame-width))) (window-width)) t)

jthulhu
  • 7,223
  • 2
  • 16
  • 33
  • What are you trying to do ? If all you want is to have a "floating frame" used to show the scratch buffer, you don't need to have a window showing it on the side - and so you don't need to resize it to 0px to hide it, as you can *not* show it in the first place. But may be I don't understand what you're trying to do. – Numbra Jun 26 '22 at 07:39
  • @Numbra You could not focus on a posframe buffer so I had to have the real one to edit, I solved the issue now by change ```show-posframe``` – RadonBurner Jun 26 '22 at 13:21
  • I think you can. `posframe-show` has an `:accept-focus` key parameter, and any modification made in this frame will actually be a modification of the underlying buffer. – Numbra Jun 26 '22 at 14:53

0 Answers0