From mboxrd@z Thu Jan 1 00:00:00 1970 From: Damian Nadales Subject: bug#19887: 24.4; Cannot kill buffer; Wrong type argument: overlayp, nil Date: Wed, 18 Feb 2015 09:06:31 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50868) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YO0c2-00054K-5U for emacs-orgmode@gnu.org; Wed, 18 Feb 2015 04:08:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YO0by-0003K2-Iz for emacs-orgmode@gnu.org; Wed, 18 Feb 2015 04:08:06 -0500 Received: from debbugs.gnu.org ([140.186.70.43]:55672) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YO0by-0003Jx-F1 for emacs-orgmode@gnu.org; Wed, 18 Feb 2015 04:08:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YO0by-0005kQ-3i for emacs-orgmode@gnu.org; Wed, 18 Feb 2015 04:08:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Glenn Morris Cc: "19887@debbugs.gnu.org" <19887@debbugs.gnu.org> Hi Glenn, > Damian Nadales wrote: > > > > - Run emacs -Q > > > > - Create an org-mode file (i.e. ``myorgfile.org``) > > > > - Insert the following text: > > > > o #+BEGIN_SRC C++ > > > > #+END_SRC > > > > - Edit the source block by placing the cursor inside the SRC b= lock. > > [Damian Nadales] By the way, here editing should be done by placing the cursor in the org bu= ffer ``myorgfile.org``, and then pressing C-' to edit the source code in a = different buffer. And this is the buffer that cannot be killed. > > - Start C++ mode (c++-mode) > > > > - Try to kill the buffer. > > Please do > > M-x toggle-debug-on-error > > repeat the problem, and post the resulting backtrace. > (I can't reproduce it.) [Damian Nadales] This is what I got. Debugger entered--Lisp error: (wrong-type-argument overlayp nil) delete-overlay(nil) #[nil "\301=08!\207" [org-edit-src-overlay delete-overlay] 2]() kill-buffer("*Org Src myorgfile.org[ c++ ]*") call-interactively(kill-buffer nil nil) command-execute(kill-buffer) Thanks for your help. -- The information contained in this communication and any attachments is c= onfidential and may be privileged, and is for the sole use of the intended = recipient(s). Any unauthorized review, use, disclosure or distribution is p= rohibited. Unless explicitly stated otherwise in the body of this communica= tion or the attachment thereto (if any), the information is provided on an = AS-IS basis without any express or implied warranties or liabilities. To th= e extent you are relying on this information, you are doing so at your own = risk. If you are not the intended recipient, please notify the sender immed= iately by replying to this message and destroy all copies of this message a= nd any attachments. The sender nor the company/group of companies he or she= represents shall be liable for the proper and complete transmission of the= information contained in this communication, or for any delay in its recei= pt.