overlay.el bug, incompatable overlays-in

It's me FKtPp ;) m_pupil at yahoo.com.cn
Sat Feb 23 15:15:32 EST 2008


Stephen J. Turnbull wrote:
> It's me FKtPp ;) writes:
>
>  > A branch of test shows that GNU's overlays- function can accept any
>  > integer as BIG or END parameter -_-
>
> [[ *sigh* I really detest that style of programming.  No wonder the
> overlays emulation is deprecated. ]]
>
>  > attachment is a changed overlay.el that with above 3 #'functions emulate
>  > the GNU's behavior.
>
> Please submit it to XEmacs Patches as a patch against the Mercurial
> repository.  It will get faster review that way, at least from me.
> You may also wish to put a copy on the tracker (this kind of thing
> will eventually be done automatically but that is not implemented
> yet).
>   

I've created one with my two mail pasted in.

> I can tell you already that (1) the docstrings *need* to be amended to
> describe the DWIM behavior, and (2) I'm almost certainly going to ask
> that the normalization of arguments (null BUFFER -> current buffer,
> truncating bounds and reordering them) be refactored as a defsubst.
>
> Thanks!
>   

What about this attached patch?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: overlay.patch
Type: text/x-patch
Size: 2909 bytes
Desc: not available
Url : http://lists.xemacs.org/pipermail/xemacs-beta/attachments/20080224/fb4859d4/overlay.bin


More information about the XEmacs-Beta mailing list