gvol / emacs-memento-mori Goto Github PK
View Code? Open in Web Editor NEWReminder of mortality
Home Page: https://melpa.org/#/memento-mori
License: ISC License
Reminder of mortality
Home Page: https://melpa.org/#/memento-mori
License: ISC License
Hi. I just noticed that I never published the package to MELPA Stable.
That has now been fixed. I created the git tag 0.1
and pushed the tag to @gvol's repository and to my own fork. The comment in memento-mori.el
says Version: 0.1.0
.
I placed the 0.1
tag at a commit just before the new Maintainer
line was added, so 0.1
was the first and last release that I am responsible for. Future releases (0.2 and up) will be at @gvol's discretion.
MELPA has automatically built and published the stable packge. It does this every time you push a new git tag.
I have set the following customizations:
memento-mori-display-in-modeline
to nil
and
memento-mori-display-in-frame-title
to t
I assumed the string would be appended or prepended to the existing frame title but instead it clobbers the existing title and nothing is shown though a tooltip suggests the frame title is "Untitled window".
Come on, I don't want my ghost getting confused once it's trapped inside Emacs for eternity. ๐
Can you add a screenshot in the README (I noticed there isn't one - so maybe it contains just a screenshot?)
Also - please make this available on MELPA
Thanks.
Tomorrow is my birthday but the age shown today matches what my age will be tomorrow.
The reminder of mortality might be a little more pointed with a likely "end" date. That information could be easily gotten from general purpose actuarial tables available from public sources, see e.g.: https://www.ssa.gov/oact/STATS/table4c6.html
As you can see from the chart there's a "further" life expectancy provided for any given age. I'd personally find it more motivating to see the time I (likely) have left (life expectancy) rather than the time I've already spent (age) in the mode line. It could be expressed as age/likely-age-of-death, or age/years-left, or there could just be a toggle for which of the two you want to see.
Thanks for considering. In any case, this is already a really neat package, thanks for writing it!
Currently info is shown on the mode line. We could show it in the frame title instead of, or in addition to, the mode line. So we'd need to have something that's easy to add toframe-title-format
. The contents of the variable memento-mori-age-string
is what we currently put into the mode line. Maybe that same variable can just be inserted into the frame-title-format
. The frame-title-format
help says that it has the same structure as mode-line-format
.
In melpa/melpa#8855 (comment), they mentioned I should add this. I just have to figure out exactly what they mean.
It might be worth gathering some quotes about death, and how to approach life in the knowledge that it is limited. Sites about stoicism might be a good place to start.
There could be a simple command to display a random quote in the echo area. It would also be nice to set the contents of the *scratch*
buffer to a random quote at Emacs startup (the variable initial-scratch-message
can be used for this).
Would anyone else like these?
The following message appears in the Messages buffer:
Youโll get more out of memento-mori-mode if you customize it.
Try M-x customize-group memento-mori RET
This will irritate users eventually. The customization section in the README should be sufficient to make the same point.
It would be nice if the "years old" part of the text can be made into a variable that can be changed, it takes up too much space on the modeline right now.
Maybe change the code in memento-mori-update
to be something like:
(format (concat " %.2f " memento-mori-suffix-text) (memento-mori-age))
I could submit a pull request if the idea sounds reasonable, shouldn't be too difficult.
It results in a memento-mori-string
of "nil years old". I believe the format string specifier should be "%.2Y" but note that does not result in two decimal points of precision as one might expect.
I get this error following the latest commits.
Ping @aksharvarma @doolio @mandarvaze @ury-marshak who have sent PRs.
(And @alraban @danielpza @lockywolf @mateialexandru @Thfvdb who might be interested.)
I am no longer concerned with my own death. Simultaneously, the practicalities of life are getting ever more complex and I have to be a bit more careful about allocating time.
Consequently, I'm no longer managing to find time to maintain this package. I'd like someone to take my place as the new maintainer.
Please decide among yourselves who it should be. When a consensus has been reached, I'll transfer this repo to that person's account. You will then get the source code, PRs, and issue tracker as they are. I'll also send a PR to MELPA so their recipe points to your account. I'll keep just a fork under my own account.
Thanks to all for you continued interest in this package, and sorry I'v been unresponsive.
Hello
Memento-more throws a stack trace on my Emacs:
Debugger entered--Lisp error: (void-variable _)
memento-mori-birth-time()
memento-mori-age()
memento-mori-update()
memento-mori-mode()
(progn (memento-mori-mode))
eval((progn (memento-mori-mode)) t)
elisp--eval-last-sexp(nil)
eval-last-sexp(nil)
funcall-interactively(eval-last-sexp nil)
#<subr call-interactively>(eval-last-sexp nil nil)
apply(#<subr call-interactively> eval-last-sexp (nil nil))
call-interactively@ido-cr+-record-current-command(#<subr call-interactively> eval-last-sexp nil nil)
apply(call-interactively@ido-cr+-record-current-command #<subr call-interactively> (eval-last-sexp nil nil))
call-interactively(eval-last-sexp nil nil)
command-execute(eval-last-sexp)
memento-mori-birth-date
is a string like 1111-11-11
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.