From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "Miguel V. S. Frasson" Newsgroups: gmane.emacs.bugs Subject: bug#34852: 26.1; seq-intersection ignores nil as element Date: Wed, 13 Mar 2019 23:16:30 -0300 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="93425"; mail-complaints-to="usenet@blaine.gmane.org" To: 34852@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 14 03:24:21 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h4G2e-000O74-B4 for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Mar 2019 03:24:20 +0100 Original-Received: from localhost ([127.0.0.1]:54735 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4G2d-0002Pm-4y for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Mar 2019 22:24:19 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34830) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4G2S-0002PG-GE for bug-gnu-emacs@gnu.org; Wed, 13 Mar 2019 22:24:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h4G2Q-00016g-JQ for bug-gnu-emacs@gnu.org; Wed, 13 Mar 2019 22:24:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57353) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h4G2N-00014s-CW for bug-gnu-emacs@gnu.org; Wed, 13 Mar 2019 22:24:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h4G2N-0002Tw-4W for bug-gnu-emacs@gnu.org; Wed, 13 Mar 2019 22:24:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Miguel V. S. Frasson" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Mar 2019 02:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34852 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15525301989482 (code B ref -1); Thu, 14 Mar 2019 02:24:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Mar 2019 02:23:18 +0000 Original-Received: from localhost ([127.0.0.1]:42663 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h4G1d-0002Ss-Q7 for submit@debbugs.gnu.org; Wed, 13 Mar 2019 22:23:18 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48544) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h4G1c-0002Sf-1E for submit@debbugs.gnu.org; Wed, 13 Mar 2019 22:23:16 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:49080) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h4G1W-0000W6-Ln for submit@debbugs.gnu.org; Wed, 13 Mar 2019 22:23:10 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4G1V-0002Kv-Kc for bug-gnu-emacs@gnu.org; Wed, 13 Mar 2019 22:23:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h4FvW-0006Xa-C6 for bug-gnu-emacs@gnu.org; Wed, 13 Mar 2019 22:16:59 -0400 Original-Received: from mail-it1-x12a.google.com ([2607:f8b0:4864:20::12a]:35648) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h4FvW-0006Wy-5D for bug-gnu-emacs@gnu.org; Wed, 13 Mar 2019 22:16:58 -0400 Original-Received: by mail-it1-x12a.google.com with SMTP id 188so2201009itb.0 for ; Wed, 13 Mar 2019 19:16:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=wfNtVJ9pNnEEaPAZAGiAUpjF/CU7TumWhYf5V4iPzbA=; b=JNM5JrL3DrX+pE2RJRuVxBi3iKGFx3Ews8vrwj8q9QzcbBldQ4WX1lemf8xkJeb1W2 jJ8ObAiW1N7LLNpZ9UhOcPwPzA1NS6xpjo8/T5heX20NkEIH2l5p43XgS9VQ0Yl0QljU S8ECABZIySyst7nKjfdULJ+x3HkHfRaPX193zL2QEjlG97YANT5hFU+zGx6kGN0Of5lS 8QRc2skg7SQ2SwIV/fzTYIDzF2UztsemH96DJ/0tXyEUEu37doJ+5PCyOFXdPi8Wwdm2 qTxg6eixE9WZZzABlEdUZRJxqFsxsV0vm6tUhG4fixw8WSbSzTGYE6ubh1P60LeqalaX 5sGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=wfNtVJ9pNnEEaPAZAGiAUpjF/CU7TumWhYf5V4iPzbA=; b=WpG/B2MCp6gl+Y5/8L5RIyGMIqr9ECidDU30nGD+4j2zNSkfo2blz6xkaGTgSXGK6u hKxCwCsrSWiRNkYDhLqgZxRj8mjUYdNnTjG2EDS+8wXwJlz6N830ZqHs3RYh1D+poG0H +eXarFycNd+23JlfH+Z0uBjcOSm3dgYdAgRJ+WtQoTCvSYUB05UNCNcsPOLVZFj13gUG UvlzccFRNizbxJ6HFASfVzxuWoJhFcewQLxLxRaVDlm0d8OqhgyDKprS8VMMRKgGNxmR VTh8OiieZrLIxo2TYevaIWCUKuJ5OxKQs48fjzoTldwFXFfGXcpQw+Ac16wykOzl0qWI NZAQ== X-Gm-Message-State: APjAAAX/0lAhp3r6IduUkBl/q/fopVfkUzs9J46sq269T1+fakLuANYD MAWRdaoEF61dQ3mj+yhJ2c29kPMEqiICHavGrzHUZIt4 X-Google-Smtp-Source: APXvYqzN87a7W/ujsJMlOe8chUFJnsgxoKzkEMEyGBX+p5cixfkKL3L+3k+aNoVpfl/tBouF95oucTMAe4AVCBX36Co= X-Received: by 2002:a24:75c7:: with SMTP id y190mr705267itc.108.1552529816515; Wed, 13 Mar 2019 19:16:56 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:156314 Archived-At: Hi. seq-intersection skips nil as common element, so returns wrong result. Reproducing from emacs -Q: In *scratch* buffer, eval the expressions (progn (require 'seq) (seq-intersection '(1 2 nil) '(1 nil) 'eq)) -> (1) (seq-intersection '(1 2 nil) '(1 nil) 'equal) -> (1) Expected result in both cases: (1 nil) Cheers Miguel Frasson -- In GNU Emacs 26.1 (build 1, i686-w64-mingw32) of 2018-05-30 built on CIRROCUMULUS Repository revision: 07f8f9bc5a51f5aa94eb099f3e15fbe0c20ea1ea Windowing system distributor 'Microsoft Corp.', version 10.0.17134 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. seq Configured using: 'configure --without-dbus --host=i686-w64-mingw32 --without-compress-install 'CFLAGS=-O2 -static -g3'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS THREADS LCMS2 Important settings: value of $LANG: PTB locale-coding-system: cp1252 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib elec-pair time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote w32notify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 8 96961 9032) (symbols 32 20186 1) (miscs 32 38 140) (strings 16 29656 2096) (string-bytes 1 766583) (vectors 12 14052) (vector-slots 4 507930 10192) (floats 8 52 289) (intervals 28 263 59) (buffers 536 12)) -- Miguel Vinicius Santini Frasson mvsfrasson@gmail.com