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

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

Re: Character repeation detection


From: Tom
Subject: Re: Character repeation detection
Date: Sun, 9 Mar 2014 07:12:55 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Tom <adatgyujto <at> gmail.com> writes:

> 
> Jambunathan K <kjambunathan <at> gmail.com> writes:
> 
> > > Is there an existing solution for this?
> > 
> >     M-s h r \(.\)\1 RET
> > 
> >     (highlight-regexp "\\(.\\)\\1" (quote highlight))
> > 
> 
> I'm not talking about highlighting. I'd like an actual function
> call when this happens.
> 

And I don't mean 3 or more of the same character in the buffer
somewhere. I'm interested in detecting  when the user types
3 or more of the same character in a row.







reply via email to

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