From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brad Collins Subject: Re: How to make org-src-mode stop recognizing tables in box diagrams? Date: Mon, 15 Jul 2013 06:23:07 +0700 Message-ID: <87fvvgn2uc.fsf@bulma.chenla.la> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41379) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UyW6W-0000SE-2v for emacs-orgmode@gnu.org; Sun, 14 Jul 2013 19:53:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UyW6U-0000vH-Uc for emacs-orgmode@gnu.org; Sun, 14 Jul 2013 19:53:24 -0400 Received: from outmail149122.authsmtp.com ([62.13.149.122]:53785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UyW6U-0000v7-M6 for emacs-orgmode@gnu.org; Sun, 14 Jul 2013 19:53:22 -0400 Received: from mail-c233.authsmtp.com (mail-c233.authsmtp.com [62.13.128.233]) by punt5.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id r6ENNEIq075077 for ; Mon, 15 Jul 2013 00:23:14 +0100 (BST) Received: from bulma ([175.100.97.33]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2/) with ESMTP id r6ENN843091632 for ; Mon, 15 Jul 2013 00:23:11 +0100 (BST) In-Reply-To: (Jisang Yoo's message of "Mon, 15 Jul 2013 05:28:58 +0900") 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@gnu.org Jisang Yoo writes: Try an ascii block instead. #+BEGIN_ASCII +---------+ | | | box | | | +---------+ #+END_ASCII > 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? > -- Brad Collins skype|twitter|wave: deerpig http://chenla.la