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: C-n and C-a Date: Thu, 12 Feb 2009 12:05:12 +0200 Organization: JURTA Message-ID: <87mycs53q3.fsf@jurta.org> References: <8763jotmim.fsf@jurta.org> <873aerpn4y.fsf@cyd.mit.edu> <87vdrln48c.fsf@jurta.org> <87vdrgwq1v.fsf@jurta.org> <87ljscifbc.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1234436112 19089 80.91.229.12 (12 Feb 2009 10:55:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Feb 2009 10:55:12 +0000 (UTC) Cc: emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 12 11:56:27 2009 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 1LXZF2-0000fE-Tt for ged-emacs-devel@m.gmane.org; Thu, 12 Feb 2009 11:56:25 +0100 Original-Received: from localhost ([127.0.0.1]:50607 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXZDj-00043z-Ee for ged-emacs-devel@m.gmane.org; Thu, 12 Feb 2009 05:55:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LXZDb-00043u-L7 for emacs-devel@gnu.org; Thu, 12 Feb 2009 05:54:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LXZDZ-00043X-Nw for emacs-devel@gnu.org; Thu, 12 Feb 2009 05:54:54 -0500 Original-Received: from [199.232.76.173] (port=58693 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXZDZ-00043N-GC for emacs-devel@gnu.org; Thu, 12 Feb 2009 05:54:53 -0500 Original-Received: from relay01.kiev.sovam.com ([62.64.120.200]:2323) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LXZDV-0000D3-Ce; Thu, 12 Feb 2009 05:54:49 -0500 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay01.kiev.sovam.com with esmtp (Exim 4.69) (envelope-from ) id 1LXZDS-0002tW-P2; Thu, 12 Feb 2009 12:54:46 +0200 In-Reply-To: <87ljscifbc.fsf@catnip.gol.com> (Miles Bader's message of "Thu, 12 Feb 2009 11:01:27 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (x86_64-pc-linux-gnu) X-Scanner-Signature: 0a21689c2f1d2e94d8aa83f1a1b60733 X-DrWeb-checked: yes X-detected-operating-system: by monty-python.gnu.org: FreeBSD 4.8-5.1 (or MacOS X 10.2-10.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:109019 Archived-At: > 3. Add a wrap-prefix that indents the wrapped lines a lot so that > they're in the filename column (maybe indented extra within that > column). That would be very nice. Setting `wrap-prefix' in Dired to a string of 50 spaces (handling variable widths is possible in `insert-directory') produces a good-looking result. However, when `word-wrap' is non-nil then the result is weird: there are many empty lines for every wrapped file name. Seems like a bug. I'll create a bug report later. >> For the same reason I think we should not set word-mode in >> visual-line-mode. > > This seems bizarre -- AFAICS, like 95% of the goal of visual-line-mode > is to make it easy to enable a word-wrapped mode for editing > paragraphs-end-in-newline text (i.e., a display-time version of > longlines-mode). The problem is that currently by default C-n/C-p moves by visual lines, but C-a/C-e moves by real lines. `visual-line-mode' is the only way to cause C-a/C-e to move by visual lines. But it forces `word-wrap' to be t even in buffers where word-wrap should be nil (where word wrap gives sub-optimal results). -- Juri Linkov http://www.jurta.org/emacs/