help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Character repeation detection


From: Joost Kremers
Subject: Re: Character repeation detection
Date: 10 Mar 2014 01:15:59 GMT
User-agent: slrn/pre1.0.0-18 (Linux)

Tom wrote:
> Jambunathan K <kjambunathan <at> gmail.com> writes:
>
>> 
>> Here is a quick one that checks for 2 characters in a row.
>> 
>> Are you sure you don't want flyspell-mode and only this. What is your
>> usecase.  Why would you want this?
>
> I want to use it as a hotkey.
>
> It occured to me it's very unusual to type the same character 3
> times in a row. Two can occur in words, but 3 practically never.
>
> Therefore it could be used as a single key hotkey in text buffers
> where otherwise you use the characters to type.

Perhaps check out key-chord-mode:

http://www.emacswiki.org/KeyChord

Similar idea, might contain some ideas you can use.


-- 
Joost Kremers                                   joostkremers@fastmail.fm
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]