emacsorphanage / quickrun

Run command quickly. This packages is inspired quickrun.vim
GNU General Public License v3.0
480 stars 43 forks source link

How to stop quickrun frame/window from changing its size. #108

Open super-tomcat opened 4 years ago

super-tomcat commented 4 years ago

Ive bound 'quickrun to a key but everytime I use it the frame/window is resized to the middle of the screen, this can get annoying after I have run it the first time then resize the frame/window and then run it again the frame/window goes back to the middle.... how can I stop that?

Great package by the way... keep up the good work.

super-tomcat commented 4 years ago

After further experiments adding this to your init file, helps....

(setq even-window-heights nil)

jcs090218 commented 4 years ago

Maybe you can try disable even-window-heights temporary while quickrun?

(defun my-quickrun (fnc &rest args)
  (let ((even-window-heights nil))
    (apply fnc args)))

(advice-add 'quickrun :around #'my-quickrun)

Hope this helps!

super-tomcat commented 4 years ago

Maybe you can try disable even-window-heights temporary while quickrun?

(defun my-quickrun (fnc &rest args)
  (let ((even-window-heights nil))
    (apply fnc args)))

(advice-add 'quickrun :around #'my-quickrun)

Hope this helps!

I'll give that a try, thanks