emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: On language-dependent defaults for character-folding


From: Mark Oteiza
Subject: Re: On language-dependent defaults for character-folding
Date: Wed, 17 Feb 2016 17:53:27 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> From: Joost Kremers <address@hidden>
>> Date: Wed, 17 Feb 2016 09:00:02 +0100
>> Cc: Óscar Fuentes <address@hidden>, address@hidden,
>>      "address@hidden" <address@hidden>
>> 
>> The general opinion is also that char-folding is nonetheless useful to
>> many users, despite the fact that it will generate incorrect results in
>> some languages. The only question that needs to be answered right now is
>> whether the feature will be turned on or off by default. And on that
>> point, the tendency seems to be to have it off by default, with the
>> ability to toggle it within an i-search.
>
> Actually, my counts indicate that more people want it on by default
> than off.

I didn't know what character folding was before this was implemented in
Emacs, and AFAICT the only other thing I happen to have installed that
does this is Chromium.

While it's a neat feature, it should default to off. I hope it becomes
more customizable w.r.t. the arguments against char-folding's current
behavior. It appears that char-folding's dependence on elisp
regex is a crutch.

Long PS: I think the news items in "** Search and Replace" need to be
clearer. In particular:

- *** New user option ... should perhaps mention character-fold-to-regexp if
  that ends up being the default
- *** `isearch' and ... should mention how to disable/enable character
  folding for isearch, whatever the default ends up being
- *** New function ... should mention that it is to be added to
  `search-default-regexp-mode'

To me, these appear to be completely disjoint despite having everything
to do with char-folding.  I think one would have to know how isearch
actually works in order to put it together from reading the NEWS as it
is currently.

I'd be happy to make the changes, but that requires knowing what the
default will be.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]