From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: visual-line-mode Date: Sun, 29 Jun 2008 16:05:16 +0900 Message-ID: <87zlp4raab.fsf@catnip.gol.com> References: Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1214723152 31867 80.91.229.12 (29 Jun 2008 07:05:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Jun 2008 07:05:52 +0000 (UTC) Cc: Chong Yidong , "Lennart Borgman \(gmail\)" , Emacs-Devel devel To: David Reitter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 29 09:06:37 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 1KCqza-0006tM-7z for ged-emacs-devel@m.gmane.org; Sun, 29 Jun 2008 09:06:34 +0200 Original-Received: from localhost ([127.0.0.1]:54838 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KCqyj-0007QI-Dk for ged-emacs-devel@m.gmane.org; Sun, 29 Jun 2008 03:05:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KCqyf-0007Pw-O5 for emacs-devel@gnu.org; Sun, 29 Jun 2008 03:05:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KCqyd-0007P6-An for emacs-devel@gnu.org; Sun, 29 Jun 2008 03:05:36 -0400 Original-Received: from [199.232.76.173] (port=52641 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KCqyd-0007Oz-3y for emacs-devel@gnu.org; Sun, 29 Jun 2008 03:05:35 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:6683) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KCqyR-0004Lh-Ke; Sun, 29 Jun 2008 03:05:23 -0400 Original-Received: from smtp11.dentaku.gol.com ([203.216.5.73]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KCqyQ-0004ia-IH; Sun, 29 Jun 2008 03:05:22 -0400 Original-Received: from 218.33.235.76.eo.eaccess.ne.jp ([218.33.235.76] helo=catnip.gol.com) by smtp11.dentaku.gol.com with esmtpa (Dentaku) id 1KCqyL-0002JD-IB; Sun, 29 Jun 2008 16:05:17 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id 7EAD32F3A; Sun, 29 Jun 2008 16:05:16 +0900 (JST) System-Type: i686-pc-linux-gnu In-Reply-To: (David Reitter's message of "Sun, 29 Jun 2008 07:30:27 +0100") Original-Lines: 35 X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 3) 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:100125 Archived-At: David Reitter writes: > Let me know how it works with the new DTWW. It basically doesn't work at all with display-time word-wrapping turned on. I presume much of the problem is with emacs primitives (vertical-motion etc) though. With word-wrapping turned off, it kinda-sorta works. I noticed the following: (1) It seems extremely slow -- moving from line to line is noticeably laggy, and sometimes will just ... hang for a while, even if there's no wrapped lines at all. (2) It seems to cons a lot; even just a bit of movement results in frequent pauses to garbage collect (again, this happens even without any wrapped lines). (3) When the default face is variable-pitch, the positioning with C-n/C-p seems a bit "rough". V.W. fonts, one can't be completely precise, but it probably ought to at least use some notion of pixel goal column to avoid the tendency of the horizontal position to drift with a lot of vertical movement. I expect emacs primitives will need improvement to work for the word-wrapping case (and display-time line-prefixes which I've hacked up locally), so perhaps they can be improved to work better in general too. -Miles -- My spirit felt washed. With blood. [Eli Shin, on "The Passion of the Christ"]