This is an automated notification sent by Gna!.
It relates to:
                bugs #1845, project xtla.el



==============================================================================
OVERVIEW of bugs #1845:
==============================================================================

URL:
  <http://gna.org/bugs/?func=detailitem&item_id=1845>

Project:                xtla.el
Submitted by:           Matthieu MOY
Submitted on:           Mon 11/08/2004 at 09:38

Category:               any
Priority:               5 - Normal
Resolution:             None
Assigned to:            None
Originator Email:               
Status:         Open
Planned Release:                1.0
Type of request:                small bug
Merge available:                No
merge request:          
Fixed Release:          
Test case in xtla-tests.el:             


Summary:                Avoid `(lambda () ...) in xtla
_______________________________________________________

Original Submission:
Proposed by Miles Bader



>>    (defmacro lambda-with-constant-bindings (constants args &rest body)

>>      "Like `lambda', with constant bindings for variables in CONSTANTS.

>>    Any references in BODY to a variable listed in CONSTANTS will evaulate

>>    to the binding in effect when the lambda was created, rather than at

>>    the time it is called."

>>      ``(lambda ,',args 

>>       (let (,,@(mapcar (lambda (var) ``(,',var ',,var)) constants))

>>         (funcall ,(lambda () ,@body)))))



This macro should go to xtla-core.el, and all other files should be searched 
for `(lambda () ...)








==============================================================================

This item URL is:
  <http://gna.org/bugs/?func=detailitem&item_id=1845>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


Reply via email to