From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#29726: 25.1; SIGSEGV in find-file Date: Sat, 16 Dec 2017 22:48:05 +0200 Message-ID: <83mv2iqu0q.fsf@gnu.org> References: <1513374498.13815.28.camel@bloodnok.com> <83lgi3rp5x.fsf@gnu.org> <1513453388.13815.31.camel@bloodnok.com> <83o9myqvwd.fsf@gnu.org> <1513456260.13815.35.camel@bloodnok.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1513457239 7904 195.159.176.226 (16 Dec 2017 20:47:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 16 Dec 2017 20:47:19 +0000 (UTC) Cc: 29726@debbugs.gnu.org To: Marc Munro Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 16 21:47:15 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQJMZ-0001qk-7F for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Dec 2017 21:47:15 +0100 Original-Received: from localhost ([::1]:51991 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQJOX-0001Ol-9K for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Dec 2017 15:49:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60659) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQJOR-0001ON-7p for bug-gnu-emacs@gnu.org; Sat, 16 Dec 2017 15:49:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQJOI-0005Rh-HH for bug-gnu-emacs@gnu.org; Sat, 16 Dec 2017 15:49:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57282) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eQJOI-0005RO-E5 for bug-gnu-emacs@gnu.org; Sat, 16 Dec 2017 15:49:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eQJOI-0002ty-7h for bug-gnu-emacs@gnu.org; Sat, 16 Dec 2017 15:49:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Dec 2017 20:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29726 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29726-submit@debbugs.gnu.org id=B29726.151345730411107 (code B ref 29726); Sat, 16 Dec 2017 20:49:02 +0000 Original-Received: (at 29726) by debbugs.gnu.org; 16 Dec 2017 20:48:24 +0000 Original-Received: from localhost ([127.0.0.1]:37730 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQJNg-0002t4-FJ for submit@debbugs.gnu.org; Sat, 16 Dec 2017 15:48:24 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:41231) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQJNe-0002sp-3I for 29726@debbugs.gnu.org; Sat, 16 Dec 2017 15:48:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQJNU-0004RZ-AY for 29726@debbugs.gnu.org; Sat, 16 Dec 2017 15:48:16 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38772) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQJNU-0004RP-75; Sat, 16 Dec 2017 15:48:12 -0500 Original-Received: from [176.228.60.248] (port=3867 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eQJNS-0003Ni-CL; Sat, 16 Dec 2017 15:48:12 -0500 In-reply-to: <1513456260.13815.35.camel@bloodnok.com> (message from Marc Munro on Sat, 16 Dec 2017 12:31:00 -0800) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:141182 Archived-At: > From: Marc Munro > Cc: 29726@debbugs.gnu.org > Date: Sat, 16 Dec 2017 12:31:00 -0800 > > > Can you point me to the part of your code which causes the > > completions > > to appear in a separate frame? > > Yep, it's in k-frame.el > > k-frame::display-buffer-actor is the controller for this. It is set up > to take control from display-buffer by setting: > display-buffer-overriding-action > > Its job is to find the best window for displaying a buffer, mostly > without splitting windows. When it displays a buffer it highlights the > window and allows the user to choose an alternative window if they > don't like it (through F5). That's the theory anyway. > > The first (unless... in that function is a, disabled, hack that enables > a work-around for the crash by treating completions buffers as special > and doing nothing. The hack is currently disabled by the (and nil > ....) expression. OK, but your recipe says "completion frame appears", so somewhere a new frame should be popped up. Can you point me to the code which does that in your case? What's the display-buffer-overriding-action's value in your case? Also, why does the debug message says the buffer is *Backtrace* in my case? Does the same happen for you? *Backtrace* is the buffer where Emacs shows backtrace from Lisp errors, so perhaps something causes an error in my case?