aaronbieber / octopress.el

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

Cache previously visited Octopress sites #4

Closed aaronbieber closed 9 years ago

aaronbieber commented 9 years ago

Similar to how Projectile remembers the projects you've visited, Octopress Mode should be able to suggest previous sites when om-status is called without the current working directory set to an Octopress site.

If called while within an Octopress site, load that site as usual, but otherwise, see if it's possible to provide a path entry prompt that also suggests previously used values.

If we can't do that, we may need a new function for triggering status on a previous site, similar to Projectile's "switch projects" function.

aaronbieber commented 9 years ago

The only way we can do this right is in helm, because we need to show both the "recent blogs" list as well as a full directory navigation interface. This can be done by providing a specific helm-driven function, but I think at this point it's not worth it.

Closing.