From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#12314: 24.2.50; `add-to-history': use `setq' with `delete' Date: Mon, 10 Sep 2012 07:37:20 +0300 Message-ID: <83pq5ulchr.fsf@gnu.org> References: <7602D24B74DE42CF9901322634B85CA2@us.oracle.com> <87sjas4mc2.fsf@gnu.org> <83ipbomv6e.fsf@gnu.org> <2C45207ADF0E46BC98AF1B486695F632@us.oracle.com> <83fw6smti6.fsf@gnu.org> <9A8F619FD7584123A6319BD089E444E4@us.oracle.com> <83bohgmrdv.fsf@gnu.org> <83a9x0mq5e.fsf@gnu.org> <8E40573C868D4B339513A16A02588F5E@us.oracle.com> <837gs4mcqy.fsf@gnu.org> <83627nnc2l.fsf@gnu.org> <83392rm840.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1347251919 14419 80.91.229.3 (10 Sep 2012 04:38:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Sep 2012 04:38:39 +0000 (UTC) Cc: 12314@debbugs.gnu.org, cyd@gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 10 06:38:41 2012 Return-path: Envelope-to: geb-bug-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 1TAvle-00034N-3W for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Sep 2012 06:38:38 +0200 Original-Received: from localhost ([::1]:35582 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TAvla-0000Sl-Hm for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Sep 2012 00:38:34 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56302) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TAvlX-0000Sd-I2 for bug-gnu-emacs@gnu.org; Mon, 10 Sep 2012 00:38:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TAvlW-0001IC-8E for bug-gnu-emacs@gnu.org; Mon, 10 Sep 2012 00:38:31 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41430) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TAvlW-0001I8-4w for bug-gnu-emacs@gnu.org; Mon, 10 Sep 2012 00:38:30 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TAvm2-0000WE-HK for bug-gnu-emacs@gnu.org; Mon, 10 Sep 2012 00:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Sep 2012 04:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12314 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12314-submit@debbugs.gnu.org id=B12314.13472519061944 (code B ref 12314); Mon, 10 Sep 2012 04:39:02 +0000 Original-Received: (at 12314) by debbugs.gnu.org; 10 Sep 2012 04:38:26 +0000 Original-Received: from localhost ([127.0.0.1]:50976 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TAvlR-0000VI-Q4 for submit@debbugs.gnu.org; Mon, 10 Sep 2012 00:38:26 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:49598) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TAvlK-0000V4-Dv for 12314@debbugs.gnu.org; Mon, 10 Sep 2012 00:38:22 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MA400D00A2ZTJ00@a-mtaout22.012.net.il> for 12314@debbugs.gnu.org; Mon, 10 Sep 2012 07:37:16 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MA400DTZA62MU60@a-mtaout22.012.net.il>; Mon, 10 Sep 2012 07:37:14 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:64026 Archived-At: > From: Stefan Monnier > Cc: drew.adams@oracle.com, 12314@debbugs.gnu.org, cyd@gnu.org > Date: Sun, 09 Sep 2012 17:37:53 -0400 > > >> > I meant "why does it matter FOR THE USER that the modification was > >> > destructive?" Users don't care about optimizations, they only care > >> > about performance. > >> Because this optimization improves performance, > > But this optimization was already done. We don't tell users in the > > manuals about each and every optimization we do to improve > > performance, do we? > > I don't understand the question: the user of delete/delq/nconc (the one > reading their docstring or their texinfo doc) is the person > reading/writing the code, and the optimization is the act of choosing > delete over remove or delq over remq or nconc over append, which is > exactly what the reader will want to know, I think. See my other message: I think we are talking about 2 different things. My gripe was only about using the term "destructive modification", which muddies the waters without gaining anything.