aaronbieber / octopress.el

An Emacs major mode for interacting with Octopress blogs.
GNU General Public License v3.0
14 stars 2 forks source link

add an option to store user octopress blog path, and used for function `octopress-status' #9

Closed stardiviner closed 9 years ago

stardiviner commented 9 years ago

Everytime input Octopress blog path is hateful, I think octopress.el can specify an option to user blog path, then function octopress-status can read it.

aaronbieber commented 9 years ago

I will add this. If you trigger the status function while you have a blog file open in the current buffer, it will find the blog automatically.

On Wed, Aug 26, 2015, 10:16 PM stardiviner notifications@github.com wrote:

Everytime input Octopress blog path is hateful, I think octopress.el can specify an option to user blog path, then function octopress-status can read it.

— Reply to this email directly or view it on GitHub https://github.com/aaronbieber/octopress.el/issues/9.

stardiviner commented 9 years ago

This is a helpful trick, I use workgroups2, it can keep file open path, good. (But a path variable still good)

aaronbieber commented 9 years ago

You can now customize octopress-blog-root to explicitly set the root; if you do this, you will never be asked for the blog site path, and there is no way to point octopress to any other site.