From 322b6738f07c2d801bc82b91a466b8fcb7c91401 Mon Sep 17 00:00:00 2001
From: Brian Warner <warner@lothar.com>
Date: Sun, 7 Jan 2007 13:10:15 -0700
Subject: [PATCH] figleaf.el: add some emacs22 comments

---
 misc/figleaf.el | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/misc/figleaf.el b/misc/figleaf.el
index 449ac6af..d541a2a8 100644
--- a/misc/figleaf.el
+++ b/misc/figleaf.el
@@ -50,6 +50,18 @@
     (message "Removed annotations")
 ))
 
+;; in emacs22, it will be possible to put the annotations in the fringe. Set
+;; a display property for one of the characters in the line, using
+;; (right-fringe BITMAP FACE), where BITMAP should probably be right-triangle
+;; or so, and FACE should probably be '(:foreground "red"). We can also
+;; create new bitmaps, with faces. To do tartans will require a lot of
+;; bitmaps, and you've only got about 8 pixels to work with.
+
+;; unfortunately emacs21 gives us less control over the fringe. We can use
+;; overlays to put letters on the left or right margins (in the text area,
+;; overriding actual program text), and to modify the text being displayed
+;; (by changing its background color, or adding a box around each word).
+
 (defun figleaf-annotate (&optional show-code)
   (interactive "P")
   (let ((allcoverage (load-figleaf-annotations))
-- 
2.45.2