From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: Lists composed of equal number and kind of elements Date: Mon, 27 Jul 2015 06:17:01 -0700 (PDT) Message-ID: References: <55B5D99B.9080100@easy-emacs.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1438003067 11923 80.91.229.3 (27 Jul 2015 13:17:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Jul 2015 13:17:47 +0000 (UTC) To: =?utf-8?B?QW5kcmVhcyBSw7ZobGVy?= , help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 27 15:17:34 2015 Return-path: Envelope-to: geh-help-gnu-emacs@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 1ZJiHV-0005qE-Fe for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Jul 2015 15:17:25 +0200 Original-Received: from localhost ([::1]:53419 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJiHU-0004U4-Gp for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Jul 2015 09:17:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJiHH-0004RS-4k for help-gnu-emacs@gnu.org; Mon, 27 Jul 2015 09:17:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZJiHD-0006ca-WA for help-gnu-emacs@gnu.org; Mon, 27 Jul 2015 09:17:11 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:23296) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJiHD-0006cO-Oq for help-gnu-emacs@gnu.org; Mon, 27 Jul 2015 09:17:07 -0400 Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t6RDH2HA006676 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 27 Jul 2015 13:17:03 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t6RDH2IR008228 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 27 Jul 2015 13:17:02 GMT Original-Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by userv0121.oracle.com (8.13.8/8.13.8) with ESMTP id t6RDH2lb017159; Mon, 27 Jul 2015 13:17:02 GMT In-Reply-To: <55B5D99B.9080100@easy-emacs.de> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] X-Source-IP: userv0021.oracle.com [156.151.31.71] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:106030 Archived-At: > is there a handy way to check if two lists --results of (window-list) > precisely-- are equal WRT to the kind and number elements? > The order of elements should be ignored. Try `cl-set-exclusive-or', from cl-seq.el. ,---- | cl-set-exclusive-or is an autoloaded Lisp function in `cl-seq.el'. |=20 | (cl-set-exclusive-or LIST1 LIST2 [KEYWORD VALUE]...) |=20 | Combine LIST1 and LIST2 using a set-exclusive-or operation. | The resulting list contains all items appearing in exactly one of LIST1, = LIST2. | This is a non-destructive function; it makes a copy of the data if necess= ary | to avoid corrupting the original LIST1 and LIST2. |=20 | Keywords supported: :test :test-not :key `----