Hi On Tue, Apr 26, 2016 at 9:14 PM, Nicolas Goaziou <m...@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