GNU bug report logs - #52098
28.0.50; (thing-at-point thing) returns blank string in buffer with only whitespace

Previous Next

Package: emacs;

Reported by: Daniel Mendler <mail <at> daniel-mendler.de>

Date: Thu, 25 Nov 2021 10:28:02 UTC

Severity: normal

Found in version 28.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Daniel Mendler <mail <at> daniel-mendler.de>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 52098 <at> debbugs.gnu.org
Subject: Re: bug#52098: 28.0.50; (thing-at-point thing) returns blank string
 in buffer with only whitespace
Date: Mon, 29 Nov 2021 17:24:20 +0100
>> 1. emacs -Q
>> 2. Open new buffer "bug"
>> 3. Enter a few spaces or newlines, but buffer is otherwise empty
>> 4. M-: (thing-at-point 'word) -> Result is string with white space "   "
>>
>> The things `word`, `sexp`, `defun`, `sentence` are also affected.
> 
> Yup.  This should now be fixed in Emacs 29.

Thank you! Would it be possible to backport this to Emacs 28?





This bug report was last modified 3 years and 234 days ago.

Previous Next


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