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

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

bug#23569: thing-at-point, source of slowness


From: Andreas Röhler
Subject: bug#23569: thing-at-point, source of slowness
Date: Wed, 18 May 2016 09:59:41 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Icedove/38.7.0

in thingatpt.el:

;; The function bounds-of-thing-at-point finds the beginning and end
;; positions by moving first forward to the end of the "thing", and then
;; backwards to the beginning.

;;;;;;;

Also bounds-of-thing-at-point jumps to-and-fro, doing some sanity check every time.

Suggest to jump
first at the beginning, as backward move might be slow.

Avoid to-and-fro, deliver tests instead, so first try will be reliable or return nil.

reply via email to

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