|
From: | Carsten Dominik |
Subject: | Re: [Orgmode] Bug: table parsing is on in BEGIN_EXAMPLE section |
Date: | Sun, 29 Jun 2008 16:49:32 +0200 |
On Jun 26, 2008, at 5:09 PM, Wanrong Lin wrote:
Hi,I just had a need to use the +BEGIN_EXAMPLE marker, and I found that if I have a directory tree listing like this:+BEGIN_EXAMPLE +---bin | +---decoder_a.exe | +---decoder_b.exe | +---encoder.exe +---doc +END_EXAMPLEIt will be treated (and font-locked) as a table. Not really a a big deal unless I press the "Tab" key on it. Just want to report it in the hope that it is a snap for Carsten to fix it. :-)
No, this in not easy to fix. The table commands are all context- sensitive, each command needs to test if the cursor is currently in a table - I do not want to mack this test more complicated that necessary. Right now it only checks if the first character in a line is "|". Going back to search for BEGIN_EXAMPLE would significantly more elaborate and slow down table editing.
- Carsten
[Prev in Thread] | Current Thread | [Next in Thread] |