Gnus development mailing list
 help / color / mirror / Atom feed
* cl
@ 1999-12-14  4:21 Katsumi Yamaoka
  1999-12-14 11:01 ` cl Hrvoje Niksic
  0 siblings, 1 reply; 10+ messages in thread
From: Katsumi Yamaoka @ 1999-12-14  4:21 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 205 bytes --]

This is the patch for eliminating run-time cl.

1999-12-14 04:14:44  Katsumi Yamaoka  <yamaoka@jpl.org>

	* dgnushack.el (last, mapcon, member-if, union): New compiler
	macros for emulating cl functions.


[-- Attachment #2: dgnushack.el.diff --]
[-- Type: application/x-patch, Size: 2015 bytes --]

[-- Attachment #3: Type: text/plain, Size: 365 bytes --]

It has been done in T-gnus 6.14.  If you are interested in it, please
checkout it from the chamonix open CVS server as follows.

% cvs -d :pserver:anonymous@chamonix.jaist.ac.jp:/hare/cvs/root login
CVS password: [CR] # NULL string

% cvs -d :pserver:anonymous@chamonix.jaist.ac.jp:/hare/cvs/root checkout\
-r t-gnus-6_14 gnus
-- 
Katsumi Yamaoka <yamaoka@jpl.org>

^ permalink raw reply	[flat|nested] 10+ messages in thread
* cl
@ 1999-01-27 17:03 Lars Magne Ingebrigtsen
  1999-01-27 19:10 ` cl Jan Vroonhof
  0 siblings, 1 reply; 10+ messages in thread
From: Lars Magne Ingebrigtsen @ 1999-01-27 17:03 UTC (permalink / raw)


Gowrsh.  I really should re-read CLtL2.

(let ((vars (some-ting))
      var)
  (while (setq var (pop vars))
    ...))

which I usually write, vs

(dolist (var (some-thing))
   ...)

And the latter is even a macro in cl-macs that expands to nice
Emacs-lisp bytecodes.

(And the first form even assumes that there are no non-nil elements in
the list.  Which is true everywhere I use it, but that makes the
dolist thing even more elegant.)

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@ifi.uio.no * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~1999-12-14 22:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-14  4:21 cl Katsumi Yamaoka
1999-12-14 11:01 ` cl Hrvoje Niksic
1999-12-14 11:37   ` cl Katsumi Yamaoka
1999-12-14 18:55     ` cl Jan Vroonhof
1999-12-14 22:43       ` cl Katsumi Yamaoka
  -- strict thread matches above, loose matches on Subject: below --
1999-01-27 17:03 cl Lars Magne Ingebrigtsen
1999-01-27 19:10 ` cl Jan Vroonhof
1999-01-27 21:01   ` cl Justin Sheehy
1999-01-28  7:37     ` cl Lars Magne Ingebrigtsen
1999-01-28 18:16       ` cl Hrvoje Niksic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).