A dependency on auto-overlays crept under the radar in my posting of
the completion-ui sources. The corrected sources for this (and any
other minor bugs I might find, which I will not in future announce
here) can be obtained from:

http://www.dr-qubit.org/download.php?file=predictive/completion-ui.el

or via the web page:

www.dr-qubit.org/emacs.php#completion


Alternatively, since I'm posting to this list anyway, here's the
necessary patch:


--- completion-ui.el    2006-05-12 23:15:01.000000000 +0200
+++ completion-ui.el    2006-05-12 22:55:11.000000000 +0200
@@ -1128,14 +1131,7 @@
       (let ((pos (point)))
        (save-excursion
          (forward-thing completion-word-thing)
-         (setq overlay
-               (car (sort (auto-overlays-in
-                           pos (point)
-                           '(identity completion-overlay))
-                          (lambda (o1 o2)
-                            (< (overlay-start o1)
-                               (overlay-start o2))))))
-         ))))
+         (setq overlay (completion-overlay-at-point))))))
   
   (let (prefix pos)
     ;; delete current completion if we're within one



Apologies for posting twice in quick succession. I should have
included the above URLs for minor bug fixes and updates in my original
mail.

Toby
-- 
PhD Student
Quantum Information Theory group
Max Planck Institute for Quantum Optics
Garching, Germany

email: [EMAIL PROTECTED]
web: www.dr-qubit.org


_______________________________________________
gnu-emacs-sources mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources

Reply via email to