From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: The unwarranted scrolling assumption Date: Sat, 19 Jun 2010 16:20:16 +0200 Message-ID: References: <87ocfcj7r4.fsf@mail.jurta.org> <87631jvpzg.fsf@gmail.com> <4C18211C.3070106@harpegolden.net> <87vd9j5neu.fsf@kfs-lx.rd.rdm> <83sk4misf2.fsf@gnu.org> <83iq5hiiin.fsf@gnu.org> <83fx0lihov.fsf@gnu.org> <83aaqrgnke.fsf@gnu.org> <83631fglky.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1276957252 11481 80.91.229.12 (19 Jun 2010 14:20:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 19 Jun 2010 14:20:52 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 19 16:20:49 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1OPyue-00016C-UL for ged-emacs-devel@m.gmane.org; Sat, 19 Jun 2010 16:20:49 +0200 Original-Received: from localhost ([127.0.0.1]:53887 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPyue-0002hM-8d for ged-emacs-devel@m.gmane.org; Sat, 19 Jun 2010 10:20:48 -0400 Original-Received: from [140.186.70.92] (port=46931 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPyuV-0002ex-04 for emacs-devel@gnu.org; Sat, 19 Jun 2010 10:20:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OPyuT-0002cH-96 for emacs-devel@gnu.org; Sat, 19 Jun 2010 10:20:38 -0400 Original-Received: from mail-gx0-f169.google.com ([209.85.161.169]:58638) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPyuT-0002c6-6A; Sat, 19 Jun 2010 10:20:37 -0400 Original-Received: by gxk3 with SMTP id 3so1291003gxk.0 for ; Sat, 19 Jun 2010 07:20:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=gB6ymBZQGu184LuDdJ6ESVuLf5iotiHa4BYketu9Is0=; b=p9N7BFa/fVFQ+ELQrvw1lI47vW3n3weMEWvYvBhDYvgiHSPD8AvLG+0n9xe5pPP48D fi/sf0ZeCloFhiF5eydtGCRc3dIID1xxl6Q+o4up217387yijNKlMOhHoqVtL1D+HAiV sz8mvxAJAcuwN2ehrbM7r7h/XRY6wa/dzhbj0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=dXkBESy7VG2GAuXwHeLxEr9ex4IHnnFprOROQ8XHvzBAEE8jl+leRz2AW4eBtk7zMo jykzikYVsI9FPVhhzxDSBdxjYjSFxF8oItizFkSo8umAcMVqhx/3wupLMQAoBEs1AWve N01KBCzk+GaouStXwAArJSgZ1q3nIaBAJVaWQ= Original-Received: by 10.100.243.23 with SMTP id q23mr2018868anh.147.1276957236198; Sat, 19 Jun 2010 07:20:36 -0700 (PDT) Original-Received: by 10.100.154.15 with HTTP; Sat, 19 Jun 2010 07:20:16 -0700 (PDT) In-Reply-To: <83631fglky.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:126220 Archived-At: On Sat, Jun 19, 2010 at 4:10 PM, Eli Zaretskii wrote: >> From: Lennart Borgman >> Date: Sat, 19 Jun 2010 15:36:16 +0200 >> Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org >> >> >> (Note: wrap-to-fill-column-mode justs adds add wrap-prefix here. Whic= h >> >> is for some reason does not remove. Bug ;-( -- >> >> wrap-to-fill-column-mode is of course part of nXhtml, but probably yo= u >> >> can just add a fill prefix on the whole line that is equal to what th= e >> >> line indentation have.) >> > >> > wrap-to-fill-column-mode is complicated. =C2=A0If you still see the pr= oblem >> > with the current trunk, please show a recipe that does not use >> > wrap-to-fill-column-mode, but instead sets the fill prefix and/or >> > whatever else is needed to reproduce this problem in "emacs -Q". >> >> I told that recipe when I mentioned wrap-to-fill-column-mode. > > No, you told just part of it: > >> >> wrap-to-fill-column-mode is of course part of nXhtml, but probably yo= u >> >> can just add a fill prefix on the whole line that is equal to what th= e >> >> line indentation have.) > > Can you please make this more explicit? =C2=A0Please show what I need to > type in Emacs to accomplish what you say here. > >> Unfortunately I can not test now for these reasons: > > If you tell me how to define the fill prefix, I can test myself. Just take the string that is the indentation of the current line and put it as text property 'wrap-prefix. I have put that string in ind-str-fill and do just this: (put-text-property beg-pos end-pos 'wrap-prefix ind-str-fil= l) >> I found it a bit disturbing if you just implemented another way. I >> can't say if it is right or wrong until I have seen your patch but >> from our discussion it looks to me like you at least before >> misunderstood the problem. > > What I implemented came out of the sub-thread of this thread where I > explained to Stefan why I think it sometimes recenters, and Stefan > agreed that fixing that is a good idea. =C2=A0See > > =C2=A0 =C2=A0http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg007= 66.html > =C2=A0 =C2=A0http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg007= 73.html > > for details. =C2=A0In a nutshell, the problem I fixed was that Emacs didn= 't > look for point far enough beyond the end of the window. OK, I seem to have misunderstood. It looks like that is for another part of the problem.