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

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

RE: `looking-back' strange warning


From: Drew Adams
Subject: RE: `looking-back' strange warning
Date: Sat, 3 Oct 2015 15:17:21 +0000 (UTC)

> > You are welcome to contribute to that (short) bug thread,
> > or to otherwise try to get such a function added to Emacs.
> 
> I think that function is not really a viable drop-in replacement for
> typical `looking-back' calls.  The latter is most frequently used to
> decide "am I behind some word or sequence of words, and I don't care
> about whitespace?".

I did not suggest that it should be a "drop-in replacement for
typical `looking-back' calls."

The intention is to have such a function for the quite common,
but special, use case of checking for a literal sequence of
chars just before point.  That is one thing that `looking-back'
is sometimes (too often, mistakenly) used for.

IOW, it's not a case of either-or.  There is a use for
`looking-back' other than the `chars-before' use case.



reply via email to

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