all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#52733: 29.0.50; Wishlist: thingatpt should use fields
@ 2021-12-22 13:00 Lars Ingebrigtsen
  0 siblings, 0 replies; only message in thread
From: Lars Ingebrigtsen @ 2021-12-22 13:00 UTC (permalink / raw)
  To: 52733


A previous attempt at making this happen was done in
7db376e560448e61485ba054def8c82b21f33d6a, but was reverted due to
serious performance regressions (see bug#52593).

I still think it's a good idea to make this work, but it has to be more
efficient.  Perhaps a way to implement this would be to make the
beginning-of-thing/end-of-thing functions (or something in that
vicinity) check whether there's a field in the area it's covering, and
then limit itself to that area first.

That should fix the performance regressions -- the problem with
just calling field-beginning/end without any limits is that it will
search through the entire buffer, and that can be slow.


In GNU Emacs 29.0.50 (build 13, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.16.0)
 of 2021-12-19 built on xo
Repository revision: ec692470bdbd9f673e925bae1c96ad066fb0295a
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12013000
System Description: Debian GNU/Linux bookworm/sid


-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-22 13:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-22 13:00 bug#52733: 29.0.50; Wishlist: thingatpt should use fields 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.