? autocomplete.patch
Index: misc/autocomplete.js
===================================================================
RCS file: /cvs/drupal/drupal/misc/autocomplete.js,v
retrieving revision 1.34
diff -u -p -r1.34 autocomplete.js
--- misc/autocomplete.js	5 Sep 2009 12:03:31 -0000	1.34
+++ misc/autocomplete.js	12 Nov 2009 15:19:26 -0000
@@ -155,10 +155,16 @@ Drupal.jsAC.prototype.unhighlight = func
  * Hides the autocomplete suggestions.
  */
 Drupal.jsAC.prototype.hidePopup = function (keycode) {
+  var input = this.input;
   // Select item if the right key or mousebutton was pressed.
   if (this.selected && ((keycode && keycode != 46 && keycode != 8 && keycode != 27) || !keycode)) {
     this.input.value = $(this.selected).data('autocompleteValue');
+    this.input.select();
+    setTimeout(function () {
+      input.select();
+    }, this.delay);
   }
+
   // Hide popup.
   var popup = this.popup;
   if (popup) {
