-
Notifications
You must be signed in to change notification settings - Fork 50
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
Fix - Ensure there is a newline after each description. org-trello/org-... #173
Conversation
My pull-request can't really be used as-is. As I sync back and forth between the buffer and the board, I think it's adding more newlines. The correct fix would be appreciated. |
I added a test to show this problem up and pushed a new change. |
Btw, I still think write-header! should always handle inserting the newline, since that seems to be the behavior expected from other functions, but that would involve changes to the code that selects the header region, which would take me a very long time given my lack of any elisp skills. |
Hello,
It is possible indeed that the change unfortunately introduced some inconsistent behavior depending on the usage.
+1
+1
Right now, I do not remember. Thanks for the issue and the fix tryout. Cheers, |
Just to be clear, with this second commit all tests now pass (including the new one for the original issue). The Travis CI build appears to be failing for other reasons:
are you happy to accept this patch or are you going to investigate yourself first? |
Hello,
I did not see this message when I replied.
Yes.
Yes, the CI has some dependencies which is broken independent from the tests.
I'm happy with it but I'd like to ensure there are no side-effects. So I'd like to investigate That's why it takes me time right now. I have questions that I'm used to answer before merging.
I know the feeling :D Cheers, |
Thanks for your answer. I didn't mean to push, just want to make sure the state of the second commit was noticed.
yes,
Sorry, I don't understand. Is it something that is not covered by the tests? Thanks again. Good luck with the install issue. |
No worries about the pushing.
org-trello is not bullet-proof yet. It's just an old habit of mine to test different things including (especially in this case because it's what was touched) :
Here for example, to ascertain that the text does not move (that is new line inserted at each turn).
No problem Cheers, |
Thanks. Anyway, this means I will be able to concentrate on this problem... as soon as I found out how to avoid this. Cheers, |
Ok. I checkout-ed the branch again and tested to see what I wanted to see. Thanks for this fix. By merging this, I will let melpa do its job. Cheers, |
Fix - Ensure there is a newline after each description. org-trello/org-...
...trello#172
I don't know enough about to emacs-lisp to make the proper fix. This change just blindly adds a newline after each Description, so can result in extra lines between cards.