hydra icon indicating copy to clipboard operation
hydra copied to clipboard

Strange issue in comint buffers when opening hydras

Open olymk2 opened this issue 6 years ago • 3 comments

if I have 2 buffers open one with code in which is focused and another with a comint buffer in displaying >>> when I open a hydra from the focused buffer the hydra causes the comint buffer to duplicate so >>> becomes >>> >>> >>> and on closing the hydra it becomes >>> >>> >>> >>> I am at a complete loss as to what may be causing this.

Could this be a bug ? or some kind of mode hook thats triggered when opening a buffer or something, seems strange that a hydra could trigger something changing in another buffer happy to look into this myselff a bit but I have no idea where to even start looking and what might be causing this kind of interaction so even some pointers would be useful :)

olymk2 avatar Aug 14 '19 07:08 olymk2

Please post the code of the hydra you're using.

abo-abo avatar Aug 21 '19 09:08 abo-abo

I took a sample hydra to rule out my own hydra's I have a lot :)

(defhydra hydra-zoom (global-map "<f2>")
  "zoom"
  ("g" text-scale-increase "in")
  ("l" text-scale-decrease "out"))

You can see a short video below of hydra interacting with the comint buffer in some way.

https://imgur.com/a/jEpA7JT

I am not 100% sure this even is a hydra issue could be more low level its just a strange interaction

olymk2 avatar Aug 22 '19 15:08 olymk2

I tried to reproduce it, but I can't. The reason is likely in your config. Please try to reproduce with emacs -Q. And specify your Emacs version.

abo-abo avatar Aug 23 '19 14:08 abo-abo