From: "Drew Adams" <drew.adams@oracle.com>
To: "'Stefan Monnier'" <monnier@iro.umontreal.ca>,
"'martin rudalics'" <rudalics@gmx.at>
Cc: 'Emacs Devel' <emacs-devel@gnu.org>
Subject: RE: quit-window is broken
Date: Tue, 18 Nov 2008 08:33:18 -0800 [thread overview]
Message-ID: <001901c9499b$5e8da730$0200a8c0@us.oracle.com> (raw)
In-Reply-To: <jwvfxlpkowl.fsf-monnier+emacs@gnu.org>
> > C-x C-f is guided by an option -
> `find-file-confirm-nonexistent-file'.
>
> Right. I think this customization variable is an instance of
> "Emacs at its worst", so I'd be happy to throw it away.
I disagree. Emacs development at its worst would be to change the behavior of
basic things such as `C-x C-f' from lax completion to "confirmed" completion
without providing users an option to get back the (superior, IMO) original
behavior.
It's OK to decide, after discussion, that the completion behavior for some new
function should be confirmed, not lax or strict. And it's OK to decide, for some
existing function, that confirmed should be offered as an alternative to the
traditional behavior (whether lax or strict).
For a given function, it can happen that there is no need to allow users a
choice of completion behaviors - that is probably usually the case. But that is
not the case when the behavior is to be changed for a long-existing command,
such as `find-file'. In such cases, please keep the traditional behavior as the
default behavior, and let users decide. Or change the default if that's better,
but give users the choice.
> PS: Or we could also add a gzillion foo-confirm-nonexistent-bar
> variables for all the places where such a confirmation feature would
> come in handy and some user gets annoyed because she
> occasionally needs to press RET twice rather than once.
Please don't exaggerate. In general, Emacs designers can just pick the most
appropriate confirmation behavior for a new function and be done with it - no
need to let users choose; no option needed.
But that might not apply to a few new functions where there would be some value
in giving users a choice (I have none in mind - perhaps there are none). And it
generally does not apply to existing functions that affect traditional behavior.
Again, "generally" - such cases should be examined case by case.
next prev parent reply other threads:[~2008-11-18 16:33 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-17 15:22 quit-window is broken Sam Steingold
2008-11-17 16:04 ` martin rudalics
2008-11-17 16:11 ` Sam Steingold
2008-11-17 16:17 ` martin rudalics
2008-11-17 18:55 ` Sam Steingold
2008-11-17 19:15 ` martin rudalics
2008-11-17 20:43 ` Sam Steingold
2008-11-17 21:59 ` Stefan Monnier
2008-11-17 22:43 ` martin rudalics
2008-11-18 16:01 ` Stefan Monnier
2008-11-18 16:33 ` Drew Adams [this message]
2008-11-18 17:03 ` Stefan Monnier
2008-11-18 17:36 ` Drew Adams
2008-11-18 21:30 ` Stefan Monnier
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='001901c9499b$5e8da730$0200a8c0@us.oracle.com' \
--to=drew.adams@oracle.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=rudalics@gmx.at \
/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.