Pull Request Checklist
When your environmental variable $EDITOR is not mapped, and you use the following command "nikola new_post -e", you currently get the following error message:
"$EDITOR not set, cannot edit the post. Please do it manually."
As a user, I was a little confused by this. The first sentence sent me searching for a Nikola setting where I can set the preferred editor. The second sentence had me contemplating if I needed to edit the "setting" within Nikola manually or the post I just made. These were first thoughts when I read the message.
I thought, perhaps, you might use this proposed message so to be a bit more explicit. I tried to keep the words to a minimum while still being as clear as possible.
"$EDITOR not set within the operating system, cannot edit the post with '-e'. Post must be altered manually."
I'm hopeful this might prove valuable to some users in the future.
The text was updated successfully, but these errors were encountered:
I believe the proposed error message is a bit more explicit. When I first encountered this error as a user I was a bit confused. I wasn't sure, at first, if $EDITOR was a Nikola setting. Also, the second sentence wasn't clear on what "must be done manually ($EDITOR or the post)." Semantics granted, but those were my personal first impressions and thought this might help make it clearer. Also, this is my first ever attempt at a pull request. :) So I changed this: "$EDITOR not set, cannot edit the post. Please do it manually." With this: "$EDITOR not set within the operating system, cannot edit the post with \'-e\'. Post must be altered manually."