|
From: | Kevin Rodgers |
Subject: | Re: setnu.el / setnu+.el |
Date: | Fri, 23 Dec 2005 14:48:55 -0700 |
User-agent: | Mozilla Thunderbird 0.9 (X11/20041105) |
Stefan Monnier wrote:
BTW has anyone tried to re-implement setnu using the `margin' rather than after-strings?Is the Emacs 22 Lisp manual available from cvs.savannah.gnu.org? I can't find it...Yes, it's part of the Emacs distribution. BTW, the margin is an Emacs-21 feature.
OK, I've had a go at it, but it's not working: Instead of setting the overlay's before-string property to "...", I tried setting its display property to ((margin left-margin) "...") plus the left-margin-width variable to the length of "...". What that does is make every line of the buffer invisible -- including the newline and the "..." text, so the buffer appears to be empty. What am I doing wrong? Thanks, -- Kevin
[Prev in Thread] | Current Thread | [Next in Thread] |