From: Tino Calancha <tino.calancha@gmail.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: "Tino Calancha" <tino.calancha@gmail.com>,
27979@debbugs.gnu.org, "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
Subject: bug#27979: tab completion for "(yes or no)?"
Date: Mon, 7 Aug 2017 01:05:46 +0900 (JST) [thread overview]
Message-ID: <alpine.DEB.2.20.1708070049590.15439@calancha-pc> (raw)
In-Reply-To: <c01c069d-2a56-47ff-ac89-95de64c93d0f@default>
[-- Attachment #1: Type: text/plain, Size: 3148 bytes --]
On Sun, 6 Aug 2017, Drew Adams wrote:
>>>> Some experts have in their Emacs init file:
>>>> (fset 'yes-or-no-p 'y-or-n-p)
>>>> So that they will be prompted with (y or n).
>>>
>>> More newbies than experts, methinks. ;-)
>>
>> I have: (defalias 'yes-or-no-p 'y-or-n-p)
>> so i am neither expert nor beginner (an outsider
>> or a secret agent, maybe).
>
> Actually, my reply was partly to discourage a possible
> misimpression that such an alias is a sign of expertise
> or will likely increase expertise. (Not that you
> suggested any such thing.)
>
> But mainly: even (some) experts can benefit from
> having to type `yes', and few (I think) really gain
> much by just hitting `y'.
>
> It's a cost/benefit thing. If you never hit `y'
> accidentally or too quickly in a critical situation
> then the gain of not typing `es' and not hitting `RET'
> is maybe worth it (maybe not). If you do ever make
> such a mistake then the cost can be great.
>
> Experts (however defined) generally have more pilot
> hours, and so are more likely to have been through a
> few such crises and perhaps learned from them to be
> careful.
>
> A newbie, whether driving a car or driving Emacs,
> can, from lack of such unfortunate experiences,
> sometimes be overconfident and think that some
> things, like looking in the rear-view mirror or not
> texting, are just an unnecessary bother - something
> only "newbies" really need. Having a few accidents
> can do wonders for teaching the value of paying
> attention.
>
> Wrt driving, a recent US study pointed out that the
> youngest drivers (e.g. 16 years old) are much more
> careful than are those who are just a little bit
> older (e.g. 17 years old) - much more likely to
> drive slower, to pay attention to other cars, not
> to text, etc. IOW, a little experience/knowledge
> can be a dangerous thing.
>
> Telling new drivers that some "expert" drivers
> never need to look in the rear-view mirror would
> not be a great thing to do (IMO). And I doubt
> that it would be true that some expert drivers
> never do look in the mirror.
That's the reason i didn't want to admit i am one of those guys
overwritting 'yes-or-no-p'. I tried to kept secret. I want to be
pedagogical with this topic: i cannot say don't do this thing that i am
doing (maybe because i am not father yet...). So, please Dan, don't
use it! Plese write 'yes' or 'no'. It's for your safety.
Someone from my circle lost important deta doing 'rm -rf' without
too much care. Yeah, we must never encourage such bad habits. I agree
with you: to use such things, as 'rm -rf' or `y-or-no-p' as `yes-or-no-p'
a long way must be walked (usualy with mistakes too).
Now some optimistic comment: IIRC, Newton suffered a fire in his home
destroying all his notes. After that he rewrote everything from his head
and published 'Philosophiæ Naturalis Principia Mathematica'. The most
important is that we don't delete our heads.
I suffered car accidents after i got confident enough. Yes, too much
confident might decrease natural instinct brakes. It's also true
that after the accidents i became a better driver. We learn everyday.
next prev parent reply other threads:[~2017-08-06 16:05 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-06 0:33 bug#27979: tab completion for "(yes or no)?" 積丹尼 Dan Jacobson
2017-08-06 6:59 ` Tino Calancha
2017-08-06 15:07 ` Drew Adams
2017-08-06 15:20 ` Tino Calancha
2017-08-06 15:46 ` Drew Adams
2017-08-06 16:05 ` Tino Calancha [this message]
2017-08-06 16:48 ` Drew Adams
2017-08-06 20:34 ` Drew Adams
2017-08-06 16:49 ` Eli Zaretskii
2017-08-06 12:52 ` 積丹尼 Dan Jacobson
2017-08-06 13:02 ` Tino Calancha
2017-08-06 13:59 ` Tino Calancha
2017-08-06 16:15 ` 積丹尼 Dan Jacobson
2017-08-06 17:08 ` Eli Zaretskii
2017-08-06 16:58 ` 積丹尼 Dan Jacobson
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=alpine.DEB.2.20.1708070049590.15439@calancha-pc \
--to=tino.calancha@gmail.com \
--cc=27979@debbugs.gnu.org \
--cc=drew.adams@oracle.com \
--cc=jidanni@jidanni.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).