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.