GNU bug report logs - #21391
24.5; `thing-at-point' returns error when called with arguments 'number t

Previous Next

Package: emacs;

Reported by: Tino Calancha <f92capac <at> gmail.com>

Date: Tue, 1 Sep 2015 01:57:01 UTC

Severity: minor

Found in version 24.5

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

Bug is archived. No further changes may be made.

Full log


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

From: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#21391: 24.5; `thing-at-point' returns error when called with
 arguments 'number t)
Date: Fri, 4 Nov 2016 19:31:36 +0100

On 04.11.2016 17:31, Drew Adams wrote:
> Tino is right.  The mistake behind the handling of optional arg
> NO-PROPERTIES (which was added in Emacs 24.4) is to assume that
> `thing-at-point' returns a string.  This is a common misconception.
> It can return anything that Emacs Lisp can return.

Is there a need to pick symbols from a buffer as symbols?
Don't know. My use-case is editing and strings are the suitable format.





This bug report was last modified 4 years and 329 days ago.

Previous Next


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