From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.devel Subject: Re: set-window-start Date: Fri, 16 Jul 2004 11:26:35 -0600 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <40F80FCB.2010904@yahoo.com> References: <200407150202.i6F22fR28552@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1089998830 10126 80.91.224.253 (16 Jul 2004 17:27:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Jul 2004 17:27:10 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Jul 16 19:27:01 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BlWU9-0002fE-00 for ; Fri, 16 Jul 2004 19:27:01 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BlWU9-0003r1-00 for ; Fri, 16 Jul 2004 19:27:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BlWWh-0002Jb-2M for emacs-devel@quimby.gnus.org; Fri, 16 Jul 2004 13:29:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BlWWd-0002J7-CE for emacs-devel@gnu.org; Fri, 16 Jul 2004 13:29:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BlWWb-0002Ij-Rl for emacs-devel@gnu.org; Fri, 16 Jul 2004 13:29:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BlWWb-0002IZ-Ok for emacs-devel@gnu.org; Fri, 16 Jul 2004 13:29:33 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BlWTs-0006av-2n for emacs-devel@gnu.org; Fri, 16 Jul 2004 13:26:44 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BlWTo-0006In-00 for ; Fri, 16 Jul 2004 19:26:42 +0200 Original-Received: from 170.207.1.200 ([170.207.1.200]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Jul 2004 19:26:40 +0200 Original-Received: from ihs_4664 by 170.207.1.200 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Jul 2004 19:26:40 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 21 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 170.207.1.200 User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us 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: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:25778 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:25778 Richard Stallman wrote: > In Emacs 20.7, (set-window-start WINDOW POS) makes POS the window > start, as documented. In current CVS and in 21.3, it makes the window > start either at the _beginning_ of the line POS is on, _or_ at the > beginning of the _next_ line, according to rules that are not clear. > > I think it is a bug. There is a mechanism that is supposed to assure > that when Emacs chooses a new window-start, it tries to choose > the start of a line. That mechanism should be disabled when you > specify a window-start explicitly. Perhaps the code to disable > it is not working right. Not surprising, given the comment that precedes it (in the 21.3 source): /* this is not right, but much easier than doing what is right. */ w->start_at_line_beg = Qnil; -- Kevin Rodgers