0

In an eamcs -q session given the below code (* and % are position indicators)

#+begin_src python
  import IPython
  %import tabulate

  class OrgFormatter(IPython.core.formatters.BaseFormatter):
      format_type = IPython.core.formatters.Unicode('text/org')
      *print_method = IPython.core.formatters.ObjectName('_repr_org_')
#+end_src

When I run M-x comment-line in the * position, the line is commented, but the cursor is moved to %.

How can I fix this? Thanks.

  • Emacs: GNU Emacs 26.2.90 (build 1, x86_64-apple-darwin18.6.0, Carbon Version 158 AppKit 1671.5) of 2019-06-19
  • Org: Org mode version 9.2.4 (release_9.2.4-386-gb855ac @ /Users/user/.emacs.d/straight/build/org/)
  • 1
    I can reproduce this: it's most probably a bug. Can you please report it to the org mode mailing list? – NickD Jul 11 at 17:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.