From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/48874 Path: main.gmane.org!not-for-mail From: Raja R Harinath Newsgroups: gmane.emacs.gnus.general Subject: Re: format called for effect Date: Tue, 07 Jan 2003 11:02:25 -0600 Sender: owner-ding@hpc.uh.edu Message-ID: References: <84ptrbqte8.fsf@lucy.cs.uni-dortmund.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1041958964 21376 80.91.224.249 (7 Jan 2003 17:02:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 7 Jan 2003 17:02:44 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Vx7j-0005Yd-00 for ; Tue, 07 Jan 2003 18:02:43 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18Vx7j-0001LE-00; Tue, 07 Jan 2003 11:02:43 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 07 Jan 2003 11:03:36 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id LAA11358 for ; Tue, 7 Jan 2003 11:03:25 -0600 (CST) Original-Received: (qmail 38427 invoked by alias); 7 Jan 2003 17:02:26 -0000 Original-Received: (qmail 38422 invoked from network); 7 Jan 2003 17:02:26 -0000 Original-Received: from mail.cs.umn.edu (128.101.35.202) by 66.230.238.6 with SMTP; 7 Jan 2003 17:02:26 -0000 Original-Received: from bose.cs.umn.edu (bose.cs.umn.edu [128.101.35.195]) by mail.cs.umn.edu (Postfix) with ESMTP id 345901132B for ; Tue, 7 Jan 2003 11:02:26 -0600 (CST) Original-Received: by bose.cs.umn.edu (Postfix, from userid 818) id EC8893202; Tue, 7 Jan 2003 11:02:25 -0600 (CST) Original-To: ding@gnus.org In-Reply-To: (Lars Magne Ingebrigtsen's message of "Mon, 06 Jan 2003 03:20:40 +0100") User-Agent: Gnus/5.090011 (Oort Gnus v0.11) Emacs/21.3.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:48874 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:48874 Lars Magne Ingebrigtsen writes: > kai.grossjohann@uni-duisburg.de (Kai Gro=DFjohann) writes: > >> When byte-compiling Gnus, I see the message from subject. It comes >> from gnus-msg.el, line 1497 or so, if I'm not mistaken.=20 > > This code: > > (condition-case () > (pp `(setq ,(car olist) > ,(if (or (consp (setq sym (symbol-value (car olist)))) > (and (symbolp sym) > (not (or (eq sym nil) > (eq sym t))))) > (list 'quote (symbol-value (car olist))) > (symbol-value (car olist)))) > (current-buffer)) > (error > (format "(setq %s 'whatever)\n" (car olist)))) > > First of all -- I have no idea why that `condition-case' is the way > it is. I didn't know that `format' had any effect? Does it?=20=20 It doesn't. And that seems to be the point of the overly cleverly worded warning. It think the warning says "you want a side-effect there, but 'format' ain't gonna do it for you" - Hari --=20 Raja R Harinath ------------------------------ harinath@cs.umn.edu