From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Gregor Zattler Newsgroups: gmane.emacs.bugs Subject: bug#12629: 24.2.50; [Doc][PATCH] Neither `what-line' nor `count-lines' do call the respectiv other in recent GNU/Emacs. Date: Fri, 12 Oct 2012 19:48:44 +0200 Message-ID: <87wqyvtwcj.fsf@boo.workgroup> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1350064581 13341 80.91.229.3 (12 Oct 2012 17:56:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Oct 2012 17:56:21 +0000 (UTC) To: 12629@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 12 19:56:28 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 1TMjTB-0005vA-ES for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Oct 2012 19:56:21 +0200 Original-Received: from localhost ([::1]:37271 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMjT4-0003Ux-QC for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Oct 2012 13:56:14 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36281) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMjT2-0003Us-UF for bug-gnu-emacs@gnu.org; Fri, 12 Oct 2012 13:56:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TMjT1-0004ue-T0 for bug-gnu-emacs@gnu.org; Fri, 12 Oct 2012 13:56:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59303) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMjT1-0004ua-PU for bug-gnu-emacs@gnu.org; Fri, 12 Oct 2012 13:56:11 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TMjTq-00042Z-G5 for bug-gnu-emacs@gnu.org; Fri, 12 Oct 2012 13:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregor Zattler Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Oct 2012 17:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12629 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.135006459715494 (code B ref -1); Fri, 12 Oct 2012 17:57:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Oct 2012 17:56:37 +0000 Original-Received: from localhost ([127.0.0.1]:41321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TMjTQ-00041q-RI for submit@debbugs.gnu.org; Fri, 12 Oct 2012 13:56:37 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34144) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TMjMt-0003rI-Bu for submit@debbugs.gnu.org; Fri, 12 Oct 2012 13:49:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TMjLy-0001jy-88 for submit@debbugs.gnu.org; Fri, 12 Oct 2012 13:48:55 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:46376) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMjLy-0001ju-4k for submit@debbugs.gnu.org; Fri, 12 Oct 2012 13:48:54 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51060) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMjLx-0002aB-8M for bug-gnu-emacs@gnu.org; Fri, 12 Oct 2012 13:48:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TMjLw-0001ji-9a for bug-gnu-emacs@gnu.org; Fri, 12 Oct 2012 13:48:53 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:46346) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1TMjLv-0001jZ-Vn for bug-gnu-emacs@gnu.org; Fri, 12 Oct 2012 13:48:52 -0400 Original-Received: (qmail invoked by alias); 12 Oct 2012 17:48:50 -0000 Original-Received: from p5795AC8D.dip.t-dialin.net (EHLO boo.workgroup) [87.149.172.141] by mail.gmx.net (mp037) with SMTP; 12 Oct 2012 19:48:50 +0200 X-Authenticated: #19296480 X-Provags-ID: V01U2FsdGVkX1+1ta0ZSdm15URtIlzkUNS9sWqox221N95yoAdR3O ev1/jMh/cHZB18 Original-Received: from grfz by boo.workgroup with local (Exim 4.80) (envelope-from ) id 1TMjLo-0006Fk-Kh; Fri, 12 Oct 2012 19:48:44 +0200 X-Y-GMX-Trusted: 0 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, 3) X-Mailman-Approved-At: Fri, 12 Oct 2012 13:56:35 -0400 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:65535 Archived-At: Dear Emacs developers, is "Introduction to Programming in Emacs Lisp" written by Robert J. Chassell, still updated? There is an error in it, this patch corrects it. --- doc/lispintro/emacs-lisp-intro.texi | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/lispintro/emacs-lisp-intro.texi b/doc/lispintro/emacs-lisp-intro.texi index 04e3e0c..6d3a5d0 100644 --- a/doc/lispintro/emacs-lisp-intro.texi +++ b/doc/lispintro/emacs-lisp-intro.texi @@ -6600,10 +6600,9 @@ buffer; or conversely, an Emacs Lisp function needs to work on all of a buffer that has been narrowed. The @code{what-line} function, for example, removes the narrowing from a buffer, if it has any narrowing and when it has finished its job, restores the narrowing to what it was. -On the other hand, the @code{count-lines} function, which is called by -@code{what-line}, uses narrowing to restrict itself to just that portion -of the buffer in which it is interested and then restores the previous -situation. +On the other hand, the @code{count-lines} function uses narrowing to +restrict itself to just that portion of the buffer in which it is +interested and then restores the previous situation. @node save-restriction @section The @code{save-restriction} Special Form -- 1.7.10.4