[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Display-based word wrapping
From: |
Stefan Monnier |
Subject: |
Re: Display-based word wrapping |
Date: |
Tue, 24 Jun 2008 21:41:16 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
>>> The name `truncate-lines' does not give any hint that it controls word
>>> wrapping too.
>>
>>> Do you care about this? If so, how about this: make truncate-lines an
>>> obsolete alias for `line-wrap-method', which accepts the values
>>> `edge-wrap', `word-wrap', and `truncate', with t equivalent to
>>> `truncate' and nil equivalent to `edge-wrap'.
>>
>> Yes, that sounds very good (I'd have said `char-wrap' rather than
>> `edge-wrap', tho).
> One big disadvantage, though: truncate-lines is used very widely in the
> Lisp code. Replacing them would be rather annoying.
I don't see much of a problem with it. That's what
define-obsolete-variable-alias is for, isn't it?
> There's also the matter of what to do with `toggle-truncate-lines'.
This has 2 issues: the name of the command, and its functionality.
I think we'll find that once we figured what is the right fix for its
functionality, the naming issue will be easy to solve.
Stefan
- Re: Display-based word wrapping, (continued)
- Display-based word wrapping, Chong Yidong, 2008/06/24
- Re: Display-based word wrapping, Stefan Monnier, 2008/06/24
- Re: Display-based word wrapping, Chong Yidong, 2008/06/24
- Re: Display-based word wrapping, Stefan Monnier, 2008/06/24
- Re: Display-based word wrapping, Chong Yidong, 2008/06/24
- Re: Display-based word wrapping,
Stefan Monnier <=
- Re: Display-based word wrapping, Miles Bader, 2008/06/24
- Re: Display-based word wrapping, Stefan Monnier, 2008/06/24
- Re: Display-based word wrapping, Chong Yidong, 2008/06/24
- Re: Display-based word wrapping, Stefan Monnier, 2008/06/24
- Re: Display-based word wrapping, Chong Yidong, 2008/06/25
- Re: Display-based word wrapping, Stefan Monnier, 2008/06/25