emacs-devel
[Top][All Lists]
Advanced

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

Re: elib -> emacs


From: Thien-Thi Nguyen
Subject: Re: elib -> emacs
Date: Sun, 26 Aug 2007 16:13:27 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

() Richard Stallman <address@hidden>
() Mon, 25 Jun 2007 09:19:52 -0400

   Would someone please install avl-tree.el from Elib
   into Emacs, in the trunk?

assuming you mean avltree.el (without hyphen), please find below an
avl-tree.el (with hyphen) that is standalone-compilable.  it comprises:

 - elib-node.el inlined
 - new defuns: elib-stack-{create,push,pop}
 - avltree.el (slightly modified -- see "HACKS")

i plan to add this to the repo as lisp/emacs-lisp/avl-tree.el then do
further integration, along the lines of:

 - style stuff (comments, indentation, eldoc)
 - remove new defuns; use cl push/pop directly
 - do s/elib-node/avl-tree-node/g

these changes would leave us in a position to be able to easily
(re-)separate the node-* funcs should there arise a future need.
another approach is to skip the initial checkin, but i would prefer
two steps to keep some vc-visible (diff-able) history.  comments?

thi


Attachment: avl-tree.el
Description: application/emacs-lisp


reply via email to

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