From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#12314: 24.2.50; `add-to-history': use `setq' with `delete' Date: Sun, 9 Sep 2012 12:46:24 -0700 Message-ID: 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> <38A3421174894E56BCF8C118983375B0@us.oracle.com> <83txv7kqh5.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 1347220056 2295 80.91.229.3 (9 Sep 2012 19:47:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Sep 2012 19:47:36 +0000 (UTC) Cc: 12314@debbugs.gnu.org, cyd@gnu.org To: "'Eli Zaretskii'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 09 21:47:38 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 1TAnTm-0007hr-8X for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Sep 2012 21:47:38 +0200 Original-Received: from localhost ([::1]:36401 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TAnTi-0003yb-SK for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Sep 2012 15:47:34 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TAnTg-0003yH-RH for bug-gnu-emacs@gnu.org; Sun, 09 Sep 2012 15:47:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TAnTf-0001Ty-SQ for bug-gnu-emacs@gnu.org; Sun, 09 Sep 2012 15:47:32 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41091) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TAnTf-0001Ts-PV for bug-gnu-emacs@gnu.org; Sun, 09 Sep 2012 15:47:31 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TAnU9-0005C5-Ow for bug-gnu-emacs@gnu.org; Sun, 09 Sep 2012 15:48:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 Sep 2012 19:48:01 +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.134722003519905 (code B ref 12314); Sun, 09 Sep 2012 19:48:01 +0000 Original-Received: (at 12314) by debbugs.gnu.org; 9 Sep 2012 19:47:15 +0000 Original-Received: from localhost ([127.0.0.1]:50637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TAnTN-0005Ay-2i for submit@debbugs.gnu.org; Sun, 09 Sep 2012 15:47:14 -0400 Original-Received: from rcsinet15.oracle.com ([148.87.113.117]:36010) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TAnTK-0005Aq-HC for 12314@debbugs.gnu.org; Sun, 09 Sep 2012 15:47:11 -0400 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q89JkbH4003601 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 9 Sep 2012 19:46:38 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q89Jkb9I013118 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 9 Sep 2012 19:46:37 GMT Original-Received: from abhmt103.oracle.com (abhmt103.oracle.com [141.146.116.55]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q89Jka3d016056; Sun, 9 Sep 2012 14:46:36 -0500 Original-Received: from dradamslap1 (/71.202.147.44) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 09 Sep 2012 12:46:36 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <83txv7kqh5.fsf@gnu.org> Thread-Index: Ac2Ot9GVTmjXqsCIRHSLngRLr6TX/QACdbIQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet22.oracle.com [141.146.126.238] 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:64016 Archived-At: > > Eli, at the risk of butting in, I respectfully suggest that > > you might not be reading about this topic well enough or > > perhaps not thinking enough about it. > > How is this remark helpful? I am sincerely _trying_ to help you. I've tried to explain and give examples. I've pointed you to other explanations on line and elsewhere in the Elisp manual. And I've suggested that you take a bit more time to study and think about what you've read. And I would add, perhaps experiment. If my attempts to help do not help you or you do not appreciate them, sorry. This is really not that big a deal. Ask around. This is a common question and lots of people have explained it in various ways. Take your pick. > > Stefan is making the point that when programmers use > > `delete' or `delq' or `nconc' they often do so to improve > > the performance of their code. Which is true. > > This is an entirely different issue. "Destructive modification" does > not imply the optimization you (and evidently Stefan) are alluding to, > at least not universally so, nor a possibility to piggy-back that to > optimize application code. It just means that the original object is > modified (a.k.a. "destroyed") in the process. To quote a famous person (you), I give up. I sincerely hope someone else helps you find what you're looking for. If not, maybe you will reread the thread or the manual at a later date and you will find it yourself. Sometimes that's all it takes for things to become clear.