[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Questions about isearch
From: |
Eli Zaretskii |
Subject: |
Re: Questions about isearch |
Date: |
Fri, 27 Nov 2015 10:53:50 +0200 |
> From: Richard Stallman <address@hidden>
> CC: address@hidden, address@hidden, address@hidden
> Date: Fri, 27 Nov 2015 01:38:32 -0500
>
> You seem to be trying to design an ultimate, ideal current language
> facility.
Yes.
> We might want to get there eventually, but I think we should start
> with something simple.
IMO, the initial implementation could have only partial support for
multiple languages, but the design should allow for extending that all
the way towards the eventual goal, which cannot possibly be a single
language per buffer, not in Emacs 2X.
> After all, most buffers have only one language in them.
Not in my experience: buffers that combine English and Hebrew are
something I see every day. The simplest example is email: the headers
are in English, while the body is in a mix of Hebrew and Latin
(usually English) words.
> Having a selectable language for the whole buffer is going to be
> better than the current situation where you can't select it.
I agree.
> If you have a table in Turkish in the middle of a English document,
> and you want to sort the table, you can switch the buffer to Turkish,
> sort, and switch back to English.
Language-specific processing is not limited to sorting contiguous
regions in the buffer. This discussion started from Isearch, so the
example which underlines the issues is searching for a string with
character-folding enabled -- this should automatically apply
language-specific rules when it hits a possible match in the Turkish
portion, then switch back to English when the match is in the English
part. Same with spelling -- you'd want flyspell to use the right
language in each portion, without the need to restart the speller
program with another dictionary.
- Questions about isearch, Eli Zaretskii, 2015/11/25
- Re: Questions about isearch, Rasmus, 2015/11/25
- Re: Questions about isearch, Steinar Bang, 2015/11/25
- Re: Questions about isearch, Richard Stallman, 2015/11/26
- Re: Questions about isearch, Eli Zaretskii, 2015/11/26
- Re: Questions about isearch, Per Starbäck, 2015/11/26
- Re: Questions about isearch, Eli Zaretskii, 2015/11/26
- Re: Questions about isearch, Marcin Borkowski, 2015/11/26
- Re: Questions about isearch, Eli Zaretskii, 2015/11/27
- Re: Questions about isearch, Richard Stallman, 2015/11/27
- Re: Questions about isearch,
Eli Zaretskii <=
- Re: Questions about isearch, raman, 2015/11/27
- Re: Questions about isearch, Rasmus, 2015/11/26
- Re: Questions about isearch, Eli Zaretskii, 2015/11/27
- Re: Questions about isearch, Richard Stallman, 2015/11/27
- Re: Questions about isearch, Eli Zaretskii, 2015/11/27
Re: Questions about isearch, Eli Zaretskii, 2015/11/25
Re: Questions about isearch, Artur Malabarba, 2015/11/25