From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/48857 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: format called for effect Date: Tue, 07 Jan 2003 08:25:46 +0100 Organization: University of Dortmund, Germany Sender: owner-ding@hpc.uh.edu Message-ID: <84y95xqv45.fsf@lucy.cs.uni-dortmund.de> 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: 8bit X-Trace: main.gmane.org 1041926456 23357 80.91.224.249 (7 Jan 2003 08:00:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 7 Jan 2003 08:00:56 +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 18VofO-00064S-00 for ; Tue, 07 Jan 2003 09:00:54 +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 18VofG-00052i-00; Tue, 07 Jan 2003 02:00:46 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 07 Jan 2003 02:01:40 -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 CAA09636 for ; Tue, 7 Jan 2003 02:01:21 -0600 (CST) Original-Received: (qmail 11292 invoked by alias); 7 Jan 2003 08:00:23 -0000 Original-Received: (qmail 11287 invoked from network); 7 Jan 2003 08:00:22 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by 66.230.238.6 with SMTP; 7 Jan 2003 08:00:22 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 18VoiJ-0004C8-00 for ; Tue, 07 Jan 2003 09:03:55 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 34 Original-NNTP-Posting-Host: lucy.is.informatik.uni-duisburg.de Original-X-Trace: quimby.gnus.org 1041926635 16125 134.91.35.216 (7 Jan 2003 08:03:55 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 7 Jan 2003 08:03:55 GMT User-Agent: Gnus/5.090011 (Oort Gnus v0.11) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:HlvuYRJuhCdFs4WvPEaZJjVWE80= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:48857 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:48857 Lars Magne Ingebrigtsen writes: > kai.grossjohann@uni-duisburg.de (Kai Großjohann) 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. > > 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? And if > it doesn't, why is that code that way? If nobody has an explanation, > I'll just remove the `format'. Thinking some more about it, maybe what was intended was to try to insert one setq statement, and to insert another setq statement in the case of an error. So maybe the condition-case should be around the if and return `whatever' in case of error? -- Ambibibentists unite!