Giter Club home page Giter Club logo

emacs-memento-mori's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

emacs-memento-mori's Issues

Stable version

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.

memento-mori-string not displaying in frame title

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".

image

MELPA and screenshot

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.

Incorrect age shown

Tomorrow is my birthday but the age shown today matches what my age will be tomorrow.

[Feature Request] Consider Incorporating Simple Actuarial Table for End Date

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!

Show info in Emacs frame title (i.e. window title bar in ordinary GUI parlance)

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.

Display thought-provoking quotes

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?

Consider removing customization message

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.

Use a variable for the suffix text in the modeline

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.

New maintainer

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.

Crashes on 27.1

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

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.