I'm back with another feature request, hoping not annoying you

So far so good, I've been able to customize context menu in a buffer. But while using IDE, I've surprised myself (...) right-click on tab label, instead of buffer content, in order to select one of my custom actions. This is because these actions are related to the whole file, not part of the content, so instinctively I clicked on the tab.
So, I'd now like to customize tab menus. I've found no way to do this with current version. I had a look at ed_msg, and found EDMSG_MENU, but it doesn't seem to be used. I then patched ed_pages, (see attachment, probably refactoring needed) in order to post message when right-clicking on a tab. Maybe an EDMSG_TAB_MENU message would be more appropriate, as I don't know what's the meaning behind EDMSG_MENU (might be too general).
What do you think about this ?
PS: ideally, I'd also like to customize context menu in CodeBrowser too. Are you ok if I provide patches too ?
Cheers,
Seb

