emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: Error using C-' (org-edit-special) to edit code block [8.2.10 (release_8.2.10 )]
@ 2016-06-09  2:29 Dmitri Brengauz
  2016-06-19 16:41 ` Kyle Meyer
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitri Brengauz @ 2016-06-09  2:29 UTC (permalink / raw)
  To: emacs-orgmode

*  What exactly did you do?
- Started Emacs with no configuration (debug-on-error set)
- Opened an org-mode file with a text block
- Hit C-'
- The source code block becomes highlighted, An edit buffer appears;
code from the block is inserted into the buffer.

*  What did you expect to happen?
I expected to be able to edit the source, then insert it into org-mode
file with another invocation of C-'

*  What happened instead?
- The buffer appears, but an error is generated.
- C-x C-s prompts for a filename to save buffer in instead of
inserting it into org file.
- C-c ' is undefined, so it will not let me close the edit buffer and
go back to the file.

*Backtrace*
Debugger entered--Lisp error: (wrong-type-argument listp t)
  delete((org-filtered) t)
  remove((org-filtered) t)
  org-move-to-column(0)
  org-edit-src-code()
  org-edit-special(nil)
  funcall-interactively(org-edit-special nil)
  call-interactively(org-edit-special nil nil)
  command-execute(org-edit-special)


Emacs  : GNU Emacs 25.1.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.13)
 of 2016-05-31
Package: Org-mode version 8.2.10 (release_8.2.10 @
$HOME/usr/share/emacs/25.1.50/lisp/org/)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bug: Error using C-' (org-edit-special) to edit code block [8.2.10 (release_8.2.10 )]
  2016-06-09  2:29 Bug: Error using C-' (org-edit-special) to edit code block [8.2.10 (release_8.2.10 )] Dmitri Brengauz
@ 2016-06-19 16:41 ` Kyle Meyer
  0 siblings, 0 replies; 2+ messages in thread
From: Kyle Meyer @ 2016-06-19 16:41 UTC (permalink / raw)
  To: Dmitri Brengauz; +Cc: emacs-orgmode

Hello,

Dmitri Brengauz <dmitri@momus.net> writes:

[...]

> *  What did you expect to happen?
> I expected to be able to edit the source, then insert it into org-mode
> file with another invocation of C-'
>
> *  What happened instead?
> - The buffer appears, but an error is generated.
> - C-x C-s prompts for a filename to save buffer in instead of
> inserting it into org file.
> - C-c ' is undefined, so it will not let me close the edit buffer and
> go back to the file.

[...]

> Package: Org-mode version 8.2.10 (release_8.2.10 @
> $HOME/usr/share/emacs/25.1.50/lisp/org/)

I cannot trigger the issue with Org 8.3.4.  I was able to enter in and
out of the source blocks below with C-'.

    #+BEGIN_SRC elisp
      (message "ok")
    #+END_SRC

    #+BEGIN_SRC text
      adsfasdf
    #+END_SRC

Please try upgrading to a newer version of Org.

--
Kyle

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-06-19 16:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-09  2:29 Bug: Error using C-' (org-edit-special) to edit code block [8.2.10 (release_8.2.10 )] Dmitri Brengauz
2016-06-19 16:41 ` Kyle Meyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).