Hi All!
Which is the right package to define compatibility functions like
save-current-buffer?
Greg is advertising sysdp. However, apel has its own version of
save-current-buffer too.
Regards,
Adrian
>>>> "Greg" == Greg Stark
<gsstark(a)mit.edu> writes:
Greg> Adrian Aichner <aichner(a)ecf.teradyne.com> writes:
> There's also this XEmacs package:
>
> apel 1.10 A Portable Emacs Library. Used by XEmacs MIME support.
>
> which has this in poe.el:
>
> (defmacro-maybe save-current-buffer (&rest body)
> "Save the current buffer; execute BODY; restore the current buffer.
> Executes BODY just like `progn'."
> (` (let ((orig-buffer (current-buffer)))
> (unwind-protect
> (progn (,@ body))
> (set-buffer orig-buffer)))))
Greg> Ugh, this is really unfortunate. Please if you're involved
Greg> with this tell these programmers about the existing sysdp
Greg> package. There cannot be two such packages or else we'll be
Greg> left with elisp packages that can't be loaded
Greg> simultaneously.
Greg> I can't guess based on that one macro but I wouldn't be
Greg> surprised if this means tm and w3 already can't be loaded in
Greg> the same Emacs. This situation really stinks. I've already
Greg> faced it once with a misbegotten local package that tried to
Greg> do the same as the cl package. Now we have a a whole pile of
Greg> local elisp packages that can't be loaded in any recent
Greg> Emacs if you use any substantial package like W3, Gnus, etc.
Greg> greg
--
Adrian Aichner Teradyne GmbH, European Design Center
Integra Test Division Telephone +49/89/41861(0)-208
Dingolfinger Strasse 2 Fax +49/89/41861-217 (What is a Fax?)
D-81673 MUENCHEN E-mail adrian.aichner(a)teradyne.com