Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Description extract can also synchronize org-trello's metadata which it must not #114

Closed
ardumont opened this issue Feb 3, 2014 · 0 comments
Labels
bug Needs to be fixed

Comments

@ardumont
Copy link
Member

ardumont commented Feb 3, 2014

Evaluating this code works and displays "hello there\n":

(orgtrello-tests/with-temp-buffer "* TODO Joy of FUN(ctional) LANGUAGES
:PROPERTIES:
:orgtrello-id: 52c945143004d4617c012528
:orgtrello-users:
:END:
hello there
- [-] LISP family :PROPERTIES: {\"orgtrello-id\":\"52c945140a364c5226007314\"}
- [X] Emacs-Lisp :PROPERTIES: {\"orgtrello-id\":\"52c9451784251e1b260127f8\"}
- [X] Common-Lisp :PROPERTIES: {\"orgtrello-id\":\"52c94518b2c5b28e37012ba4\"}"
       (orgtrello-buffer/extract-description-from-current-position))

This does not and displays ":PROPERTIES:
 :orgtrello-id: 52c945143004d4617c012528
 :orgtrello-users:
 :END:

hello there
".
This is due to the blanks before org-trello's metadata properties.

``` emacs-lisp
(orgtrello-tests/with-temp-buffer "* TODO Joy of FUN(ctional) LANGUAGES
  :PROPERTIES:
 :orgtrello-id: 52c945143004d4617c012528
 :orgtrello-users:
 :END:
hello there
- [-] LISP family :PROPERTIES: {\"orgtrello-id\":\"52c945140a364c5226007314\"}
- [X] Emacs-Lisp :PROPERTIES: {\"orgtrello-id\":\"52c9451784251e1b260127f8\"}
- [X] Common-Lisp :PROPERTIES: {\"orgtrello-id\":\"52c94518b2c5b28e37012ba4\"}"
       (orgtrello-buffer/extract-description-from-current-position))

To fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Needs to be fixed
Projects
None yet
Development

No branches or pull requests

1 participant