emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Luis Muñiz" <org-mode@lmunix.net>
To: emacs-orgmode@gnu.org
Subject: Babel-tables: Column-width formatting strings should be discarded while tangling
Date: Sat, 18 Aug 2012 15:28:35 +0200	[thread overview]
Message-ID: <CAOiqyq7WWNLfbaokTmeQo=xVC-i=kWZtcfVZ0qDJ_O6LUO469A@mail.gmail.com> (raw)

Given the following table and source block:
#+TBLNAME: sample-table
|     n |       2**n |       3**n |
|   <5> |       <10> |       <10> |
|     1 |          2 |          3 |
|     2 |          4 |          9 |

#+BEGIN_SRC emacs-lisp :var data=sample-table :tangle yes

After tangling the code block, the formatting strings are there.  Okay,
the <a href="http://orgmode.org/org.html#Column-width-and-alignment">documentation</a>
clearly states that /Lines which only contain these formatting cookies
will be removed automatically when exporting the document/, and I've
*tangled*, not *exported*.  But, should not the same happen when tangling?
Moreover, it is done with <a
href="http://orgmode.org/org.html#hlines">horizontal lines</a>,
<a href="http://orgmode.org/org.html#colnames">column names</a>,
and <a href="http://orgmode.org/org.html#rownames">row names</a>.

I'm using org-mode version 7.8.11 from the GIT repository (updated
yesterday release_7.8.11-505-g952d72), and Emacs 23.2.1.  I have
tested with some of the other formatting strings (alignment, <l>, <c>
and <r>) with the same results.

  - Luis Muñiz

                 reply	other threads:[~2012-08-18 13:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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:

  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='CAOiqyq7WWNLfbaokTmeQo=xVC-i=kWZtcfVZ0qDJ_O6LUO469A@mail.gmail.com' \
    --to=org-mode@lmunix.net \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: Babel-tables: Column-width formatting strings should be discarded while tangling' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


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).