all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Per Starbäck" <per.starback@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Artur Malabarba <bruce.connor.am@gmail.com>,
	"emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Re: Questions about isearch
Date: Fri, 27 Nov 2015 17:50:26 +0100	[thread overview]
Message-ID: <CADkQgvu8OFDzk3JsLQggofqCt5iahrHPxtMe4t2QPbEL8LG+Pw@mail.gmail.com> (raw)
In-Reply-To: <83bnafse4f.fsf@gnu.org>

Oh, I have so many thoughts about this, but I'll stick to the
character folding for now, which is why language setting in Emacs has
become a lot more urgent now than it has been during the previous
years I have wished for this.

As I wrote before, ÅÄÖ are really separate letters in Swedish, just
as separate from A and O as U is from V, or I is from J. I wrote:

> To have a search for
> "varpa" in a Swedish text find "värpa" or "varpå" would be just wrong.
> It would give a strong impression of this being an American program
> not meant to be used for Swedish.

One answer I got was that it's possible to turn this off. Yes, it is,
but defaults are important for what impression you give. I haven't
been active on the list for some time, but when I have expressed
opinions on Emacs here before it has often been not thinking about
myself, but thinking about the students that I teach Emacs, so that
*I* can change settings is not enough for my consideration.

Also character folding is a great feature! I don't want to turn it
off! It's just that it's bad to fold characters that are in no way
seen as variants but totally different letters.

There are few languages using Latin letters where it is like that, so
any universal poll will say that this isn't a big problem. (For
example Germans also use Ä and Ö, but much more seen as A-with-Umlaut
than as something separate.)

But to see how this will be received here, imagine that Emacs came
from the Roman empire. (The empire never ended!) Of course we all know
some Latin, so we have no problems with the menus and help texts being
in Latin, even though we often use it for editing texts in other
languages, like English. Now there's a new version with a new feature
character folding, and when you (an American user) try to use the new
version of Emacs you happen to edit a text

                                 Can dualism still be considered valid?

You do a C-s to position yourself at "valid" there, but to your
surprise and irritation you have to type all five letters, because
still at "vali" you are stuck in "dualism" because those imperialistic
Romans think that U and V are the "same" letter. That's just wrong.

So what is the right way out? A possibility to set buffer language
says I. Eli says that a buffer language is not enough:

Eli:
>  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.

I don't agree, and see this as an important difference between the
language of a segment and the language of a
document (which I would write a lot more about if I didn't try to
stick just to the character folding issue now).

If you are a non-Swede looking at a text including

:  Eli Heckscher referred to this in his "Varpå beror det att några
:  människor är rika och andra fattiga?" from 1913.

and do an Isearch for "varpa" with accent folding on, you *should*
find that "Varpå". You see the text with some "Varpa" with some
diacretical mark, of course you should find it with that search. You
can't be expected to know about Swedish preferences just because there
happens to be a short text fragment in Swedish in the text.



  reply	other threads:[~2015-11-27 16:50 UTC|newest]

Thread overview: 94+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-25 18:41 Questions about isearch Eli Zaretskii
2015-11-25 19:20 ` Rasmus
2015-11-25 20:02   ` Steinar Bang
2015-11-26 14:46     ` Richard Stallman
2015-11-26 16:22       ` Eli Zaretskii
2015-11-26 20:46         ` Per Starbäck
2015-11-26 21:02           ` Eli Zaretskii
2015-11-26 21:35             ` Marcin Borkowski
2015-11-27  7:43               ` Eli Zaretskii
2015-11-27  6:38             ` Richard Stallman
2015-11-27  8:53               ` Eli Zaretskii
2015-11-27 16:21               ` raman
2015-11-26 23:18           ` Rasmus
2015-11-27  7:46             ` Eli Zaretskii
2015-11-27  6:37         ` Richard Stallman
2015-11-27  8:39           ` Eli Zaretskii
2015-11-25 20:10   ` Eli Zaretskii
2015-11-25 20:41     ` Mike Kupfer
2015-11-25 20:56       ` Eli Zaretskii
2015-11-25 20:14 ` Artur Malabarba
2015-11-25 20:30   ` Marcin Borkowski
2015-11-25 20:38     ` Eli Zaretskii
2015-11-25 21:58       ` Artur Malabarba
2015-11-25 23:04         ` Mike Kupfer
2015-11-26  3:40           ` Eli Zaretskii
2015-11-27 19:50             ` Mike Kupfer
2015-11-27 20:06               ` Eli Zaretskii
2015-11-27 23:57                 ` Artur Malabarba
2015-11-28  1:36                 ` Mike Kupfer
2015-11-28  9:28                   ` Eli Zaretskii
2015-11-26 13:28         ` Steinar Bang
2015-11-25 20:36   ` Eli Zaretskii
2015-11-25 21:49     ` Artur Malabarba
2015-11-26  3:34       ` Eli Zaretskii
2015-11-27 12:03     ` Artur Malabarba
2015-11-27 14:36       ` Eli Zaretskii
2015-11-27 16:50         ` Per Starbäck [this message]
2015-11-27 18:10           ` Artur Malabarba
2015-11-27 18:42             ` Per Starbäck
2015-11-27 21:33           ` raman
2016-02-28  0:27           ` Mathias Dahl
2016-02-28 15:58             ` Eli Zaretskii
2016-02-28 17:52               ` Mathias Dahl
2016-02-28 18:02                 ` Eli Zaretskii
2016-02-29 13:32                   ` Richard Stallman
2016-02-29 16:04                     ` Eli Zaretskii
2016-03-01 16:52                       ` Richard Stallman
2015-11-27 16:55         ` Artur Malabarba
2015-11-27 17:52           ` Eli Zaretskii
2015-11-27 21:18           ` Stephen Berman
2015-11-28  0:04             ` Artur Malabarba
2015-11-28  7:49               ` Eli Zaretskii
2015-11-28 16:14               ` Stephen Berman
2015-11-28  5:36             ` Richard Stallman
2015-11-28  8:33               ` Eli Zaretskii
2015-11-28  8:40               ` Marcin Borkowski
2015-11-28  9:46                 ` Eli Zaretskii
2015-11-28 10:23                   ` Artur Malabarba
2015-11-28 11:14                     ` Eli Zaretskii
2015-11-28 14:41                     ` Eli Zaretskii
2015-11-28 15:41                       ` Artur Malabarba
2015-11-28 16:29                         ` Artur Malabarba
2015-11-28 17:27                           ` Eli Zaretskii
2015-11-28 17:44                           ` Eli Zaretskii
2015-11-28 18:31                             ` Artur Malabarba
2015-11-28 18:57                               ` Eli Zaretskii
2015-11-28 20:00                                 ` Artur Malabarba
2015-11-28 20:08                                   ` Artur Malabarba
2015-11-28 20:47                                     ` Eli Zaretskii
2015-11-28 16:48                     ` character folding future [was: Questions about isearch] Drew Adams
2015-11-28 18:34                       ` Artur Malabarba
2015-12-01 11:34                       ` Artur Malabarba
2015-12-01 15:48                         ` Drew Adams
2015-12-03 23:54                           ` Artur Malabarba
2015-11-29  6:03                     ` Questions about isearch Richard Stallman
2015-11-29 15:48                       ` Eli Zaretskii
2015-11-29  9:39                     ` Andreas Röhler
2015-11-29 15:52                       ` Eli Zaretskii
2015-11-30  9:39                         ` Andreas Röhler
2015-11-30 15:53                           ` Eli Zaretskii
2015-11-30 16:05                       ` Paul Eggert
2015-11-26 16:08   ` Rasmus
2015-11-25 23:15 ` Mike Kupfer
2015-11-26 14:45 ` Richard Stallman
2015-11-27  0:43 ` Juri Linkov
2015-11-27  8:07   ` Eli Zaretskii
2015-11-27 23:24     ` Juri Linkov
2015-11-28  8:09       ` Eli Zaretskii
2015-11-27  8:02 ` Andreas Röhler
2015-11-27  8:57   ` Eli Zaretskii
2015-11-27 10:03     ` Artur Malabarba
2015-11-27 10:29       ` Eli Zaretskii
2015-11-27 10:47         ` Artur Malabarba
2015-11-29  9:08       ` Andreas Röhler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADkQgvu8OFDzk3JsLQggofqCt5iahrHPxtMe4t2QPbEL8LG+Pw@mail.gmail.com \
    --to=per.starback@gmail.com \
    --cc=bruce.connor.am@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.