From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: diff-mode Date: Tue, 14 Dec 2010 07:48:29 -0800 Message-ID: <332220D46915411C9B8C8CF0DDAF6C40@us.oracle.com> References: <6174A3FCFD074EF5A396A7D095DEB814@us.oracle.com><886669ef-277b-4056-97e0-4580e90ce614@k25g2000vbl.googlegroups.com><79a18560-1385-439d-ad0b-ec386a352d4f@q8g2000prm.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1292341823 13067 80.91.229.12 (14 Dec 2010 15:50:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 14 Dec 2010 15:50:23 +0000 (UTC) To: "'Andrea Crotti'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 14 16:50:17 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PSX8i-0007ZP-S1 for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Dec 2010 16:50:15 +0100 Original-Received: from localhost ([127.0.0.1]:60281 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PSX8L-00024h-0s for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Dec 2010 10:49:45 -0500 Original-Received: from [140.186.70.92] (port=41419 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PSX7t-00021k-NC for help-gnu-emacs@gnu.org; Tue, 14 Dec 2010 10:49:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PSX7Y-0002kT-4y for help-gnu-emacs@gnu.org; Tue, 14 Dec 2010 10:48:57 -0500 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]:19084) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PSX7X-0002kG-Ta for help-gnu-emacs@gnu.org; Tue, 14 Dec 2010 10:48:56 -0500 Original-Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oBEFmqT1013387 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 14 Dec 2010 15:48:53 GMT Original-Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oBEFmd58015446; Tue, 14 Dec 2010 15:48:51 GMT Original-Received: from abhmt010.oracle.com by acsmt354.oracle.com with ESMTP id 852801611292341709; Tue, 14 Dec 2010 07:48:29 -0800 Original-Received: from dradamslap1 (/10.159.248.141) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 14 Dec 2010 07:48:29 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Acubn1d7xa3Szo0lRdqqbpqpvJkhHgABZmpQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:77498 Archived-At: > Anyway the error I get when in my configuration I try to kill > the ediff session is > > --8<---------------cut here---------------start------------->8--- > Quit this Ediff session & show containing session group? (y or n) > ediff-cleanup-mess: Attempt to delete minibuffer or sole > ordinary window > --8<---------------cut here---------------end--------------->8--- Great. Now you can report a bug: `M-x report-emacs-bug'. First: Load library `ediff-util.el' (the library where `ediff-cleanup-mess' is defined. Be sure to include the ".el" here, so you don't just load the byte-compiled file. Second: `M-x set-variable RET debug-on-error RET t RET', to show a backtrace when the error is raised. Include the backtrace in your bug report. _If_ you want to dig further to help find the problem, you can try to follow function `ediff-cleanup-mess' in the debugger: M-x debug-on-entry RET ediff-cleanup-mess RET When you try to quit `ediff', the debugger will open when `ediff-cleanup-mess' is invoked. Use `d' to step through the debugger (or `c' to skip through a step). You can add any info you learn this way to your bug report. (You can use command `cancel-debug-on-entry' to cancel `debug-on-entry'.) Essentially, the problem here is that there is only one window in the Ediff control frame, and Emacs tries to delete that lone window, which is a no-no. What Emacs should be doing here (probably) is to delete the frame. Instead, it thinks you want to keep the frame and it complains that it cannot delete the last window in the frame. IMO, this is a bug.