overlay.el bug, incompatable overlays-in
Stephen J. Turnbull
stephen at xemacs.org
Fri Feb 22 18:16:50 EST 2008
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
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.
More information about the XEmacs-Beta