emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@uva.nl>
To: Wanrong Lin <wanrong.lin@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: table parsing is on in BEGIN_EXAMPLE section
Date: Sun, 29 Jun 2008 16:49:32 +0200	[thread overview]
Message-ID: <F77A4A74-5094-4EF1-BCD8-2FF8596EF4DA@uva.nl> (raw)
In-Reply-To: <4863B141.9080509@gmail.com>


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_EXAMPLE
>
>
> It 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

      reply	other threads:[~2008-06-29 19:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-26 15:09 Bug: table parsing is on in BEGIN_EXAMPLE section Wanrong Lin
2008-06-29 14:49 ` Carsten Dominik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F77A4A74-5094-4EF1-BCD8-2FF8596EF4DA@uva.nl \
    --to=dominik@uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=wanrong.lin@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).