2

I forgot to type :results none in babel and now I have a huge table in my org file. How can I select all of those lines and delete them? When I try the straight forward approach of moving to the end of the buffer, Emacs freezes up and I get a "Timed out waiting for property viewers" message in the minibuffer.

2
  • Would C-M-s ^$ work?
    – legoscia
    Apr 7, 2015 at 14:01
  • 4
    Can you switch to a different mode to delete the table?
    – choroba
    Apr 7, 2015 at 14:18

1 Answer 1

2

Using org-narrow-to-element might help:

  1. In the #+RESULT line call C-x n e to narrow to the result.
  2. Do something like

    M-: (delete-region (point-min) (point-max)) RET

    to clear everything in the narrowed file.

  3. Do C-x n w to widen back to the whole file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.