miswart


miswart

/mis-wort/ [By analogy with misbug] A feature thatsuperficially appears to be a wart but has been determinedto be the Right Thing. For example, in some versions of theEmacs text editor, the "transpose characters" commandexchanges the character under the cursor with the one beforeit on the screen, *except* when the cursor is at the end of aline, in which case the two characters before the cursor areexchanged. While this behaviour is perhaps surprising, andcertainly inconsistent, it has been found through extensiveexperimentation to be what most users want. This feature is amiswart.