GNU bug report logs - #74890
31.0.50; (thing-at-point 'string) raises error

Previous Next

Package: emacs;

Reported by: Jean Louis <bugs <at> gnu.support>

Date: Sun, 15 Dec 2024 17:54:02 UTC

Severity: normal

Found in version 31.0.50

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Jean Louis <bugs <at> gnu.support>
Cc: drew.adams <at> oracle.com, 74890 <at> debbugs.gnu.org
Subject: Re: bug#74890: 31.0.50; (thing-at-point 'string) raises error
Date: Mon, 16 Dec 2024 18:40:30 +0200
> Cc: 74890 <at> debbugs.gnu.org
> Date: Mon, 16 Dec 2024 09:12:47 +0300
> From: Jean Louis <bugs <at> gnu.support>
> 
> > > > I also don't understand your claims about "char after", because
> > > > there's always something "after" point.
> > 
> > No, there's _not_ always something (some text) after
> > point.  And that, I think, is what this report is about.
> > From Jean's description, the only text in the buffer is
> > `Hello', where that `o' char is the last char, and
> > point is _after_, not on/at, that `o'.
> 
> That is right.

It's wrong, but I cannot afford arguing with you two about this nit.

> > I see the same thing with `emacs -Q' for Emacs 29.4,
> > which is the latest Emacs release AFAIK:
> > 
> > Debugger entered--Lisp error: (wrong-type-argument characterp nil)
> >   thing-at-point-bounds-of-string-at-point()
> >   bounds-of-thing-at-point(string)
> >   thing-at-point(string)
> >   eval-expression((thing-at-point 'string) nil nil 127)
> >   funcall-interactively(eval-expression (thing-at-point 'string) nil nil 127)
> >   command-execute(eval-expression)
> 
> I do not have error in default Emacs with -Q with this version:
> GNU Emacs 31.0.50 (build 4, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.16.0) of 2024-12-05

Until there's a recipe to reproduce this in "emacs -Q", I maintain
that this is not an Emacs bug, and should be closed.  Which I will do
soon, unless a recipe is posted.




This bug report was last modified 213 days ago.

Previous Next


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