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: Fri, 11 Jul 2008 08:44:51 +0900 Message-ID: <87ej61qp70.fsf@catnip.gol.com> References: <87zlp4raab.fsf@catnip.gol.com> <87d4lzehq2.fsf@stupidchicken.com> <87skuqbwr8.fsf@stupidchicken.com> <85E9BC5B-7337-4CD4-A783-6B2FAEBAEBCA@gmail.com> <87tzf6c5il.fsf@stupidchicken.com> <87abgxx0ju.fsf@stupidchicken.com> <4D997CA8-A2ED-4E12-9F91-76E98AE95210@gmail.com> <87prpsjhre.fsf@stupidchicken.com> <375C0006-2B47-4B1F-9EB2-ED47941C2DB3@gmail.com> <87od56tp4o.fsf@stupidchicken.com> <71C2D50C-1680-4ADD-A7E3-7B7A1146B85D@gmail.com> <87ej61n19h.fsf@stupidchicken.com> <87vdzdr6f6.fsf@catnip.gol.com> <87fxqhpblm.fsf@stupidchicken.com> 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 1215733525 30142 80.91.229.12 (10 Jul 2008 23:45:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Jul 2008 23:45:25 +0000 (UTC) Cc: David Reitter , "Lennart Borgman \(gmail\)" , Stefan Monnier , Emacs-Devel devel To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 11 01:46:12 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 1KH5ps-0002M7-28 for ged-emacs-devel@m.gmane.org; Fri, 11 Jul 2008 01:46:04 +0200 Original-Received: from localhost ([127.0.0.1]:38555 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KH5p0-0002lM-Hd for ged-emacs-devel@m.gmane.org; Thu, 10 Jul 2008 19:45:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KH5ot-0002if-CP for emacs-devel@gnu.org; Thu, 10 Jul 2008 19:45:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KH5or-0002h8-Sn for emacs-devel@gnu.org; Thu, 10 Jul 2008 19:45:02 -0400 Original-Received: from [199.232.76.173] (port=34784 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KH5or-0002gl-Ku for emacs-devel@gnu.org; Thu, 10 Jul 2008 19:45:01 -0400 Original-Received: from smtp11.dentaku.gol.com ([203.216.5.73]:60867) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KH5ok-00074h-FM; Thu, 10 Jul 2008 19:44:54 -0400 Original-Received: from 218.33.235.146.eo.eaccess.ne.jp ([218.33.235.146] helo=catnip.gol.com) by smtp11.dentaku.gol.com with esmtpa (Dentaku) id 1KH5oi-0007G7-68; Fri, 11 Jul 2008 08:44:52 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id 76FF62F3A; Fri, 11 Jul 2008 08:44:51 +0900 (JST) System-Type: i686-pc-linux-gnu In-Reply-To: <87fxqhpblm.fsf@stupidchicken.com> (Chong Yidong's message of "Thu, 10 Jul 2008 19:23:49 -0400") Original-Lines: 23 X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:100561 Archived-At: Chong Yidong writes: > Also, David Reitter's minor mode handles variable-width fonts. AFAICT, > your patch doesn't support that, or at least not without a further > extension of vertical-motion to support a pixel goal. Actually Stefan's code seems to work fine with variable-width fonts. > So I think we ought to check in David's code. Once that's done, we can > see about extending vertical-motion and making the minor mode use that, > for increased speed. I dunno, visual-line-mode is obviously a lot more code without a proportionate gain in functionality; when there are wrapped lines, it's so slow for me as to be almost unusable. Given that Stefan's almost trivial patch works pretty well, it seems possible that a mode similar to David's visual-line-mode, but much smaller, could be written using Emacs-23-specific features. -Miles -- Erudition, n. Dust shaken out of a book into an empty skull.