Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: [PATCH] help.autocorrect: do not run a command if the command given is junk

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:47:54

Possibly related (same subject, not in this thread)

Hi,

On Mon, 14 Dec 2009, Junio C Hamano wrote:
I somehow suspect that a good mathematician can come up with a rationale 
for 6 after the fact that sounds convincing, along the lines of "the 
average length of commands being N, and levenshtein penalties being 
<0,2,1,4>, you can insert X mistaken keystroke and/or omit Y mistaken 
keystroke per every correct keystroke without exceeding this value 6, 
and the percentage X and/or Y represents is not too low to be practical 
but low enough to reject false positives".
Being a mathematician, I was tempted to invent such a reasoning in 
hindsight.

But I decided to be truthful instead,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help