Bug 2820 - Autocorrect Typing
Summary: Autocorrect Typing
Status: NEW
Alias: None
Product: Claws Mail
Classification: Unclassified
Component: UI/Compose Window/Spell Checker (show other bugs)
Version: 3.9.1
Hardware: PC Windows NT
: P3 enhancement
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2012-11-23 17:33 CET by Abhay S. Kushwaha
Modified: 2012-11-24 02:03 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Abhay S. Kushwaha 2012-11-23 17:33:31 CET
An autocorrect feature to take care of common typing mistakes would be a nice feature to have.
Comment 1 Abhay S. Kushwaha 2012-11-23 17:46:36 CET
To clarify things a bit, I would envisage a "match list" type of auto-correct that is user-configured. For example,

+--------------+---------+
| Correct this | To this |
+--------------+---------+
| teh          | the     |
| css          | CSS     |
+--------------+---------+
Comment 2 Abhay S. Kushwaha 2012-11-23 21:05:21 CET
Recording more user feedback on this, and adding more details/clarifications.

This feature would be turned off by default.

When turned on, it could load up a two-column set of words as described in my previous comment and when a word matches one in the first column, it would be replaced by the corresponding word/phrase in the right column.

I envisage auto-correct to run before spell-checking routine, and independent of it. So the idea is *not* to take words marked invalid by spell-check and then try to (pseudo) intelligently guess the most possible dictionary word.

It could very well work with words that are legal dictionary words and change them into the form the user wants. The "css" to "CSS" example is just that -- this feature is enabling a user to enforce a specific form of a word preferred by the user.

And it allows users to create "text-macros" where a user-specified abbreviation is expanded into an oft-used phrase, for example, replacing "end-credit" with "So at the end, I again thank you for your feedback. I appreciate you taking the time out and writing in. I hope you will continue to be an active member of the community."

So, again reiterating, this is only for user-specified word replacement where both the word being replaced and the word(s) that replace it are explicitly entered by the user in a specific format.

Clearly an advanced feature unless the developer is kind enough to give a visual list editor. ;)
Comment 3 Holger Berndt 2012-11-24 02:03:33 CET
>And it allows users to create "text-macros" where a user-specified abbreviation
>is expanded into an oft-used phrase,

Btw, the python plugin ships with an example doing exactly that (though it is triggered manually, which I think makes more sense for this kind of feature, as opposed to auto correct).