gnu-emacs-sources
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: completion-ui.el -- major new release of completion user interface p


From: Toby Cubitt
Subject: Re: completion-ui.el -- major new release of completion user interface package
Date: Fri, 12 May 2006 23:25:33 +0200
User-agent: Mutt/1.5.11

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: address@hidden
web: www.dr-qubit.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]