git clone 'git://github.com/ocodo/ocodo-svg-modelines.git'
External png and svg images are now loaded as data uri
(image/png,base64 and xml/svg,base64.) This will allow the modelines to
function fully on any Emacs build which has image-svg
--with-librsvg configured builds)
This won't affect OS X/Emacs Mac Port users, who will already be enjoying full svg support.
A completely superfluous, but otherwise most excellent collection of awesome modelines… if not now, then at some point in the future, you might want, need and maybe even love these.
Don't worry if this isn't true, it's just promotional bullshit.
Very much a work in progress, these modelines are relatively sparse, however, any info or widgets you'd like to have, please post an issue on the github repository https://github.com/ocodo/ocodo-svg-modelines/issues and I'll attempt to cater to you.
Each modeline currently features
See roadmap for a few ideas on the direction of the project…
Anyway, without further ado, aside from this droning preamble, here's the modeline designs I have for you so far.
Direction partly depends on community feedback, however I have my own desires and wishes for this project, obviously. Top of my list is minor and major mode displays being more graphical, although I think these will be more experimental.
I'd like to see an icon which describes the Major mode, and minor modes.
Time would be nice to see as an analog graphical clock icon, which is relatively easy to achieve.
Date shown as a calendar page icon.
Version control state of the file shown graphically (some experimental stuff exists for this already.)
File file state info shown graphically (saved/unsaved changes are already shown by a splat and a checkmark)
I'm sure you can think of plenty more.
Package installation via MELPA
M-x package-install <RET> ocodo-svg-modelines
Follow these steps:
git clone --depth 1 https://github.com/ocodo/ocodo-svg-modelines ~/ocodo-svg-modelines-0.1.4 tar --exclude .git -cf ~/ocodo-svg-modelines-0.1.4.tar ocodo-svg-modelines-0.1.4
Subsequently, from Emacs:
M-x package-install <RET> svg-mode-line-themes M-x package-install-file <RET> ~/ocodo-svg-modelines-0.1.4.tar
M-x ocodo-svg-modelines-init M-x smt/set-theme
Now select one of the ocodo themes listed…
… and be all happy.
Please be aware, this package is quite experimental and full SVG functionality isn't available on all Emacs builds.
Ensure you have SVG support in your Emacs build, either use Emacs Mac Port on OS X or…
You can also build Emacs on OS X with
brew install emacs --HEAD --with-cocoa --with-librsvg
When building Linux,
--with-librsvg (ensure rsvg
support was reported by configure.)
If in doubt Librsvg is the important part. (unless you're using Emacs Mac Port, which uses WebKit to render SVG.)
If you have problems using these modelines, please check the issues at https://github.com/ocodo/ocodo-svg-modelines/issues and post a new one as needed. I will do my best to get fixes and help to you.
If you have feature requests or other suggestions, or if you plain don't like this package, please go ahead and post issues too.
If you would like to make your own svg modelines using these as a base, please go ahead and fork it, strip out the ocodo modelines if you're going to publish.
Contributions are very welcome, please go ahead, fork, branch and pull request anything you'd like to add.
This package relies on Sabof's svg-mode-line-themes. Core functionality for these themes is developed there.
ocodo-svg-modelines.el by el2markdown.