all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#23569: thing-at-point, source of slowness
@ 2016-05-18  7:59 Andreas Röhler
  2016-05-18 17:52 ` Eli Zaretskii
  2021-07-08  0:49 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 6+ messages in thread
From: Andreas Röhler @ 2016-05-18  7:59 UTC (permalink / raw)
  To: 23569

[-- Attachment #1: Type: text/plain, Size: 454 bytes --]

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.
*

[-- Attachment #2: Type: text/html, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-07-08 12:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-18  7:59 bug#23569: thing-at-point, source of slowness Andreas Röhler
2016-05-18 17:52 ` Eli Zaretskii
2016-05-23  6:42   ` Andreas Röhler
2021-07-08  0:49 ` Lars Ingebrigtsen
2021-07-08  5:41   ` Andreas Röhler
2021-07-08 12:40     ` Lars Ingebrigtsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.