emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Rolf Sander <rolf.sander@mpic.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Fwd: comment lines inside org tables
Date: Fri, 30 Sep 2016 17:36:06 +0200	[thread overview]
Message-ID: <8737khxuvt.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <ef074eb6-57dc-71ef-5310-ce83bc11b058@mpic.de> (Rolf Sander's message of "Fri, 30 Sep 2016 16:52:43 +0200")

Hello,

Rolf Sander <rolf.sander@mpic.de> writes:

> I want to add a comment line into the file that does not disturb the
> table.

Disturb the table wrt to what action? Alignment? This is a minor issue
if you fix an arbitrary column width, isn't it?

> Like a "|---+---+---|" hline. I don't want any action. All
> programming languages have the option to add comments to the source
> code.

But Org is not a programming language, and an Org document is not source
code.

> Okay, so my question turns into a feature request now...

Allowing to comment anything is a can of worms I really don't want to
open. It complicates a lot of code for little benefit.

> I have started to modify defun org-table-align. With the modification,
> org-tbl now ignores all lines starting with "|-/". For me it works
> fine.

Sorry, but you're barely scratching the surface of the problem. Tables
are not just about alignment. Formulas don't handle these special lines,
neither do exported tables.

Again, this implies a serious work on org-table.el, and it would
introduce inconsistencies with other parts of Org (e.g., lists, where
you cannot comment an item, or even the syntax for commenting table
rows, which would be unusual).

All in all, I think there are more important itches to scratch for the
time being. Of course, YMMV.


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2016-09-30 15:36 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-27  8:05 comment lines inside org tables Rolf Sander (MPI)
2016-09-27 10:56 ` Fwd: " Rolf Sander (MPI)
2016-09-27 11:31   ` Nicolas Goaziou
2016-09-27 12:06     ` Rolf Sander (MPI)
2016-09-27 21:36       ` Nicolas Goaziou
2016-09-30 14:52         ` Rolf Sander
2016-09-30 15:36           ` Nicolas Goaziou [this message]
2016-10-02 19:23             ` Rolf Sander
2016-10-03 13:16               ` Rolf Sander (MPI)
     [not found]               ` <6cd445a96b6d4cd88b912298ee4f4df1@DB5PR01MB1895.eurprd01.prod.exchangelabs.com>
2016-10-03 13:27                 ` Eric S Fraga
2016-10-05 12:30                   ` Rolf Sander (MPI)
2016-10-05 14:58                     ` Nicolas Goaziou
2016-10-05 15:32                       ` Rolf Sander (MPI)
2016-10-05 16:10                         ` Thomas S. Dye
2016-10-05 16:29                         ` Nicolas Goaziou
  -- strict thread matches above, loose matches on Subject: below --
2016-09-27 11:18 John Kitchin

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=8737khxuvt.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=rolf.sander@mpic.de \
    /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).