Giter Club home page Giter Club logo

uptimes.el's Introduction

MELPA Stable MELPA

Commentary

uptimes.el provides a simple system for tracking and displaying the uptimes of your Emacs sessions. Simply loading uptimes.el from your ~/.emacs file will start the tracking of any session.

The latest version of uptimes.el can be found at:

  <URL:https://github.com/davep/uptimes.el>

Thanks

Istvan Marko [email protected] for pointing out that a default of one second for `uptimes-auto-save-interval' was probably a little OTT.

Doug Elias [email protected] for pointing out that midnight.el is a recent addition to emacs.

Nix [email protected] for pointing out that some XEmacs users might need `inhibit-clash-detection' set to t at points in this code.

uptimes.el's People

Contributors

davep avatar purcell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

uptimes.el's Issues

before-init-time

Would it make sense to use the built-in before-init-time in order to determine the startup time of the current instance? It might make uptimes more accurate and less sensitive to when it is loaded during an Emacs session.

Incompatibility with standalone cl-lib package

It appears that only the cl-lib bundled with the latest Emacs versions has cl-flet*: the standalone cl-lib package does not. This is likely an issue with that package, which Stefan Monnier would want to fix if one of us lets him know, but it appears that a workaround in the meantime would be for uptimes to use cl-letf* instead.

(You can see the byte compilation errors/warnings in the various jobs of this build: https://travis-ci.org/purcell/emacs.d/builds/216883163)

Licence of uptimes.el

Hi,

In a thread in the emacs-devel maillist, the licensing situation for emacs packages provided through Emacs package archives has been under focus. I have volunteered to contact the authors of packages that have a license that is incompatible with Emacs, which is now under GPL-3+.

See https://lists.gnu.org/archive/html/emacs-devel/2017-07/msg01069.html

So I wonder if you could consider to change the license of your package to GPL-3+?

Yours,

Jean-Christophe Helary

uptimes sometimes saves the uptimes in the wrong location

I keep the saved uptimes outside of ~/.emacs.d, but sometimes I find that a copy of the saved file turns up there. I suspect the problem is that I use use-package to configure the location and I also have uptimes save as early as possible. I should probably drop that and just allow the auto-save to kick in when the timer fires (if auto-save is enabled).

Thinking here being: that save-on-load-of-package might sometimes kick in before the configure via use-package does its thing. I'm not 100% sure that's the case but I can't see a downside to not doing it like that.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.