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

Previous Next

Package: emacs;

Reported by: Raimon Grau <raimon <at> konghq.com>

Date: Sun, 5 Aug 2018 23:14:02 UTC

Severity: wishlist

Tags: fixed, patch

Fixed in version 27.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #22 received at 32372 <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> gmail.com>
To: Raimon Grau <raimon <at> konghq.com>
Cc: 32372 <at> debbugs.gnu.org
Subject: Re: bug#32372: [PATCH] Add "uuid" to thing-at-point.el
Date: Mon, 06 Aug 2018 15:16:47 -0400
Raimon Grau <raimon <at> 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.




This bug report was last modified 6 years and 278 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.