emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using overlay in register


From: Richard Stallman
Subject: Re: Using overlay in register
Date: Mon, 22 Mar 2004 00:24:52 -0500

    Thank you for reviwing and suggestion. I have used after-string.
    If the point is at the end of line, set a space to an overlay's
    `after-string' property. 

That may give inconsistent results.  What if I delete the following
newline?  Then it will no longer be at the end of the line, but the
overlay will still have a space in the `after-string' property.

    +(defun register-clear-overlay-at-point (event)
    +  "Clear the register associated with an overlay pointed by EVENT."
    +  (interactive "e")
    +  (save-excursion

Why is this feature useful?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]