Subject: Re: bug#19887: 24.4; Cannot kill buffer; Wrong type argument: overlayp, nil

From: Alexis <[email-masked]>
Date: Wed, 18 Feb 2015 11:35:24 +1100

On 2015-02-18T06:25:57+1100, Glenn Morris said:

 GM> 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 
 >> block.
 >> 
 >> - Start C++ mode (c++-mode)
 >> 
 >> - Try to kill the buffer.

 GM> Please do

 GM> M-x toggle-debug-on-error

 GM> repeat the problem, and post the resulting backtrace.  (I 
 can't GM> reproduce it.)

Running a manually compiled Emacs 24.4.1 on Debian 
Wheezy(+updates) x86_64, and following the above steps, i can't 
reproduce this either.

>From the above description, i assume by the "Start C++ mode" line, 
you're not moving the cursor inside the source block and then 
doing:

    C-c '

(i.e. `org-edit-special`) in order to open a c++-mode buffer for 
editing the block contents?

Alexis.