From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: tyler Newsgroups: gmane.emacs.help Subject: Re: I find a mistake in "introduction to emacs lisp" in emacs 23 Date: Fri, 03 Jul 2009 10:45:41 -0300 Message-ID: <87bpo1swvu.fsf@blackbart.sedgenet> References: <9615a48f-ab54-433b-8757-bed38f4fbbaf@24g2000yqm.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1246628791 16305 80.91.229.12 (3 Jul 2009 13:46:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 3 Jul 2009 13:46:31 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 03 15:46:25 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MMj5s-0001pu-MI for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Jul 2009 15:46:25 +0200 Original-Received: from localhost ([127.0.0.1]:44807 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MMj5s-00031E-6V for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Jul 2009 09:46:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MMj5W-00030l-Hi for help-gnu-emacs@gnu.org; Fri, 03 Jul 2009 09:46:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MMj5R-0002z6-Ok for help-gnu-emacs@gnu.org; Fri, 03 Jul 2009 09:46:02 -0400 Original-Received: from [199.232.76.173] (port=57015 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MMj5R-0002z3-Hi for help-gnu-emacs@gnu.org; Fri, 03 Jul 2009 09:45:57 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:56720 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MMj5R-0001Tg-23 for help-gnu-emacs@gnu.org; Fri, 03 Jul 2009 09:45:57 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MMj5N-0006kG-FF for help-gnu-emacs@gnu.org; Fri, 03 Jul 2009 13:45:53 +0000 Original-Received: from hlfxns0169w-142177155087.pppoe-dynamic.ns.aliant.net ([142.177.155.87]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Jul 2009 13:45:53 +0000 Original-Received: from tyler.smith by hlfxns0169w-142177155087.pppoe-dynamic.ns.aliant.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Jul 2009 13:45:53 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 36 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: hlfxns0169w-142177155087.pppoe-dynamic.ns.aliant.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:gsSXfIu8Klqq677XFh6S17/wRMQ= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:65758 Archived-At: bolega writes: > On Jul 1, 6:33 pm, waterloo wrote: >> In "kill-new function" of 8.3.1. >> >> The critical lines are these:...... >> >>   (setq kill-ring (cons string kill-ring)) is needless . >> >> thanks > > Can anyone else confirm this ? and explain if it is a minor issue or a > major one ? > The actual node is: (info "(eintr)kill-new function") And it does look like the line above is incorrect. It does not appear in the code for the kill-new function in simple.el, and from the explanation in the info node, it sounds as if it serves the same purpose as the preceding line: (push string kill-ring) I guess the (push ...) function should have replaced the (setq ...) function, but the (setq ...) never got deleted. Cheers, Tyler -- Tired of spyware? Try Firefox: www.firefox.com