A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/jcfk/savefold.el below:

jcfk/savefold.el: persistence for various emacs folding systems

This package is a family of global minor modes that persist folds made by various existing (mostly) overlay-based folding systems, saving them to the disk and reapplying upon file open. Currently supported:

Rationale: there are billions of different types of folds in emacs, and very few of the packages implement persistence. It makes sense for fold persistence to be abstracted out into a separate package, both for economic reasons and for consistency of usage.

(use-package savefold
  :init
  (setq savefold-backends '(outline org origami hideshow))
  (setq savefold-directory (locate-user-emacs-file "savefold"))  ;; default

  :config
  (savefold-mode 1))

Notes:

Configuration:

Please feel free to contribute support for other folding systems. Suggestions and comments are also very welcome.

Development guidelines:

Before sending a PR, ensure (within reason):

  1. All tests pass: eask test buttercup
  2. Compilation without warnings: eask compile
  3. check-declare is clean: eask lint declare
  4. package-lint is clean: eask lint package

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4