Coder Social home page Coder Social logo

emacsmirror / yesterbox Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sje30/yesterbox

0.0 2.0 0.0 23 KB

Count number of inbox messages by day

Home Page: http://github.com/sje30/yesterbox

License: GNU General Public License v3.0

Emacs Lisp 100.00%

yesterbox's Introduction

Yesterbox

The 'Yesterbox' concept refers to reading yesterday's email. I learnt about it from https://www.theguardian.com/lifeandstyle/2016/apr/15/how-to-deal-with-email-overload

It currently assumes you use the mu4e mail reader.

Usage

M-x yesterbox.

The yesterbox approach to handling email is to focus on reading/replying to messages sent yesterday (a finite number), rather than trying to keep up with today's email (a moving target). This mode assumes that you use the excellent mu4e mail program, but could be adapted to work with other Emacs mailers. When you call `M-x yesterbox', you will see a new yesterbox buffer containing something like:

Days  Count
   1     19
   2      5
   3      7
 4-6     13
7-10     21

This shows that there are 19 messages in the inbox from yesterday (1 day ago), 5 messages from 2 days ago and so on. The last entry shows that there are 21 messages aged between 7 and 10 days inclusive. If you then wish to see those 19 messages from yesterday, just press RETURN on the corresponding line. The days for which yesterbox will search can be changed by updating the variable `yesterbox-days'. If you wish to see the number of messages from today you can include 0 in that list, but then you might be tempted to work on today's messages...

The program also assumes your primary inbox is called "inbox"; change the variable `yesterbox-inbox' if you use a different name. Setting the variable to "inbox/" (note the final forward slash) will search for the pattern "inbox" and look for emails in multiple accounts. See sje30#1 for details.

Acknowledgements: Thanks to Laurent Gatto for testing and feedback.

TODO:

  • When quitting the search buffer, maybe return to yesterbox rather
  • than the mu main header. Remember window configuration?

yesterbox's People

Contributors

equwal avatar lgatto avatar sje30 avatar

Watchers

 avatar  avatar

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.