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 #8 received at 52098 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Daniel Mendler <mail <at> daniel-mendler.de>
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:19:23 +0100
Daniel Mendler <mail <at> daniel-mendler.de> writes:

> 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.

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




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.