From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: Re: tables, comment in one line, export to html Date: Tue, 26 Apr 2016 22:56:54 +0200 Message-ID: References: <87inzdhn50.fsf@mat.ucm.es> <87r3ds71se.fsf@mat.ucm.es> <874maocnsg.fsf@torysa-worldsendless.byu.edu> <87lh40mbcm.fsf@saiph.selenimh> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58762) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avA2S-0000Zt-GX for emacs-orgmode@gnu.org; Tue, 26 Apr 2016 16:56:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avA2R-0001eY-H2 for emacs-orgmode@gnu.org; Tue, 26 Apr 2016 16:56:56 -0400 Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]:35520) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avA2R-0001eR-9U for emacs-orgmode@gnu.org; Tue, 26 Apr 2016 16:56:55 -0400 Received: by mail-wm0-x22a.google.com with SMTP id e201so11922456wme.0 for ; Tue, 26 Apr 2016 13:56:55 -0700 (PDT) In-Reply-To: <87lh40mbcm.fsf@saiph.selenimh> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: "Tory S. Anderson" , Uwe Brauer , Michael Brand , emacs-orgmode Hi On Tue, Apr 26, 2016 at 9:14 PM, Nicolas Goaziou 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