From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jisang Yoo Subject: How to make org-src-mode stop recognizing tables in box diagrams? Date: Mon, 15 Jul 2013 05:28:58 +0900 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60076) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UySul-0000WL-B2 for emacs-orgmode@gnu.org; Sun, 14 Jul 2013 16:29:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UySuh-0006fp-36 for emacs-orgmode@gnu.org; Sun, 14 Jul 2013 16:29:03 -0400 Received: from mail-qc0-x22d.google.com ([2607:f8b0:400d:c01::22d]:54604) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UySug-0006fi-Uy for emacs-orgmode@gnu.org; Sun, 14 Jul 2013 16:28:58 -0400 Received: by mail-qc0-f173.google.com with SMTP id l10so5895607qcy.4 for ; Sun, 14 Jul 2013 13:28:58 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode When I draw a box diagram in an example block or a source code block, the rectangles trigger org-src-mode to recognize that as tables. For example, If I org-edit-special on the following: #+BEGIN_EXAMPLE +---------+ | | | box | | | +---------+ #+END_EXAMPLE I get a message "Recognizing tables...done" and the inside of the box is painted blue. The reason I am not using colon blocks like: : +---------+ : | | : | box | : | | : +---------+ is because I couldn't find a way to fold them. If I draw a diagram like this (with dot prefix): #+BEGIN_EXAMPLE . +---------+ . | | . | box | . | | . +---------+ #+END_EXAMPLE the dots prevent org-src-mode from recognizing the rectangle as a table, but is there a way to prevent org-src-mode from recognizing tables without resorting to this prefix trick?