all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: jwiegley@gmail.com, per@starback.se, rms@gnu.org, emacs-devel@gnu.org
Subject: Re: lax matching is not a great default behavior
Date: Fri, 04 Dec 2015 21:05:52 +0200	[thread overview]
Message-ID: <831tb2ghkf.fsf@gnu.org> (raw)
In-Reply-To: <45e1580a-863c-4bd7-82ec-38c27a0d930e@default>

> Date: Fri, 4 Dec 2015 07:55:34 -0800 (PST)
> From: Drew Adams <drew.adams@oracle.com>
> Cc: jwiegley@gmail.com, rms@gnu.org, emacs-devel@gnu.org
> 
> > > > If we are afraid users will hate this default, we can turn it
> > > > off in v25.1 and consider making it the default later.
> > >
> > > That would be good
> 
> You snipped the rest of Per's point there, which makes a
> difference, I think:
> 
> > > , together with introducing an entry for it in the Options
> > > menu directly below (or above?) "Ignore case for search".
> > > This deserves to be as visible as that option.

I don't see how that is relevant.  Menu options have very little
relevance to the defaults.  And yes, I agree that there should be such
an option in the menu bar's menus.

> _Has_ such a decision to change the default behavior in fact already
> been made?

Yes.  The code that makes it the default didn't just write itself.

> > Character folding was introduced with the explicit goal of giving
> > users what the other text-editing and word-processing environments
> > provide, what they therefore are expected to expect.
> 
> So what?  So was CUA mode and lots of other features that are
> not turned on by default.

Yes, there are examples to the contrary as well.  But that's besides
the point.  The point in that part of the discussion was the claim
that features that mean massive changes must never be made ON by
default.  To refute that, all I need is a single significant example
to the contrary.  Which is what I provided.

> Bidi did not noticeably affect users who do not edit bidi text.

Likewise with character folding: as long as you search text where no
equivalent characters exist, you will see no difference at all.

> I think that a much better comparison is CUA mode.  You argue
> that we should turn char folding on by default _because_ that's
> what users of other editors are used to.  Most users of other
> editors are used to CUA-like behavior too.  Yet we don't turn
> that on by default (and I agree with that decision).

I'm not going to start arguing about CUA.  I will just say that CUA
was problematic because it actively _conflicted_ with many basic Emacs
keybindings.  That was the single most important problem that
justified its being off by default.  There's no such incompatibility
in the case in point.

> > > Should it be "Ignore accents for search"?
> > 
> > No, because ignoring accents is just a small part of character
> > folding.  Please take a look at character-fold.el for the details.
> 
> Agreed.  And neither is it folding of diacriticals, because there
> are also ad hoc foldings (e.g., quote marks).  And there will
> likely be more to come.  It is, in fact, a hodge podge of foldings
> - pretty much all of the various char foldings provided by Emacs
> so far, except for letter case.

Actually, it's not a hodge-podge at all.  Barring any user-level
customizations, it can be formally defined (and has been defined
elsewhere) what is and what isn't folded.

> Why not leave it off by default, for now?

"Why not" is not a compelling argument, sorry.  It cannot win the "why
not" argument in the other direction.

> > turning it off today means that it will get much less testing,
> > and therefore bugs related to it...will most probably remain
> > hidden for who knows how long.
> 
> I seriously doubt that.  That sounds alarmist, to me.

This is in fact based on actual experience of testing new features in
Emacs, during several pretests of a few major releases.

> My expectation, if we turn it off by default, is that users will
> try it, like it, and possibly ask for it to become the default
> behavior.

OTOH, if we turn it off by default, users might not even find it or
know it exists for another 5 years.



  reply	other threads:[~2015-12-04 19:05 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-28  5:04 lax matching is not a great default behavior Drew Adams
2015-11-28  8:29 ` Andreas Schwab
2015-11-28 14:50   ` Drew Adams
2015-12-01  9:23   ` Andreas Röhler
2015-12-01 10:38     ` Andreas Schwab
2015-12-01 10:42       ` Yuri Khan
2015-12-01 15:38         ` Eli Zaretskii
2015-12-01 15:36     ` Eli Zaretskii
2015-11-28  8:44 ` Eli Zaretskii
     [not found]   ` <<m2mvtv1ldi.fsf@newartisans.com>
2015-11-30 16:51   ` John Wiegley
2015-12-01 14:40     ` Richard Stallman
2015-12-01 15:55       ` Eli Zaretskii
2015-12-01 18:49         ` Mark Oteiza
2015-12-01 18:56           ` Eli Zaretskii
2015-12-01 19:32             ` David Kastrup
2015-12-01 19:36               ` Eli Zaretskii
2015-12-01 19:38             ` Mark Oteiza
2015-12-01 19:36           ` Artur Malabarba
2015-12-01 19:51             ` Mark Oteiza
2015-12-01 20:01               ` Eli Zaretskii
2015-12-01 20:04                 ` Eli Zaretskii
2015-12-01 23:31                   ` Artur Malabarba
2015-12-01 23:45                     ` Drew Adams
2015-12-02  3:37                     ` Eli Zaretskii
2015-12-02  8:23                       ` martin rudalics
2015-12-02 13:45                         ` Eli Zaretskii
2015-12-02 13:06                       ` Artur Malabarba
2015-12-02 13:44                         ` Eli Zaretskii
2015-12-02 17:25                           ` Artur Malabarba
     [not found]               ` <<83r3j6j5vj.fsf@gnu.org>
     [not found]                 ` <<83poyqj5qb.fsf@gnu.org>
2015-12-01 21:17                   ` Drew Adams
2015-12-02 17:52         ` Richard Stallman
2015-12-03 22:27         ` Per Starbäck
2015-12-03 23:00           ` Drew Adams
2015-12-04  0:09             ` Artur Malabarba
2015-12-04  8:28           ` Eli Zaretskii
2015-12-04  9:33             ` Per Starbäck
2015-12-04 10:10               ` Eli Zaretskii
2015-12-04 10:57                 ` David Kastrup
2015-12-04 11:19                   ` Eli Zaretskii
2015-12-04 12:04                 ` Per Starbäck
2015-12-04 14:42                   ` Eli Zaretskii
2015-12-04 17:47                     ` John Wiegley
2015-12-05  8:02                       ` Eli Zaretskii
2015-12-04 15:55             ` Drew Adams
2015-12-04 19:05               ` Eli Zaretskii [this message]
     [not found]       ` <<83610ikvto.fsf@gnu.org>
     [not found]         ` <<CADkQgvs-WvPX=qZ0B_un9j53RF6S4V5OmDTATSW1ZwTY50o2Rg@mail.gmail.com>
     [not found]           ` <<83bna6ipn7.fsf@gnu.org>
     [not found]             ` <<45e1580a-863c-4bd7-82ec-38c27a0d930e@default>
     [not found]               ` <<831tb2ghkf.fsf@gnu.org>
2015-12-04 21:30                 ` Drew Adams
2015-12-04 22:16                   ` David Kastrup
2015-12-04 22:37                     ` Artur Malabarba
2015-12-04 23:08                       ` David Kastrup
2015-12-04 23:57                     ` Drew Adams
2015-12-05  7:53                   ` Eli Zaretskii
2015-12-01  3:54   ` Discussions that led to changes in the defaults, was: " Dmitry Gutov
2015-11-28  8:49 ` David Kastrup
     [not found] <<d77851fd-da55-4020-82e8-abbd13f9b048@default>
     [not found] ` <<83twnxfi0h.fsf@gnu.org>
2015-12-05  9:27   ` Drew Adams
2015-12-05 11:15     ` Eli Zaretskii
     [not found]   ` <<6741424b-fb48-48d1-a2fe-a5b755373c46@default>
     [not found]     ` <<83fuzhf8op.fsf@gnu.org>
2015-12-05 15:59       ` Drew Adams
2015-12-06  1:37         ` John Wiegley
     [not found] <<c9f3197f-b5f3-42f3-817c-bf560842b4d7@default>

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=831tb2ghkf.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=jwiegley@gmail.com \
    --cc=per@starback.se \
    --cc=rms@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.