From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: set-window-start in Elisp manual Date: Sun, 20 Jan 2008 01:14:40 -0500 Message-ID: References: <877ii9z8la.fsf@escher.local.home> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1200809726 13838 80.91.229.12 (20 Jan 2008 06:15:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Jan 2008 06:15:26 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stephen Berman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 20 07:15:45 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JGTT5-0006QH-J5 for ged-emacs-devel@m.gmane.org; Sun, 20 Jan 2008 07:15:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGTSg-0001TE-8b for ged-emacs-devel@m.gmane.org; Sun, 20 Jan 2008 01:15:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JGTS7-00016p-Fg for emacs-devel@gnu.org; Sun, 20 Jan 2008 01:14:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JGTS6-00015P-7K for emacs-devel@gnu.org; Sun, 20 Jan 2008 01:14:42 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGTS5-00014n-JJ for emacs-devel@gnu.org; Sun, 20 Jan 2008 01:14:41 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JGTS5-0005Bu-Nn for emacs-devel@gnu.org; Sun, 20 Jan 2008 01:14:41 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1JGTS4-0004LC-NP; Sun, 20 Jan 2008 01:14:40 -0500 In-reply-to: <877ii9z8la.fsf@escher.local.home> (message from Stephen Berman on Wed, 16 Jan 2008 23:52:49 +0100) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:87100 Archived-At: I think what's happening is that, if window-start isn't at the beginning of a line, compute_window_start_on_continuation_line assumes that means it's a continuation line. In the normal course of events, that's a valid heuristic. It's only with code like the example from the manual that it isn't valid. So I think we should change the manual. However, at the same time it might be ok to make the conditions for calling compute_window_start_on_continuation_line narrower. Maybe it doesn't need to be called so often.