emacs-devel
[Top][All Lists]
Advanced

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

Re: Should overlays evaporate by default?


From: Thien-Thi Nguyen
Subject: Re: Should overlays evaporate by default?
Date: 17 May 2005 20:15:56 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Richard Stallman <address@hidden> writes:

> patches for you to try.

below is an untested patch that sets the evaporate property
for newly-made overlays.  munge to taste, etc.

thi

___________________________________________________________
*** buffer.c    4 May 2005 22:10:14 -0000       1.479
--- buffer.c    18 May 2005 00:13:24 -0000
***************
*** 3602,3607 ****
--- 3602,3611 ----
    XOVERLAY (overlay)->plist = Qnil;
    XOVERLAY (overlay)->next = NULL;
  
+   /* This is suitable for testing.  If it works out, we can
+      rework it to set ->plist directly (a few lines above).  */
+   Foverlay_put (overlay, Qevaporate, Qt); 
+ 
    /* Put the new overlay on the wrong list.  */
    end = OVERLAY_END (overlay);
    if (OVERLAY_POSITION (end) < b->overlay_center)




reply via email to

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