Coder Social home page Coder Social logo

omni-quotes.el's Introduction

Omni-Quotes

https://travis-ci.org/AdrieanKhisbe/omni-quotes.el.svg https://coveralls.io/repos/AdrieanKhisbe/omni-quotes.el/badge.svg http://melpa.org/packages/omni-quotes-badge.svg http://stable.melpa.org/packages/omni-quotes-badge.svg https://img.shields.io/github/tag/AdrieanKhisbe/omni-quotes.el.svg http://img.shields.io/:license-gpl3-blue.svg

Display all the Quotes!

Description

Omni Quotes is there to display quotes on you Echo Area when you are idle. Whether it’s funny stuff, inspirational quotes, or something you try to remember.

Usage

Just turn on omni-quotes-mode, and quotes will appear when you are idle enough.

You can load a quote file with the command omni-quotes-load-simple-quote-file and reload default quotes with omni-quotes-load-defaults. A quote file is just a basic text file with one quote per line.

When you have multiple quote-set it’s possible to cycle through them with the commands omni-quotes-next-set and omni-quotes-prev-set.

Installation

You can install it from melpa, with (package-install 'omni-quotes)

If you use use-package you could use the following config

(use-package omni-quotes
  :bind (("M-s q m" . omni-quotes-mode)
         ("M-s q p" . omni-quotes-prev-set)
         ("M-s q n" . omni-quotes-next-set)
         ("M-s q s" . omni-quotes-shuffle-current-set)
         ("M-s q q" . omni-quotes-display-random-quote))
  :config (omni-quotes-load-simple-quote-file "~/.my-quote" "personal"))

Configuration

A set of custom is present to customize behavior and appearance of omniquotes. You can access it through customize-group 'omni-quotes where you’ll see the list of the customs.

Here are the main ones:

omni-quotes-default-quotes
List of default quotes
omni-quotes-prompt
Leading prompt of quotes messages
omni-quotes-idle-interval
Idle time after which omni-quote start to display quotes
omni-quotes-max-repeat
Number of omni-quotes will repeat without any activity. If zero there wont be any limit
omni-quotes-fading
Does the quote fade after some time
omni-quotes-fading-delay
Delay before the fading effect
omni-quotes-fading-duration
Time it takes for the quote to fade away
omni-quotes-repeat-interval
Time interval between two quotes
omni-quotes-boring-message-patterns
List of message that ca be overwritten by an omni-quote
omni-quotes-lighter
OmniQuote lighter (name in modeline).

If you want to customize them programaticaly in your config you must use the customize-set-variable construct, eg: (customize-set-variable 'omni-quotes-fading t)

Notes

This is an inbuilding package, hence that huge number of building comments accross the code. (usage of omni-tags is recommended :D).

If you have any remark, refactor suggestion or else, just pose an issue ;)

omni-quotes.el's People

Contributors

adrieankhisbe avatar

Stargazers

eve avatar Adam Porter avatar  avatar Grant Rettke avatar  avatar Jonathan Lai avatar Mark Karpov avatar

Watchers

James Cloos avatar  avatar

Forkers

emacsmirror

omni-quotes.el's Issues

Omni-quotes doesn't work

Hi,
I have tried this package recently and I am not sure if this package still work because I got some error when I tried to enable omni-quotes-mode or omni-quotes-display-random-quote. The error output is:

Warning (emacs): There is no logger of name 6703.

Not sure what is going on.

Please add a prefix to test-helper.el to avoid conflicts with 68 other packages

There exist at least 69 packages that contain a file named test-helper.el that also provides the feature test-helper.

This leads to issues for users who have at least two of these packages installed. It is unlikely that such a user would be able to run the tests of all of those packages. If the primary test file of one of those packages does (require 'test-helper), then it is undefined which of the various test-helper.el files gets loaded. Which it is, depends on the order of the load-path.

To avoid this conflicts, you should rename your test-helper.el to <your-package>-test-helper.el and adjust the feature accordingly.

Also don't forget to update the require form in your primary test file and/or update references to the library/feature elsewhere. Also, if your primary test file is named something like test.el, then please consider renaming that too (same for any other utility elisp files your repositoroy may contain).

Thanks!

PS: This issue is a bit generic because I had to open 69 issues.

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.