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

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

bug#68762: 30.0.50; thing-at-point for an e-mail adress stops at "."


From: Eshel Yaron
Subject: bug#68762: 30.0.50; thing-at-point for an e-mail adress stops at "."
Date: Thu, 01 Feb 2024 12:10:35 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Hi,

Eli Zaretskii <eliz@gnu.org> writes:

>> Cc: philipk@posteo.net, mail@titusmueller.de, me@eshelyaron.com,
>>  68762@debbugs.gnu.org
>> Date: Mon, 29 Jan 2024 14:41:02 +0200
>> From: Eli Zaretskii <eliz@gnu.org>
>>
>> > From: Robert Pluim <rpluim@gmail.com>
>> > Cc: Eli Zaretskii <eliz@gnu.org>,  mail@titusmueller.de,
>> >   philipk@posteo.net,  68762@debbugs.gnu.org
>> > Date: Mon, 29 Jan 2024 10:05:17 +0100
>> >
>> > >>>>> On Sun, 28 Jan 2024 08:47:49 +0100, Eshel Yaron <me@eshelyaron.com> 
>> > >>>>> said:
>> >
>> >     >> Robert, any comments?
>> >
>> > Not really. It would be nice if the test suite could be extended to
>> > catch this.
>>
>> Agreed.
>
> Eshel, would you like to add some tests for this?

Sure, I'm attaching below a patch with a slightly cleaner implementation
and a couple of tests.

Note that this is a complete rewrite of a function that mostly haven't
changed since 1997, so please give it a close look before installing, in
case there's some use case that didn't occur to me and isn't covered by
the existing tests.


Best,

Eshel

Attachment: 0001-Ensure-thing-at-point-looking-at-finds-full-match.patch
Description: Text Data


reply via email to

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