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

Now supports drafts authored using outline.el (i.e. draft-*.org) #2

Merged
merged 2 commits into from
Oct 15, 2014
Merged

Conversation

kwatsen
Copy link

@kwatsen kwatsen commented Jul 31, 2014

This update resolves #1 - please accept.

Thanks,
Kent

$(error Read README.md for setup instructions)
endif

draft_type := $(suffix $(firstword $(wildcard $(draft).md $(draft).xml)))
draft_type := $(suffix $(firstword $(wildcard $(draft).md $(draft).xml) $(draft).org ))
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the standard make invocation will create a .xml file from the .org, you need to put the .org ahead of the .xml file in this list. The consequences aren't that dire, but better to be correct.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oooh, good catch, it should be changed. So help me here, do I make the change on my fork and then make another pull request?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add another commit and push that. The PR tracks the tip of the branch, so I'll see any changes you make to the branch.

@martinthomson
Copy link
Owner

Looks good. Is there anything that you would need to install in order to get outline2xml installed for a travis build? Or is this something that you would prefer not to do (too hard, perhaps).

@kwatsen
Copy link
Author

kwatsen commented Aug 1, 2014

outline2xml is a script that was written and maintain by a few of us in the NETCONF WG. It is not something that to generally accessible (e.g., posted in GH). Would it make sense to put it in i-d-template/lib/ or maybe i-d-template/bin/?

Separately, I noticed that the Makefile has:

$(warning No file named draft-*.md or draft-*.xml)
$(error Read README.md for setup instructions)

But this pull request doesn't put anything into README.md regarding .org files. Should we leave it undocumented since outline2xml isn't generally available?

@martinthomson
Copy link
Owner

Undocumented is OK for now. Add the script to lib if you like. Does it have any dependencies that might be hard to find?

Added links for tools called by Makefile.
Added outline as an input format.
martinthomson added a commit that referenced this pull request Oct 15, 2014
Now supports drafts authored using outline.el (i.e. draft-*.org)
@martinthomson martinthomson merged commit cb25dc4 into martinthomson:master Oct 15, 2014
@martinthomson
Copy link
Owner

I have to apologize, I completely left this (I'll use the fact that new commits don't generate emails as my excuse).

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

Successfully merging this pull request may close these issues.

Missing support for drafts authored with outline.el (emacs org mode)
2 participants