tags 23842 patch quit Ian Perryman writes: > I am not the author of the verilog mode. I have alerted the maintainer > to the issue at > http://www.veripool.org/issues/1070-Verilog-mode-Auto-completion-results-in-runaway-emacs-process-in-emacs-24-4-on-Debian-using-2016-04-23-5f6855e-vpo > > Not sure what the intended behaviour is. My guess is that the list of > possible completions was to be presented in the temporary buffer, and > then user could select the completion they wanted with a mouse click > and it should be inserted back in the original buffer. > > Did the definition of with-output-to-temp-buffer change over the > years? I am not certain when this code was developed, but it was quite > a while back. I am surprised that no one else has complained about it. Probably most Emacs users don't use the mouse much. > > Perhaps the paradigm for completion is not being followed by this mode? > > Any suggestions? I can't really figure out how that completion window code is supposed to work, but it seems to be duplicating completion-at-point functionality. Patch below just replaces most of it with completion-at-point and it seems to work fine. But I see at the top of the file ;; This code supports Emacs 21.1 and later ;; And XEmacs 21.1 and later ;; Please do not make changes that break Emacs 21. Thanks! So it may need some adjustments for Emacs 21...