jplindstrom / emacs-org-transform-tree-table

Transform an org-mode outline and its properties to a table format (org-table, CSV)
GNU General Public License v3.0
26 stars 4 forks source link

the cases are not conserved #6

Open ouboub opened 2 years ago

ouboub commented 2 years ago

Hi consider please the following sequence

| Heading         | User | Email | Phone |
| * First entry   |      |       |       |
| ** Second entry |      |       |       |
| ** Third entry  |      |       |       |

| Heading         | User  | Email           | Phone |
| * First entry   | Mike  | mike@gmail.com  |  1234 |
| ** Second entry | Joe   | joe@gmail.com   |  5678 |
| ** Third entry  | Linda | linda@gmail.com |  9012 |

that get transformed to

* First entry
  :PROPERTIES:
  :User:     Mike
  :Email:    mike@gmail.com
  :Phone:    1234
  :END:
** Second entry
   :PROPERTIES:
   :User:     Joe
   :Email:    joe@gmail.com
   :Phone:    5678
   :END:
** Third entry
   :PROPERTIES:
   :User:     Linda
   :Email:    linda@gmail.com
   :Phone:    9012
   :END:

case conserved, but when again toggling back

| Heading         | USER  | EMAIL           | PHONE |
| * First entry   | Mike  | mike@gmail.com  |  1234 |
| ** Second entry | Joe   | joe@gmail.com   |  5678 |
| ** Third entry  | Linda | linda@gmail.com |  9012 |

case is not saved

that is a bit annoying, any change to change it?

regards

Uwe Brauer