emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Brand <michael.ch.brand@gmail.com>
To: "Tory S. Anderson" <torys.anderson@gmail.com>,
	Uwe Brauer <oub@mat.ucm.es>,
	Michael Brand <michael.ch.brand@gmail.com>,
	emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: tables, comment in one line, export to html
Date: Tue, 26 Apr 2016 22:56:54 +0200	[thread overview]
Message-ID: <CALn3zoj6XQ5Tz4ffA2on2Kto2A6GuDY0aqfgUxQb+BiObLjNNA@mail.gmail.com> (raw)
In-Reply-To: <87lh40mbcm.fsf@saiph.selenimh>

Hi

On Tue, Apr 26, 2016 at 9:14 PM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:

> It sounds good, as long as it is clear this markers is for export
> consumption only, and has no special effect when using the spreadsheet.
>
> I suggest to use # or <#> instead of / so as to refer to "comment" (but
> still use / as the marker for the first column).

# in non-first columns to mean noexport of the column has the
disadvantage of possible confusion with # in the first column where it
means special effect for recalculation when using the spreadsheet. As
I understand your first paragraph you want to avoid such confusion.

/ in non-first columns to mean noexport of the column as I did before
has the disadvantage of possible confusion with / in the first column
where it means noexport of the row.

<#> I find a bit too near to <5>, <, > or <>.

% or ; used for comments in LaTeX or Emacs Lisp I would find a good
space saving single character alternative. Why not % as this would not
be the first time that Org borrowed some syntax elements from LaTeX?
The glyph has also similarities to / that has a similar meaning.

> The removal could be done in a function like
> `org-export--delete-commented-rows' (see `org-export--delete-comments'
> in "ox.el").

And just to mention if someone wants to start: The non-greediness I
did before is not necessary and could be omitted for better
readability:
old: "^[ \t]*| +/ +|\\(.*?|\\)?? +\\(/\\) +|"
new: "^[ \t]*| +/ +|\\(.*|\\)? +\\(%\\) +|"

> This would also require documenting it in the manual and providing
> tests.

And a change note.

> Does anyone feel like doing that?

Let me see. If anyone wants to beat me please go ahead.

Michael

  reply	other threads:[~2016-04-26 20:56 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-19 11:08 tables, comment in one line, export to html Uwe Brauer
     [not found] ` <6pkhucxunh.ln2@news.c0t0d0s0.de>
2016-04-19 13:40   ` Uwe Brauer
2016-04-19 13:42   ` Uwe Brauer
2016-04-26 16:25 ` Michael Brand
2016-04-26 16:49   ` Uwe Brauer
2016-04-26 16:55     ` Tory S. Anderson
2016-04-26 19:14       ` Nicolas Goaziou
2016-04-26 20:56         ` Michael Brand [this message]
2016-04-26 21:10           ` Nicolas Goaziou
2016-04-27  5:56             ` Michael Brand
2016-04-27  8:04               ` Nicolas Goaziou
2016-04-27  8:19                 ` Nicolas Goaziou
2016-04-27 10:18                   ` Michael Brand
2016-04-27 11:45                     ` Nicolas Goaziou
     [not found] <55d89bd56ed0429d8029b34af3a8f866@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-04-19 17:01 ` Eric S Fraga
     [not found] ` <caa61e02395342579726b84d3cbca9e0@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-04-19 19:02   ` Eric S Fraga
2016-04-19 19:54     ` Uwe Brauer
     [not found]     ` <5fe8d3fe10224e88baac3f6665607e4d@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-04-20  7:38       ` Eric S Fraga

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=CALn3zoj6XQ5Tz4ffA2on2Kto2A6GuDY0aqfgUxQb+BiObLjNNA@mail.gmail.com \
    --to=michael.ch.brand@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=oub@mat.ucm.es \
    --cc=torys.anderson@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).