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: Sat, 08 Sep 2012 19:05:48 +0300 Message-ID: <83bohgmrdv.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> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1347120404 18605 80.91.229.3 (8 Sep 2012 16:06:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Sep 2012 16:06:44 +0000 (UTC) Cc: 12314@debbugs.gnu.org, cyd@gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 08 18:06:45 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 1TANYT-0001lj-8S for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Sep 2012 18:06:45 +0200 Original-Received: from localhost ([::1]:45860 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TANYP-0004lt-LH for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Sep 2012 12:06:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56115) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TANYM-0004lP-R8 for bug-gnu-emacs@gnu.org; Sat, 08 Sep 2012 12:06:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TANYL-0004dv-RJ for bug-gnu-emacs@gnu.org; Sat, 08 Sep 2012 12:06:38 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39261) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TANYL-0004dn-Oj for bug-gnu-emacs@gnu.org; Sat, 08 Sep 2012 12:06:37 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TANYj-0006SQ-MB for bug-gnu-emacs@gnu.org; Sat, 08 Sep 2012 12:07:01 -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: Sat, 08 Sep 2012 16:07: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.134712037424731 (code B ref 12314); Sat, 08 Sep 2012 16:07:01 +0000 Original-Received: (at 12314) by debbugs.gnu.org; 8 Sep 2012 16:06:14 +0000 Original-Received: from localhost ([127.0.0.1]:48806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TANXx-0006Qq-S6 for submit@debbugs.gnu.org; Sat, 08 Sep 2012 12:06:14 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:49600) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TANXv-0006Qg-GY for 12314@debbugs.gnu.org; Sat, 08 Sep 2012 12:06:12 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MA100900GKB6W00@a-mtaout21.012.net.il> for 12314@debbugs.gnu.org; Sat, 08 Sep 2012 19:05:46 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MA1009QDGPL1Q60@a-mtaout21.012.net.il>; Sat, 08 Sep 2012 19:05:46 +0300 (IDT) In-reply-to: <9A8F619FD7584123A6319BD089E444E4@us.oracle.com> 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:63951 Archived-At: > From: "Drew Adams" > Cc: , <12314@debbugs.gnu.org> > Date: Sat, 8 Sep 2012 08:48:53 -0700 > > > I'm not sure who is missing what. All I'm saying is that the manual > > seems to suggest that an explicit assignment is unnecessary, and yet > > Chong did exactly that. If just "(delete 'foo bar)", with 'bar' a > > list, is sometimes not enough, the manual should say when. And if it > > is enough, why should we make the change in add-to-history? > > It is not enough, if you need the variable to reflect the updated list contents. Then the manual should be corrected to state that much more explicitly than it does now. Perhaps it shouldn't even talk about destructive removal, as that will surely spread confusion. For me "destructive" means "in-place", and no amount of describing how 'delete' works internally will ever be able to countermand that. Besides, if all I need is a quick reminder about the semantics, I'm unlikely to read all the verbiage, let alone go up to read more under 'delq'. So the most important facts should be right there at the beginning, not hidden away under "note that" etc.