I’m facing a strange problem with a package. When my package function completes, I want to show a message to the user. Is
alert() the correct way to do this?
I have assigned the shortcut
ctrl-alt-b to my package function. Everything works fine when I’m not showing the alert. But as soon as I enable the alert, pressing the shortcut inserts a character into the current editor.
In my case, it’s ∫, which is triggered by
ctrl-alt-b on Mac OS X.
Is this is a known issue? Showing the alert seems to hand over the key press to the OS. Is there a way to prevent this?