From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fabrice Popineau Newsgroups: gmane.emacs.devel Subject: Re: member inconsistency? Date: Mon, 1 Feb 2016 07:10:34 +0000 (UTC) Message-ID: References: <87twly2iye.fsf@nicolasgoaziou.fr> <871t929f1e.fsf@gmx.net> <87oac5s2a7.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1454310671 9959 80.91.229.3 (1 Feb 2016 07:11:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Feb 2016 07:11:11 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 01 08:10:52 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aQ8dQ-0006Th-21 for ged-emacs-devel@m.gmane.org; Mon, 01 Feb 2016 08:10:52 +0100 Original-Received: from localhost ([::1]:44981 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQ8dP-0002x3-0N for ged-emacs-devel@m.gmane.org; Mon, 01 Feb 2016 02:10:51 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQ8dM-0002wu-CX for emacs-devel@gnu.org; Mon, 01 Feb 2016 02:10:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQ8dJ-0004C7-60 for emacs-devel@gnu.org; Mon, 01 Feb 2016 02:10:48 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:34770) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQ8dI-0004C3-Uy for emacs-devel@gnu.org; Mon, 01 Feb 2016 02:10:45 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aQ8dG-0006EG-DK for emacs-devel@gnu.org; Mon, 01 Feb 2016 08:10:42 +0100 Original-Received: from lobsang.supelec.fr ([160.228.100.37]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 01 Feb 2016 08:10:42 +0100 Original-Received: from fabrice.popineau by lobsang.supelec.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 01 Feb 2016 08:10:42 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 160.228.100.37 (Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:199113 Archived-At: Richard Stallman gnu.org> writes: > > [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > > > In contrast, `member' (and `memql' in the float case) has no check and > > > also uses a for-loop with the condition CONSP (tail), and when this > > > fails, the function just returns Qnil. > > > `delete' and `delq' also has the bug. > > Why consider it a bug? What is wrong with it? > It makes it harder to catch the bug if you inadvertently call member with its second argument not being a sequence ? Fabrice