# goggles
**Repository Path**: mirrors_minad/goggles
## Basic Information
- **Project Name**: goggles
- **Description**: goggles.el - Pulse modified region
- **Primary Language**: Unknown
- **License**: GPL-3.0
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-11-22
- **Last Updated**: 2025-10-20
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
* goggles.el - Pulse modified region
#+html:
#+html:
#+html:
Goggles highlights the modified region using =pulse=. Currently the
commands undo, yank, kill and delete are supported.
This library is the holy counterpart of =evil-goggles=. Another
comparable library is =volatile-highlights=, which does not use =pulse=.
By setting =goggle-pulse= to =nil=, the =goggles-mode= behaves
similarily to the =volatile-highlights-mode=.
#+caption: goggles
[[https://github.com/minad/goggles/blob/main/goggles.gif?raw=true]]
** Usage
#+begin_src emacs-lisp
(use-package goggles
:hook ((prog-mode text-mode) . goggles-mode)
:config
(setq-default goggles-pulse t)) ;; set to nil to disable pulsing
#+end_src
** Comparison to volatile-highlights
Goggles is mainly meant as a replacement for the popular volatile-highlights
(vhl).
- vhl does not support pulse. The request to use pulse for modification
highlighting has come up a few times (e.g. recently on reddit).
- vhl is unmaintained and contains obsolete code (e.g. cl instead of cl-lib).
- vhl is unnecessarily complicated, with its extension mechanism. The extension
mechanism seems to require bytecode compilation at startup.
Since improving volatile-highlights would require a rewrite, I decided to create
another package. This way breakage for volatile-highlights users is avoided.