all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: emacs-orgmode@gnu.org
Subject: Re: [SOLVED]
Date: Wed, 04 Apr 2018 15:29:52 +0200	[thread overview]
Message-ID: <87sh8bdrqn.fsf@mat.ucm.es> (raw)
In-Reply-To: 87po3frtmr.fsf@mat.ucm.es




   > To answer my own question

   > | / | /     |     |       | /   |
   > |   | Name  | Res | Letra | Obs |
   > |---+-------+-----+-------+-----|
   > |   | Smith |   0 |       |     |
   > |   | Jones | 1.4 |       |     |
   > |   | Bond  | 5.6 | *     |     |

   > All columns starting with / are ignored when exporting. Sorry for the
   > noise and the double posting.


That is not entirely correct. Someone (I forgot who it was, sorry)
provided me with the following hack


(add-hook 'org-export-before-processing-hook
           'f-ox-filter-table-column-del)


(defun f-ox-filter-table-column-del (back-end)
   "Delete the columns $2 to $> marked as \"/\" on a row with \"/\" in $1.
 If you want a non-empty column $1 to be deleted make it $2 by
 inserting an empty column before or rearrange column order in
 some other way. Make sure \"/\" is in $1 again after that."
   (while (re-search-forward
           "^[ \t]*| +/ +|\\(.*?|\\)?? +\\(/\\) +|" nil t)
     (goto-char (match-beginning 2))
     (org-table-delete-column)
     (beginning-of-line)))


That is very useful and I wonder why there is nothing in org vanilla
(but then it might and I did not find it.)

  reply	other threads:[~2018-04-04 13:32 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-04  9:08 export table to html, don't display certain columns Uwe Brauer
2018-04-04 13:25 ` [SOLVED] (was: export table to html, don't display certain columns) Uwe Brauer
2018-04-04 13:29   ` Uwe Brauer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-11-29 13:36 count all spelling typos in a given buffer Uwe Brauer
2023-11-29 20:54 ` Emanuel Berg
2023-11-30  9:49   ` [SOLVED] (was: count all spelling typos in a given buffer.) Uwe Brauer
2023-12-01  5:59     ` Emanuel Berg
2023-12-01  6:56       ` [SOLVED] Uwe Brauer
2022-10-02 20:18 add-log-time-format with time? Uwe Brauer
2022-10-03  6:49 ` [SOLVED] (was: add-log-time-format with time?) Uwe Brauer
2022-10-03 11:33   ` Emanuel Berg
2022-10-09  5:51     ` [SOLVED] Uwe Brauer
2022-07-23 16:45 problems with better-registers: turn-off-all-minor modes or remove all text-properties Uwe Brauer
2022-07-24  0:09 ` Michael Heerdegen
2022-07-24  3:59   ` Michael Heerdegen
2022-07-24  5:39     ` Uwe Brauer
2022-07-24 19:51       ` [SOLVED] (was: problems with better-registers: turn-off-all-minor modes or remove all text-properties) Uwe Brauer
2022-07-24 22:36         ` [SOLVED] Michael Heerdegen
2022-07-25  5:37           ` [SOLVED] Uwe Brauer
2022-07-25  5:49             ` [SOLVED] Uwe Brauer
2022-07-25 17:09               ` [SOLVED] Stefan Monnier via Users list for the GNU Emacs text editor
2022-07-25 19:49                 ` [SOLVED] Uwe Brauer
2022-07-25 22:37                   ` [SOLVED] Michael Heerdegen
2022-07-26  4:57                     ` [SOLVED] Uwe Brauer
2022-07-26 13:01                       ` [SOLVED] Thorsten Bonow
2022-07-26 15:02                         ` [SOLVED] Uwe Brauer
2022-07-26 16:23                           ` [SOLVED] Yuri Khan
2022-07-26 23:28                             ` [SOLVED] Michael Heerdegen
2022-07-27 10:50                             ` [SOLVED] Uwe Brauer
2022-07-27 15:04                               ` [SOLVED] Yuri Khan
2022-07-28 14:46                                 ` [SOLVED$ Uwe Brauer
2021-12-28 13:41 [BUG] org-persist [9.5 (release_9.5-194-gdb302d @ /home/oub/emacs/site-lisp/packages/org/)] Uwe Brauer
2021-12-28 13:53 ` [SOLVED] (was: [BUG] org-persist [9.5 (release_9.5-194-gdb302d @ /home/oub/emacs/site-lisp/packages/org/)]) Uwe Brauer
2021-12-28 14:49   ` Ihor Radchenko
2021-12-28 17:28     ` [SOLVED] Uwe Brauer
2021-12-29  5:11       ` [SOLVED] Ihor Radchenko
2021-12-29  8:06         ` [SOLVED] Uwe Brauer
2021-12-29  8:18           ` [SOLVED] Ihor Radchenko
2021-10-06 15:53 how to randomize (scample) regions in a an (org) buffer Uwe Brauer
2021-10-06 16:35 ` [SOLVED] (was: how to randomize (scample) regions in a an (org) buffer) Uwe Brauer
2021-10-06 19:59   ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-06 20:24     ` [SOLVED] Uwe Brauer
2021-10-06 20:58       ` [SOLVED] Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-07  7:05         ` [SOLVED] Uwe Brauer
2021-10-07  8:15           ` [SOLVED] Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-28 16:46 how to export checkboxes to odt? Uwe Brauer
2021-09-28 20:21 ` [SOLVED] (was: how to export checkboxes to odt?) Uwe Brauer
2021-09-29  4:07   ` Timothy
2021-09-29  6:30     ` [SOLVED] Uwe Brauer
2019-12-11 21:50 org-ref-insert-cite-link inserts citep Uwe Brauer
2019-12-11 21:58 ` [SOLVED] (was: org-ref-insert-cite-link inserts citep) Uwe Brauer
2019-12-11 22:20   ` John Kitchin
2019-12-12  8:13     ` [SOLVED] Uwe Brauer
2018-11-29 11:38 org babel: %% [removed source block] Uwe Brauer
2018-11-29 16:32 ` Berry, Charles
2018-11-29 17:27   ` [SOLVED] (was: org babel: %% [removed source block]) Uwe Brauer
2018-11-29 22:20     ` [SOLVED] Nick Dokos
2018-03-01 13:37 how do you compose mails in Gnus with org-mode Joseph Vidal-Rosset
2018-03-03 11:57 ` Thorsten Jolitz
2018-03-06 10:12   ` Uwe Brauer
2018-03-06 18:24     ` Thorsten Jolitz
2018-03-06 19:01       ` Uwe Brauer
2018-03-06 19:36         ` Thorsten Jolitz
2018-03-07  9:57           ` Uwe Brauer
2018-03-07 17:46             ` Thorsten Jolitz
2018-03-08  8:50               ` Uwe Brauer
2018-03-08 16:58                 ` Thorsten Jolitz
2018-03-09 21:49                   ` [SOLVED] (was: how do you compose mails in Gnus with org-mode) Uwe Brauer
2018-03-09 22:59                     ` [SOLVED] Thorsten Jolitz
2015-11-06 19:36 emacs hebrew script bidi nikud rendering bugs Mark David
2015-11-07  9:41 ` Uwe Brauer
2015-11-07 11:36   ` Eli Zaretskii
2015-11-07 17:27     ` Uwe Brauer
2015-11-07 18:00       ` Eli Zaretskii
2015-11-07 18:32         ` Uwe Brauer
2015-11-07 18:52           ` Eli Zaretskii
2015-11-08  9:05             ` [SOLVED] (was: emacs hebrew script bidi nikud rendering bugs) Uwe Brauer
2015-11-09 17:52               ` [SOLVED] Benjamin Riefenstahl
2015-10-15  6:48 vc-next-action RCS vs hg: copies the entry of ChangeLog Uwe Brauer
2015-10-18  8:25 ` Uwe Brauer
2015-10-18  9:50   ` Dmitry Gutov
2015-10-18 13:06     ` Uwe Brauer
2015-10-18 20:04       ` Dmitry Gutov
2015-10-19  6:55         ` Uwe Brauer
2015-10-19  7:07           ` Eli Zaretskii
2015-10-19  8:14             ` Uwe Brauer
2015-10-19  8:30               ` Eli Zaretskii
2015-10-19  8:38                 ` Uwe Brauer
2015-10-19  9:04                   ` Eli Zaretskii
2015-10-19  9:15                     ` Uwe Brauer
2015-10-19  9:20                       ` Dmitry Gutov
2015-10-19 10:45                         ` Uwe Brauer
2015-10-19 10:51                           ` Dmitry Gutov
2015-10-19 10:57                             ` Uwe Brauer
2015-10-19 11:02                               ` Dmitry Gutov
2015-10-19 13:20                                 ` Uwe Brauer
2015-10-19 23:46                                   ` Dmitry Gutov
2015-10-20  6:05                                     ` Uwe Brauer
2015-10-20  8:34                                       ` Dmitry Gutov
2015-10-26 16:35                                         ` [Solved] (was: vc-next-action RCS vs hg: copies the entry of ChangeLog) Uwe Brauer
2015-10-27 13:15                                           ` [Solved] Dmitry Gutov
2015-10-27 14:23                                             ` [Solved] Uwe Brauer
2015-10-27 15:15                                               ` [Solved] Dmitry Gutov
2015-10-27 14:30                                             ` [Solved] Uwe Brauer
2010-08-13 14:37 Prefix-Arg (non-interactive!) in Info Memnon Anon
2010-08-13 15:17 ` Eli Zaretskii
2010-08-13 15:50   ` Memnon Anon
2010-08-13 16:09     ` Eli Zaretskii
2010-08-13 17:04       ` Memnon Anon
2010-08-13 19:33         ` Eli Zaretskii
2010-08-13 20:58           ` [Solved] (was: Prefix-Arg (non-interactive!) in Info) Memnon Anon
2010-08-14  8:05             ` Eli Zaretskii
2010-08-14 21:18               ` [Solved] Memnon Anon
2010-08-14 22:27                 ` [Solved] Eli Zaretskii

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sh8bdrqn.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --cc=emacs-orgmode@gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.