From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Re: format called for effect
Date: Mon, 06 Jan 2003 03:20:40 +0100 [thread overview]
Message-ID: <m37kdj5893.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <84ptrbqte8.fsf@lucy.cs.uni-dortmund.de>
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'.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
next prev parent reply other threads:[~2003-01-06 2:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-05 19:38 Kai Großjohann
2003-01-06 2:20 ` Lars Magne Ingebrigtsen [this message]
2003-01-07 7:25 ` Kai Großjohann
2003-01-08 3:52 ` Lars Magne Ingebrigtsen
2003-01-07 17:02 ` Raja R Harinath
2003-01-08 3:53 ` Lars Magne Ingebrigtsen
2003-01-08 5:12 ` Raja R Harinath
2003-01-08 6:12 ` Kai Großjohann
2003-01-08 9:19 ` Lars Magne Ingebrigtsen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m37kdj5893.fsf@quimbies.gnus.org \
--to=larsi@gnus.org \
/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.
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 NNTP newsgroup(s).