|
From: | Stefan Monnier |
Subject: | Re: Suggestion: A fringe indicator that shows the last/first line before scrolling |
Date: | Thu, 28 Feb 2008 13:16:28 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
>> Basically, use a pre-command-hook to remember window-start and >> window-end, and a post-command-hook where you place visual indicators >> at those 2 remembered spots. > I've read through > (info "(elisp)Fringes") > and used `C-u C-h a fringe' but I cannot find out how to add new > indicators to the fringes at a specific position. Am I missing > something? The Fringe Bitmaps section describes it. You may want to look at the function gdb-put-breakpoint-icon for an example code that does it. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |