unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Subject: dolist?
Date: Sat, 02 Jul 2005 13:43:12 +0200	[thread overview]
Message-ID: <42C67DD0.4060006@student.lu.se> (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" )))))))))

             reply	other threads:[~2005-07-02 11:43 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-02 11:43 Lennart Borgman [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42C67DD0.4060006@student.lu.se \
    --to=lennart.borgman.073@student.lu.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

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 read-only IMAP folder(s) and NNTP newsgroup(s).