[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Warning: `mapcar' called for effect; use `mapc' or `dolist'
From: |
Katsumi Yamaoka |
Subject: |
Re: Warning: `mapcar' called for effect; use `mapc' or `dolist' |
Date: |
Thu, 01 Nov 2007 11:35:50 +0900 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) |
>>>>> In http://article.gmane.org/gmane.emacs.gnus.general/65434
>>>>> I wrote:
> For instance, `mapcar' used in `gnus-group-highlight-line'
> cannot be replaced with `mapc' even if the compiler warns it.
>>>>> In http://article.gmane.org/gmane.emacs.gnus.general/65439
>>>>> Reiner Steib wrote:
> `mailp' is used implicitly through the variable `gnus-group-highlight'
> which is let-bound to `list'. `list' is used in the body of the
> let-form.
>>>>> Richard Stallman wrote:
> So if this warning really happens, it is a bug.
> Can it be reproduced?
When I wrote the first message I saw that the byte compiler
warned about the usage of mapcar in `gnus-group-highlight-line',
but it has gone after I rebuilt Emacs after I wrote that message.
I also tried Emacs built with the source of two weeks ago, but it
didn't happen. That's a mystery, but I don't intend to inquire
into it further.
Regards,
- Re: Warning: `mapcar' called for effect; use `mapc' or `dolist', (continued)
- Re: Warning: `mapcar' called for effect; use `mapc' or `dolist', Richard Stallman, 2007/10/23
- Message not available
- Risky variables in Gnus (was: Warning: `mapcar' called for effect; use `mapc' or `dolist'), Reiner Steib, 2007/10/27
- Re: Risky variables in Gnus (was: Warning: `mapcar' called for effect; use `mapc' or `dolist'), Richard Stallman, 2007/10/27
- Re: Risky variables in Gnus, Reiner Steib, 2007/10/27
- Re: Warning: `mapcar' called for effect; use `mapc' or `dolist', Richard Stallman, 2007/10/31
- Re: Warning: `mapcar' called for effect; use `mapc' or `dolist', Reiner Steib, 2007/10/31
- Re: Warning: `mapcar' called for effect; use `mapc' or `dolist', Glenn Morris, 2007/10/31
- Re: Warning: `mapcar' called for effect; use `mapc' or `dolist',
Katsumi Yamaoka <=
Re: Warning: `mapcar' called for effect; use `mapc' or `dolist', Reiner Steib, 2007/10/24