unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Juri Linkov'" <juri@jurta.org>
Cc: emacs-pretest-bug@gnu.org, rms@gnu.org, 1800@emacsbugs.donarmstrong.com
Subject: bug#1800: 23.0.60; Changed meaning of * in buffer name completion
Date: Tue, 6 Jan 2009 21:35:11 -0800	[thread overview]
Message-ID: <001a01c97089$b6902420$0200a8c0@us.oracle.com> (raw)
In-Reply-To: <87sknwkov4.fsf@jurta.org>

> > And I don't think we should adopt the behavior that if 
> > there are no matches under some interpretation of the
> > input then we should try another interpretation
> > (and another,...). That's exactly the strategy behind the 
> > "annoyance". It can be useful to get feedback that your
> > input doesn't match.
> >
> > To me, the thing to do is keep this new behavior as an 
> > optional feature, but not make it the default behavior.
> > People who opt in for this will know what they're
> > getting, and no one will be annoyed/surprised.
> >
> > In a future release, if people generally prefer the 
> > optional behavior, it could become the new default.
> > It doesn't make sense to change the default behavior now
> > to something that (a) not many users have even tried, (b) 
> > was never even discussed at emacs-devel, and (c) is hardly
> > documented. (The novelty and sometime annoyance/surprise
> > is the main disqualifier, of course, not the lack of
> > adequate doc and discussion.)
> 
> There is no harm in a feature if it has no annoyance/surprise.
> You said in
> http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1757
> 
>     With the traditional behavior, if there are no buffers
>     with prefix `*', you are told so immediately: [No match].
>     With the new, partial-completion behavior, you are given possible
>     completions that do not complete `*' in the normal way
>     (as a literal prefix).
> 
> So implementing a message "[No match, type TAB again for * as 
> a wildcard]" will keep the traditional behavior just as you want.

No, there are plenty of other annoyances/surprises for users in this new
behavior, besides the `*' buffer one. I gave two good examples in the report for
bug #1512, neither involving wildcards or necessarily buffers.

http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1512

Beyond the multiple possibilities of surprise or confusing behavior, what's the
hurry? Why bend over backwards to force this upon users as the new default
behavior? Even if we take as given that the new behavior is interesting and can
be useful, why the need to suddenly switch to this behavior?

What's wrong with offering this as an option? There already is a user option
that controls this. All that's needed is to change the default value of that
option to the singleton list '(basic), to keep the traditional behavior as the
default.

We can then also document well the possibility of the new behavior that combines
basic with partial completion etc. - nothing wrong with advertizing this. What's
wrong is to make it the default with no track record, no discussion, no poll.








  reply	other threads:[~2009-01-07  5:35 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87skfslnlx.fsf@cyd.mit.edu>
2009-01-06 12:31 ` bug#1800: 23.0.60; Changed meaning of * in buffer name completion Richard M Stallman
2009-01-06 19:00   ` Juri Linkov
2009-01-06 22:14     ` Stefan Monnier
2009-01-06 22:54       ` Juri Linkov
2009-01-07  5:35         ` Drew Adams
2009-01-07 20:09       ` Richard M Stallman
2009-01-06 22:36     ` Drew Adams
2009-01-06 23:12       ` Juri Linkov
2009-01-07  5:35         ` Drew Adams [this message]
2009-01-07 12:07           ` Juri Linkov
2009-01-07 15:56             ` Drew Adams
2009-01-07 16:48               ` Drew Adams
2009-01-07 17:43                 ` Juri Linkov
2009-01-07 18:05                   ` Drew Adams
2009-01-07 19:30                     ` Juri Linkov
2009-01-06 22:59     ` Richard M Stallman
2009-08-15 22:35   ` bug#1800: marked as done (23.0.60; Changed meaning of * in buffer name completion) Emacs bug Tracking System
2009-03-09 21:25 bug#1800: 23.0.60; Changed meaning of * in buffer name completion Xavier Maillard

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='001a01c97089$b6902420$0200a8c0@us.oracle.com' \
    --to=drew.adams@oracle.com \
    --cc=1800@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=juri@jurta.org \
    --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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).