From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: line-line-move-visual: was line motion problem Date: Mon, 28 Jul 2008 16:45:56 +0300 Organization: JURTA Message-ID: <87bq0it94b.fsf@jurta.org> References: <18557.63556.231489.523637@gargle.gargle.HOWL> <5F62534C-D5CE-4364-8F73-E1AE0D61B4E2@gmail.com> <87abghlqs2.fsf@stupidchicken.com> <87hcap3ct7.fsf@stupidchicken.com> <87mykg84aj.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 1217253230 12139 80.91.229.12 (28 Jul 2008 13:53:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Jul 2008 13:53:50 +0000 (UTC) Cc: David Reitter , emacs-devel@gnu.org, Stefan Monnier , raman@users.sourceforge.net To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 28 15:54:36 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 1KNTBI-0002c9-Oi for ged-emacs-devel@m.gmane.org; Mon, 28 Jul 2008 15:54:33 +0200 Original-Received: from localhost ([127.0.0.1]:43023 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNTAO-0001jW-SU for ged-emacs-devel@m.gmane.org; Mon, 28 Jul 2008 09:53:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KNT85-0000TV-27 for emacs-devel@gnu.org; Mon, 28 Jul 2008 09:51:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KNT83-0000SN-P5 for emacs-devel@gnu.org; Mon, 28 Jul 2008 09:51:12 -0400 Original-Received: from [199.232.76.173] (port=48605 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNT83-0000S5-5g for emacs-devel@gnu.org; Mon, 28 Jul 2008 09:51:11 -0400 Original-Received: from smtp-out.neti.ee ([194.126.126.37]:57935) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KNT81-0006FS-7p for emacs-devel@gnu.org; Mon, 28 Jul 2008 09:51:09 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by MXR-13.estpak.ee (Postfix) with ESMTP id 333AB11FDA; Mon, 28 Jul 2008 16:51:06 +0300 (EEST) X-Virus-Scanned: amavisd-new at !change-mydomain-variable!.example.com Original-Received: from smtp-out.neti.ee ([127.0.0.1]) by localhost (MXR-1.estpak.ee [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 551QAizJpyyp; Mon, 28 Jul 2008 16:51:04 +0300 (EEST) Original-Received: from Relayhost3.neti.ee (relayhost3.estpak.ee [88.196.174.169]) by MXR-13.estpak.ee (Postfix) with ESMTP id ED7132712A; Mon, 28 Jul 2008 16:51:03 +0300 (EEST) Original-Received: from mail.estpak.ee (66.132.191.90.dyn.estpak.ee [90.191.132.66]) by Relayhost3.neti.ee (Postfix) with ESMTP id E4231D3B66; Mon, 28 Jul 2008 16:51:02 +0300 (EEST) In-Reply-To: <87mykg84aj.fsf@stupidchicken.com> (Chong Yidong's message of "Thu, 17 Jul 2008 19:44:04 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) 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:101636 Archived-At: >> The following patch implements this approach. I've taken bits from >> visual-line.el, and re-written other bits to make use of the new >> features of vertical-motion in Emacs 23. >> >> Could people try it out and see if it DTRT? > > Since no one has commented, I've gone ahead and checked in > visual-line-mode into CVS. Problem reports would be welcome. It seems that keys M-[ and M-] are more suitable for moving to the beginning/end of the real line because similar keys M-{ and M-} are bound to commands that move point to the beginning/end of the paragraph. Maybe better keys for moving to the next/previous real line are M-down and M-up? -- Juri Linkov http://www.jurta.org/emacs/