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 block. > > [Damian Nadales] By the way, here editing should be done by placing the cursor in the org buffer ``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!\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 confidential and may be privileged, and is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. Unless explicitly stated otherwise in the body of this communication or the attachment thereto (if any), the information is provided on an AS-IS basis without any express or implied warranties or liabilities. To the 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 immediately by replying to this message and destroy all copies of this message and 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 receipt.