From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#29323: kill-do-not-save-duplicate, FR Date: Thu, 16 Nov 2017 14:34:56 -0800 (PST) Message-ID: <9e1d4bed-fbe9-463a-afdd-031f3b9cb041@default> References: <389775cc-0e7b-ec2b-37d3-176516fc0786@easy-emacs.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1510871773 7697 195.159.176.226 (16 Nov 2017 22:36:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 16 Nov 2017 22:36:13 +0000 (UTC) To: Andreas =?UTF-8?Q?R=C3=B6hler?= , 29323@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 16 23:36:09 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFSlU-0001jj-HC for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Nov 2017 23:36:08 +0100 Original-Received: from localhost ([::1]:43096 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eFSlb-0006Ou-RG for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Nov 2017 17:36:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eFSlT-0006OJ-Lz for bug-gnu-emacs@gnu.org; Thu, 16 Nov 2017 17:36:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eFSlO-0003hq-N6 for bug-gnu-emacs@gnu.org; Thu, 16 Nov 2017 17:36:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35300) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eFSlO-0003hm-JU for bug-gnu-emacs@gnu.org; Thu, 16 Nov 2017 17:36:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eFSlO-0005rL-Ak for bug-gnu-emacs@gnu.org; Thu, 16 Nov 2017 17:36:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Nov 2017 22:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29323 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29323-submit@debbugs.gnu.org id=B29323.151087170722447 (code B ref 29323); Thu, 16 Nov 2017 22:36:02 +0000 Original-Received: (at 29323) by debbugs.gnu.org; 16 Nov 2017 22:35:07 +0000 Original-Received: from localhost ([127.0.0.1]:43978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFSkV-0005pz-LS for submit@debbugs.gnu.org; Thu, 16 Nov 2017 17:35:07 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:45268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFSkU-0005pS-6S for 29323@debbugs.gnu.org; Thu, 16 Nov 2017 17:35:06 -0500 Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id vAGMYwCm019660 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 16 Nov 2017 22:35:00 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id vAGMYwkX008430 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 16 Nov 2017 22:34:58 GMT Original-Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id vAGMYv04013636; Thu, 16 Nov 2017 22:34:57 GMT In-Reply-To: <389775cc-0e7b-ec2b-37d3-176516fc0786@easy-emacs.de> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4615.0 (x86)] X-Source-IP: aserv0022.oracle.com [141.146.126.234] 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: 208.118.235.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:139972 Archived-At: > Currently variable kill-do-not-save-duplicates checks only the (car kill-= ring) as docu explains:=20 > > Do not add a new string to =E2=80=98kill-ring=E2=80=99 if it duplicates t= he last one. > The comparison is done using =E2=80=98equal-including-properties=E2=80=99= . > AFAIU it would be trivial replace this check by a call of "member", > thus checking > the whole kill-ring. Why do that? Why not just prevent duplicates in the first place, which is what the option currently does? If you for some reason get duplicate entries somehow, in spite of using the option to prevent them, you can always remove them. I don't understand how that would be something that would happen normally. What is the problem that this would try to solve/prevent? --- BTW - it's a pain to remove all of the formatting of your mails to such lists. Please consider using plain text, or at a minimum not using a colored (i.e. non-white) background. Just a request or suggestion.