emacs-devel
[Top][All Lists]
Advanced

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

Re: request for a new function, say, `sequence'


From: Satyaki Das
Subject: Re: request for a new function, say, `sequence'
Date: Mon, 24 Mar 2003 17:57:26 -0800

Kenichi Handa <address@hidden> writes:

>   ;; Combining diacritics
>   (setq c #x300)
>   (while (<= c #x362)
>     (modify-category-entry (decode-char 'ucs c) ?^)
>     (setq c (1+ c)))

If I were you I would be using loop as follows:

   ;; Combining diacritics
   (loop for c from #x300 to #x362
         do (modify-category-entry (decode-char 'ucs c) ?^))

Is there any particular reason for loop to be avoided? It is a
macro in CL, so it gets expanded at compile time. I ask since I
have used it in MH-E.

Thanks,
Satyaki




reply via email to

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