From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas =?UTF-8?Q?R=C3=B6hler?= Newsgroups: gmane.emacs.bugs Subject: bug#8275: 24.0.50; Intro to Emacs Lisp Issue Date: Sun, 20 Mar 2011 22:20:39 +0100 Message-ID: <4D866FA7.3070508@easy-emacs.de> References: <871v25d4zl.fsf@notengoamigos.org> <87zkoqwz4w.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1300657036 18979 80.91.229.12 (20 Mar 2011 21:37:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 20 Mar 2011 21:37:16 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 20 22:37:12 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q1QJE-00041O-AP for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Mar 2011 22:37:12 +0100 Original-Received: from localhost ([127.0.0.1]:35822 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q1QJD-0002rB-N7 for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Mar 2011 17:37:11 -0400 Original-Received: from [140.186.70.92] (port=33946 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q1QJ7-0002m0-7z for bug-gnu-emacs@gnu.org; Sun, 20 Mar 2011 17:37:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q1QJ6-0005mb-40 for bug-gnu-emacs@gnu.org; Sun, 20 Mar 2011 17:37:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52408) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q1QJ6-0005mR-2S for bug-gnu-emacs@gnu.org; Sun, 20 Mar 2011 17:37:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Q1Pxm-0007iw-Co; Sun, 20 Mar 2011 17:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Mar 2011 21:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8275 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by submit@debbugs.gnu.org id=B.130065569529663 (code B ref -1); Sun, 20 Mar 2011 21:15:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Mar 2011 21:14:55 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q1Pxe-0007iO-7q for submit@debbugs.gnu.org; Sun, 20 Mar 2011 17:14:54 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q1Pxc-0007iB-9p for submit@debbugs.gnu.org; Sun, 20 Mar 2011 17:14:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q1PxW-000200-4G for submit@debbugs.gnu.org; Sun, 20 Mar 2011 17:14:47 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:49521) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q1PxW-0001zu-2A for submit@debbugs.gnu.org; Sun, 20 Mar 2011 17:14:46 -0400 Original-Received: from [140.186.70.92] (port=32916 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q1PxU-0002Bd-Vc for bug-gnu-emacs@gnu.org; Sun, 20 Mar 2011 17:14:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q1PxT-0001zF-Rq for bug-gnu-emacs@gnu.org; Sun, 20 Mar 2011 17:14:44 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.171]:60859) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q1PxT-0001y5-Fk for bug-gnu-emacs@gnu.org; Sun, 20 Mar 2011 17:14:43 -0400 Original-Received: from [192.168.178.29] (brln-4d0c3aee.pool.mediaWays.net [77.12.58.238]) by mrelayeu.kundenserver.de (node=mrbap3) with ESMTP (Nemesis) id 0M3SWO-1Pjt6e2zSK-00qxuA; Sun, 20 Mar 2011 22:14:40 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 In-Reply-To: X-Provags-ID: V02:K0:A8NmO6Ja4jYhwbQLG7zA1rW9XN2WMF/Y0vdkgpJ6OIv PdwJKZ7c9LlN9TsKPtxB0FsfdmANmq6HNHrlXYFv357VveBzx2 443zKwL2CdbVG4jdhP/AFH5k0sgzJ4C+oqPYFI9tC9vEeBVegC nI06vOugyWjotMLL0HnSBrHFHfg0hw4CJfQNoGjUnOIUu0i0k7 DtVdDtTmfwF0QULciu0i2JbtwAfcuouA8kfvVr83u8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 20 Mar 2011 17:15:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:45208 Archived-At: Am 20.03.2011 04:34, schrieb Stefan Monnier: >> Do you want to fix this, or shall I try? The problem is that >> append-to-buffer now uses let* and with-current-buffer, so this might >> break the flow of the text. At this point in the book, let* and >> with-current-buffer are not yet introduced. > > Here are some thoughts: > - I don't think it's of any importance that the example code be > identical to the currently used code. > - append-to-buffer might not be the best example since AFAICT copying > text from one buffer to another is not a common operation and in most > cases this is done via buffer-substring + insert (often with some > processing on the string between the two) rather than with > insert-buffer-substring which is a rarely used function. > - yes, I think the text would benefit from some rethink to try and present > with-current-buffer in preference to set-buffer, but it's not > a simple fix. > > > Stefan > > > > just add: "as GNU Emacs version 19 used it" Cheers Andreas