Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Fuco1/clippy.el
Show tooltip with function documentation at point
https://github.com/Fuco1/clippy.el
Last synced: about 1 month ago
JSON representation
Show tooltip with function documentation at point
- Host: GitHub
- URL: https://github.com/Fuco1/clippy.el
- Owner: Fuco1
- Created: 2013-03-18T22:51:01.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2023-08-22T13:48:18.000Z (about 1 year ago)
- Last Synced: 2024-05-01T22:56:52.436Z (5 months ago)
- Language: Emacs Lisp
- Size: 68.4 KB
- Stars: 213
- Watchers: 8
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
clippy.el [![Paypal logo](https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TAWNECQR3TTUY)
=========This library implements rendering of popup box with "Clippy, the paper clip". You can make him say various things by calling `clippy-say` function. To hide the pop-up, simply invoke any command (move forward/backward, type, `C-g` etc., any event is recognized).
By default Clippy show tip using `pos-tip`. you may prefer using `popup`.
`(setq clippy-tip-show-function #'clippy-popup-tip-show)`
As inspiration, two functions are provided: `clippy-describe-function` and `clippy-describe-variable`. Bind any of these functions to a key, then while point is over a function/variable, call it. A popup with helpfull clippy will appear, telling you about the function/variable (using `describe-function` and `describe-variable` respectively).
This package depends on `pos-tip` or `popup`.
Code is roughly based on: http://www.emacswiki.org/emacs/PosTip#toc3
The inspiration to write this package came from [http://www.geekzone.co.nz/foobar/5656](http://www.geekzone.co.nz/foobar/5656), a crazy discussion on #emacs and my terrible headache stopping me from doing anything more productive.
Screenshot
=========![Clippy trying to be helpful](https://raw.github.com/Fuco1/clippy.el/master/clippy.png)
Alternative clippy art.
![Alternative clippy trying to be helpful](https://raw.github.com/Fuco1/clippy.el/master/clippy2.png)