From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: visual-line-mode Date: Thu, 10 Jul 2008 21:36:06 -0400 Message-ID: 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1215740187 10916 80.91.229.12 (11 Jul 2008 01:36:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Jul 2008 01:36:27 +0000 (UTC) Cc: David Reitter , Emacs-Devel devel , "Lennart Borgman \(gmail\)" , Miles Bader To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 11 03:37:14 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 1KH7ZP-0007tR-9q for ged-emacs-devel@m.gmane.org; Fri, 11 Jul 2008 03:37:11 +0200 Original-Received: from localhost ([127.0.0.1]:42997 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KH7YX-0001P0-H5 for ged-emacs-devel@m.gmane.org; Thu, 10 Jul 2008 21:36:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KH7YT-0001Ol-3I for emacs-devel@gnu.org; Thu, 10 Jul 2008 21:36:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KH7YS-0001OZ-Lq for emacs-devel@gnu.org; Thu, 10 Jul 2008 21:36:12 -0400 Original-Received: from [199.232.76.173] (port=57582 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KH7YS-0001OW-Gh for emacs-devel@gnu.org; Thu, 10 Jul 2008 21:36:12 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:54079) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KH7YO-0002hO-BH; Thu, 10 Jul 2008 21:36:08 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvwCAFdWdkjO+IfCdGdsb2JhbACBWpBJASeedYFn X-IronPort-AV: E=Sophos;i="4.30,341,1212379200"; d="scan'208";a="24210623" Original-Received: from 206-248-135-194.dsl.teksavvy.com (HELO pastel.home) ([206.248.135.194]) by ironport2-out.teksavvy.com with ESMTP; 10 Jul 2008 21:36:07 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id D7EFF8474; Thu, 10 Jul 2008 21:36:06 -0400 (EDT) In-Reply-To: <87fxqhpblm.fsf@stupidchicken.com> (Chong Yidong's message of "Thu, 10 Jul 2008 19:23:49 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:100567 Archived-At: > I think that in order to be useful, this feature ought to be provided as > a minor mode that rebinds keys, not a direct modification of the motion > code like in your patch. Then we can also handle C-k etc. properly. Could be. Then again, it's probably easier to do it right by modifying the code of kill-line (tho, to tell you the truth, I'm far from). This said, I find that visual-line movement works well *all the time* (literally). I've never felt like turning it off and the few times I've bumped into it unexpectedly, I was positively surprised. OTOH, I don't think I'd like C-k to work on visual lines (I know I hate this behavior in Firefox), so maybe we should distinguish the screen-line movements (which I could even consider turning on by default) from other screen-line operations. Stefan