TeMPOraL / nyan-mode

Nyan Cat for Emacs! Nyanyanyanyanyanyanyanyanyan!
GNU General Public License v3.0
794 stars 68 forks source link

[math] revise date calculation. #56

Closed randomwangran closed 2 years ago

TeMPOraL commented 2 years ago

I'm... not sure what to make of it.

randomwangran commented 2 years ago

Hi @TeMPOraL:

Thanks for writing this package. I use your code but it is very different from the way you design for it.

The fork actually wants to achieve showing a ratio. In the original one, this ratio is between the line location to the total line number in a given buffer from my reading. What I wanted to do is to make the ratio an abstraction. It can be the number of notes a person writes every day over an expected number.

It is an implementation of the idea mentioned in the book by James (Clear 2018) chapter 16. In the case of Dyrsmid, it is the jar on his desk. In my use case, it is the number of notes I wrote every day.

TeMPOraL commented 2 years ago

That's an interesting take, and I'm happy you found my code useful. I was surprised by this PR, though :).