File: gnus-undo.el.html

This package allows arbitrary undoing in Gnus buffers. As all the Gnus buffers aren't very text-oriented (what is in the buffers is just some arbitrary representation of the actual data), normal Emacs undoing doesn't work at all for Gnus.

This package works by letting Gnus register functions for reversing actions, and then calling these functions when the user pushes the undo key. As with normal undo, there it is possible to set undo boundaries and so on.

Internally, the undo sequence is represented by the gnus-undo-actions list, where each element is a list of functions to be called, in sequence, to undo some action. (An "action" is a collection of functions.)

For instance, a function for killing a group will call gnus-undo-register with a function that un-kills the group. This package will put that function into an action.

Defined variables (3)

gnus-undo-limitThe number of undoable actions recorded.
gnus-undo-modeNon-nil if Gnus-Undo mode is enabled.
gnus-undo-mode-hookHook called in all ‘gnus-undo-mode’ buffers.

Defined functions (7)

gnus-disable-undo(&optional BUFFER)
gnus-undo(N)
gnus-undo-boundary()
gnus-undo-force-boundary()
gnus-undo-mode(&optional ARG)
gnus-undo-register(FORM)
gnus-undo-register-1(FUNCTION)

Defined faces (0)