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

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

bug#32372: [PATCH] Add "uuid" to thing-at-point.el


From: Noam Postavsky
Subject: bug#32372: [PATCH] Add "uuid" to thing-at-point.el
Date: Mon, 06 Aug 2018 15:16:47 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Raimon Grau <raimon@konghq.com> writes:

> +(put 'uuid 'bounds-of-thing-at-point
> +     (lambda ()
> +       (let ((thing (thing-at-point-looking-at
> +                     thing-at-point-uuid-regexp 500)))

I think since uuids are fixed size, we can just pass that length (36),
rather than the somewhat arbitrary 500.





reply via email to

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