all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* dolist?
@ 2005-07-02 11:43 Lennart Borgman
  2005-07-02 18:33 ` dolist? Lennart Borgman
  0 siblings, 1 reply; 22+ messages in thread
From: Lennart Borgman @ 2005-07-02 11:43 UTC (permalink / raw)


I am trying to use dolist in the function below. When I comment out the 
line marked below I only get the first det from detlst. What is wrong? 
Is dolist a no-no? Or is this a bug?


(defun instpack-check-pack-list()
  (message "Checking package list detail names...")
  (dolist (pack instpack-package-list)
    (let ((name (nth 0 pack))
      (detlst (nth 1 pack)))
      (message "  %s" name)
      (when detlst
    (dolist (det detlst)
          ;;(message "    det=%s" det) ;; <----------- I only get the 
first "det" if I comment out this...
      (let ((detname (car det)))
        (message (concat "  ... checking detail name " (symbol-name 
detname)))
        (unless (instpack-detail-valid detname)
          (error (concat "Detail name " detname " in package " name " is 
invalid" )))))))))

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

end of thread, other threads:[~2005-07-03 23:09 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-02 11:43 dolist? Lennart Borgman
2005-07-02 18:33 ` dolist? Lennart Borgman
2005-07-02 20:09   ` dolist? Lennart Borgman
2005-07-02 20:41     ` dolist? - same result on 21.3 Lennart Borgman
2005-07-02 21:46       ` Drew Adams
2005-07-02 21:01     ` dolist? Miles Bader
2005-07-02 21:01     ` dolist? David Ponce
2005-07-02 21:12     ` dolist? Juanma Barranquero
2005-07-02 21:27       ` dolist? Lennart Borgman
2005-07-02 21:33         ` dolist? Juanma Barranquero
2005-07-02 21:40           ` dolist? Lennart Borgman
2005-07-02 22:33           ` dolist? Adrian Aichner
2005-07-02 21:46         ` dolist? David Ponce
2005-07-02 22:07           ` dolist? Lennart Borgman
2005-07-02 22:44             ` dolist? Drew Adams
2005-07-02 22:12           ` dolist? Drew Adams
2005-07-02 23:35             ` dolist? Miles Bader
2005-07-02 23:50               ` dolist? Drew Adams
2005-07-02 21:50         ` dolist? Drew Adams
2005-07-02 21:28       ` dolist? Juanma Barranquero
2005-07-03 20:42       ` dolist? Richard M. Stallman
2005-07-03 23:09         ` dolist? Drew Adams

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.