Opinions only, I would not APPROVE or VETO this patch for the
mainline. It won't go in to 21.4, though, not before 21.4 goes
stable.
I have some ideas about dealing with this, but that will have to wait,
probably until January, too.
>>>> "Yoshiki" == Yoshiki Hayashi
<yoshiki(a)xemacs.org> writes:
Yoshiki> Christoph Wedler <Christoph.Wedler(a)sap.com> writes:
> button2 on the multibyte extension status in the modeline
> (ISO8, ISO8:T etc) toggles the end-of-line type of the current
> buffer, i.e., toggles between Unix- (LF) and Dos- (CRLF) line
> endings.
I don't ever do this kind of thing. OTOH, I can't really think of
many things to do with mouse clicks on that "button". But it can't be
a toggle. It has to cycle through Mac (CR) as well by default. This
could be generalized to cycle through a list contained in a variable,
but I think that's overkill since at worst you double click.
A couple of others: I find the MB status indicator a nuisance, as most
of the time XEmacs does the right thing. With the proliferation of
minor modes, modeline space is at a premium. So a toggle for really
compressed notation vs more verbose would be nice. Alternatively,
tooltips for the verbose explanation.
A smart menu of alternative coding systems compatible with the text
currently in the buffer.
> 1. Also toggles eol type for new files (technical: switches
> from eol type nil to crlf, of course not for coding systems
> like binary).
Yoshiki> No, I don't think toggle-buffer-file-coding-system should
Yoshiki> change the default EOL type.
My feeling, too.
> 2. Sets buffer as modified (if not read-only). Why do you want
> to toggle the eol type if you don't want to save the buffer?
Yoshiki> I like it. I have long been wanted that
Yoshiki> set-buffer-file-coding-system do the same but it didn't
Yoshiki> annoyed me enough to submit a patch. :-)
Andy did that, or something like it. I think this should be consistent.
> BTW, any possibility to get ":dos" instead of
":T" in the
> modeline?
Yoshiki> I think it is a good change.
This depends on whether you care. I rarely do. I want that modeline
space. This really should be configurable.
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Don't ask how you can "do" free software business;
ask what your business can "do for" free software.