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

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

bug#23842: 24.4; Runaway background process


From: Eli Zaretskii
Subject: bug#23842: 24.4; Runaway background process
Date: Mon, 27 Jun 2016 18:49:41 +0300

> From: Ken Brown <kbrown@cornell.edu>
> Date: Mon, 27 Jun 2016 09:24:06 -0400
> Cc: 23842@debbugs.gnu.org
> 
>      ;; Show possible completions in a temporary buffer.
>      (with-output-to-temp-buffer "*Completions*"
>        (display-completion-list allcomp))
>      ;; Wait for a key press. Then delete *Completion*  window
>      (momentary-string-display "" (point))
>      (delete-window (get-buffer-window (get-buffer "*Completions*")))))
> 
> It's hard to see how this could possibly work.  As soon as you click in 
> the *Completion* window, the window is deleted.

It could perhaps work if we didn't check the window for being a live
one.

Anyway, the code is definitely broken and should be fixed.





reply via email to

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