From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: The unwarranted scrolling assumption Date: Sat, 19 Jun 2010 19:07:05 +0300 Message-ID: <831vc3gg5y.fsf@gnu.org> 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> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1276963774 30808 80.91.229.12 (19 Jun 2010 16:09:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 19 Jun 2010 16:09:34 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 19 18:09:30 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 1OQ0bn-0005gv-Jh for ged-emacs-devel@m.gmane.org; Sat, 19 Jun 2010 18:09:27 +0200 Original-Received: from localhost ([127.0.0.1]:52168 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OQ0bm-0000Lb-Vu for ged-emacs-devel@m.gmane.org; Sat, 19 Jun 2010 12:09:27 -0400 Original-Received: from [140.186.70.92] (port=59980 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OQ0bf-0000LS-3z for emacs-devel@gnu.org; Sat, 19 Jun 2010 12:09:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OQ0bd-0000yN-W2 for emacs-devel@gnu.org; Sat, 19 Jun 2010 12:09:18 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:34805) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OQ0bd-0000yF-OL for emacs-devel@gnu.org; Sat, 19 Jun 2010 12:09:17 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0L4900J00RBLGT00@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Sat, 19 Jun 2010 19:09:12 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.178.198]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L4900ISRRJ7V320@a-mtaout23.012.net.il>; Sat, 19 Jun 2010 19:09:08 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) 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:126231 Archived-At: > From: Lennart Borgman > Date: Sat, 19 Jun 2010 16:20:16 +0200 > Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org > > 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-fill) And the value of ind-str-fill is the whitespace preceding the first non-white character of the line? That is, a string containing blanks and TABs?