From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: Re: [RFC] Shrink columns dynamically Date: Tue, 11 Jul 2017 18:40:46 +0200 Message-ID: References: <87bmoswkvs.fsf@nicolasgoaziou.fr> <87d198uznu.fsf@mat.ucm.es> <87o9ss4aj4.fsf@nicolasgoaziou.fr> <87mv8btctl.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56532) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUyER-0003WG-B6 for emacs-orgmode@gnu.org; Tue, 11 Jul 2017 12:41:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUyEO-0003we-9h for emacs-orgmode@gnu.org; Tue, 11 Jul 2017 12:41:51 -0400 Received: from mail-qk0-f181.google.com ([209.85.220.181]:34073) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dUyEO-0003wR-5E for emacs-orgmode@gnu.org; Tue, 11 Jul 2017 12:41:48 -0400 Received: by mail-qk0-f181.google.com with SMTP id d78so8044702qkb.1 for ; Tue, 11 Jul 2017 09:41:48 -0700 (PDT) In-Reply-To: <87mv8btctl.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: Org Mode Hi Nicolas On Tue, Jul 11, 2017 at 1:47 PM, Nicolas Goaziou wrote: > Michael Brand writes: >> Also I hope that you can build in complete removal of columns for >> export similar to as discussed around here: >> http://lists.gnu.org/archive/html/emacs-orgmode/2016-04/msg00672.html > Besides, was I supposed to implement it? No. > I cannot access the page right > now, but IIRC, you suggested the idea, with a proof of concept. Then, we > eventually ended up on some specifications. Yes. To summarize the old thread, this is what I have since then in my config file to use with | <#> |: (add-hook 'org-export-before-processing-hook #'f-ox-filter-table-column-del) (defun f-ox-filter-table-column-del (back-end) (while (re-search-forward "^[ \t]*|\\(.*|\\)? *\\(<#>\\) *|" nil t) (goto-char (match-beginning 2)) (org-table-delete-column) (beginning-of-line))) > I thought you would resume the work. On my list it is still in someday/maybe, not likely to change. The "problem" is that the above code is already enough. Quoting from the old thread: On Tue, Apr 26, 2016 at 10:56 PM, Michael Brand wrote: > On Tue, Apr 26, 2016 at 9:14 PM, Nicolas Goaziou wrote: >> Does anyone feel like doing that? > Let me see. If anyone wants to beat me please go ahead. Michael