[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C-n and C-a
From: |
Juri Linkov |
Subject: |
Re: C-n and C-a |
Date: |
Thu, 12 Feb 2009 12:05:12 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (x86_64-pc-linux-gnu) |
> 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/
- Re: C-n and C-a, (continued)
- Re: C-n and C-a, Juri Linkov, 2009/02/06
- Re: C-n and C-a, Chong Yidong, 2009/02/06
- Re: C-n and C-a, Juri Linkov, 2009/02/07
- Re: C-n and C-a, Stefan Monnier, 2009/02/08
- Re: C-n and C-a, Christian Schlauer, 2009/02/09
- RE: C-n and C-a, Drew Adams, 2009/02/09
- Re: C-n and C-a, Stefan Monnier, 2009/02/09
- RE: C-n and C-a, Drew Adams, 2009/02/09
- Re: C-n and C-a, Juri Linkov, 2009/02/11
- Re: C-n and C-a, Miles Bader, 2009/02/11
- Re: C-n and C-a,
Juri Linkov <=
- Re: C-n and C-a, Miles Bader, 2009/02/12
- Re: C-n and C-a, Richard M Stallman, 2009/02/13
Re: C-n and C-a, Stefan Monnier, 2009/02/06