emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: attila <attila@stalphonsos.com>
To: Darlan Cavalcante Moreira <darcamo@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Script: convert Tomboy/GNote XML to org-mode
Date: Wed, 10 Aug 2011 13:43:22 -0500	[thread overview]
Message-ID: <4E42D14A.8030706@stalphonsos.com> (raw)
In-Reply-To: <4e42b974.02aaec0a.244b.58da@mx.google.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA384

On 08/10/2011 12:01 PM, Darlan Cavalcante Moreira wrote:
> 
>[snip]
> I have found one problem that prevents me from converting my notes
> correctly, though. In tomboy I have many notes where I use "*" as bullet
> item in the body starting in the first column. These bullet items are then
> interpreted as level-1 headings in the final notes.org file. This can be
> solved by indenting the body content of each converted note. Org-mode will
> then interpret the items as actual items instead of headlines.

Good point.  I had some issues with a couple of notes and had not yet
realized that the problem is the very one you're pointing out until
just now.  Thanks.  Check in on that github repository later in the
day or tomorrow and it should be fixed.

> 
> Also, tomboy doesn't really support tags. It only allows you to group
> notes. I think this maps better as the CATEGORY property in org-mode,
> instead of a TAGS property. But that's just my opinion.

The Tomboy XML markup places the "notebook" (category) in a section
labeled "tags" like so:

  <tags>
   <tag>notebook-name</tag>
  </tags>

I just transliterated to orgmode.  Upon reflection I think you're
right - what Tomboy means by this is more properly what orgmode means
by CATEGORY.  I'll make this configurable in the next version and make
the default CATEGORY.  In general my handling of properties could be
more configurable.  I am not yet sophisticated enough in my use of
orgmode to do anything interesting with drawers or properties but I'm
starting to think of ways to use them...

> --
> Darlan

Pax, --A
- -- 
attila@stalphonsos.com | 0x4FFCBB9C | hack("free") or die;
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEAREJAAYFAk5C0T4ACgkQr88iLU/8u5wIGwCfY1iW8QgXFGW18J5hkrD+MTh9
8J0An0FHfo7JLcOTpKjDSQHktrcNviV9
=YKJH
-----END PGP SIGNATURE-----

  reply	other threads:[~2011-08-10 18:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-01 18:23 Script: convert Tomboy/GNote XML to org-mode attila
2011-08-03 16:48 ` Darlan Cavalcante Moreira
2011-08-03 17:49   ` Achim Gratz
2011-08-03 19:10   ` attila
2011-08-10 17:01     ` Darlan Cavalcante Moreira
2011-08-10 18:43       ` attila [this message]
2011-08-11 18:26         ` Darlan Cavalcante Moreira
2011-08-14 17:10 ` Bastien

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=4E42D14A.8030706@stalphonsos.com \
    --to=attila@stalphonsos.com \
    --cc=darcamo@gmail.com \
    --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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).