Timeline for Unwanted Focus Shift when Clicking Menu Functions in Emacs Mode Line
Current License: CC BY-SA 4.0
16 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 21 at 22:34 | vote | accept | Gabriele | ||
Feb 19 at 23:55 | answer | added | Gabriele | timeline score: 0 | |
Feb 16 at 9:34 | comment | added | db48x | You’ve still got to narrow it down to something concrete. No way to fix it otherwise. It’s not some universal bug in Emacs that everyone has just been putting up with for years. It’s something that is affecting only you and your users. | |
Feb 16 at 9:32 | comment | added | Gabriele | @db48x I write code for a team and the issue happens on other machines with different settings (Linux Distro, Emacs version... etc.). | |
Feb 16 at 9:10 | comment | added | db48x | Well, like I said, the issue never happens here. Bisect your Emacs configuration, examine your window manager setup, try a different mouse, wait until a different phase of the moon, etc. | |
Feb 16 at 8:59 | comment | added | Gabriele |
@db48x Since the issue is random in the GIF I give C-g to abort the function when it works in the right way. In the MWE the issue is "rare" but in the my normal setting the issue happens more frequently.
|
|
Feb 16 at 8:49 | comment | added | db48x |
You could minimize this example a lot more by removing two of the three functions and corresponding menu items, removing the fontification in the modeline, etc. All of those appear to be extraneous details. That said, I cannot reproduce this. I click the menu item, I answer no until query-replace finishes, then hit enter when I see the final “function 1 executed” prompt. It is hard to tell what your gif is doing, but whatever it is must be caused by some other part of your Emacs config, or by the system you are running on, your hardware, etc.
|
|
Feb 15 at 21:31 | comment | added | Gabriele |
I updated my question adding a new MWE and a GIF. I also updated my Emacs to 29.1.
|
|
Feb 15 at 21:30 | history | edited | Gabriele | CC BY-SA 4.0 |
added 743 characters in body
|
Jan 24 at 18:09 | comment | added | Gabriele | @Drew I added the requested info | |
Jan 24 at 18:08 | comment | added | Gabriele | @phils I added the MWE but the issue is quite random. | |
Jan 24 at 18:05 | history | edited | Gabriele | CC BY-SA 4.0 |
added 1872 characters in body
|
Jan 24 at 17:04 | history | edited | Drew |
edited tags
|
|
Jan 24 at 2:54 | comment | added | Drew | Please include your Emacs version and platform in the question. | |
Jan 24 at 2:04 | comment | added | phils | "Creating a Minimal Working Example (MWE) for the menus, as they were generated using minor modes and easy-menu-define, would be challenging." -- The amount of code to define a minimal minor mode and menu is very small -- just provide a working example that way. | |
Jan 24 at 0:45 | history | asked | Gabriele | CC BY-SA 4.0 |