[jQuery] Event namespacing - how to see the full event name?

[jQuery] Event namespacing - how to see the full event name?

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Arial">Hi,
I've been triggering several events as follows:
$('.foo').trigger('bar.update');
</font><font face="Arial">$('.foo').trigger('bar.show');
etc...
If I listen to the bar event on foo:
$('.foo').bind('bar', function(e) {
  // e.type = 'bar'
});
The event type property is always "bar" - how do I work out if
"bar.update" vs. "bar.show" was triggered?
I might be misunderstanding the event system (or more accurately it's
namespacing) but I imagined that I could listen to a specific "bar"
event:
</font><font face="Arial">$('.foo').bind('bar.update', handler);
Or all "bar" events (bar.update, bar.show, etc):
</font><font face="Arial">$('.foo').bind('bar', handler);
</font><font face="Arial">
When listening to all of them with a single handler, it would be useful
for the handler to see the full event name ("bar.update" instead of
just "bar") so I could switch on event type inside the handler.
I guess I could achieve the required effect using event data, but it
seems such a waste not to have the full event name in the event type
(or possibly a .name property could contain it?)
Any ideas?
Guy
</font>
</body>
</html>