From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#21391: 24.5; `thing-at-point' should return a string Date: Mon, 14 Nov 2016 17:36:07 +0200 Message-ID: <838tsmhy54.fsf@gnu.org> References: <83mvhbgitf.fsf@gnu.org> <25bb22e8-1388-275a-d0da-7e698acdf6da@yandex.ru> <83inrygggr.fsf@gnu.org> <83y40sfyij.fsf@gnu.org> <76505436-e66c-0ed3-6d7a-ce654f38ef30@yandex.ru> <83bmxnfhbi.fsf@gnu.org> <73600483-1df5-597c-6066-232189bbdd4a@yandex.ru> <834m3ffeb9.fsf@gnu.org> <83twbfdvav.fsf@gnu.org> <73be4b9d-2df8-cc83-b873-398cb7dd043b@yandex.ru> <83pom3ds3e.fsf@gnu.org> <83bmxme12w.fsf@gnu.org> <834m3edqyr.fsf@gnu.org> <6dbea00c-3bde-6ec3-b109-7aa205bedb5f@yandex.ru> <8337iydq8z.fsf@gnu.org> <83y40qc9jv.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1479137873 21510 195.159.176.226 (14 Nov 2016 15:37:53 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 14 Nov 2016 15:37:53 +0000 (UTC) Cc: 21391@debbugs.gnu.org To: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 14 16:37:49 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c6JJo-00014H-Uq for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Nov 2016 16:37:13 +0100 Original-Received: from localhost ([::1]:40893 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c6JJs-0007PN-5C for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Nov 2016 10:37:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33270) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c6JJh-0007OG-Po for bug-gnu-emacs@gnu.org; Mon, 14 Nov 2016 10:37:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c6JJe-0006DP-1D for bug-gnu-emacs@gnu.org; Mon, 14 Nov 2016 10:37:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41862) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c6JJd-0006DL-Tl for bug-gnu-emacs@gnu.org; Mon, 14 Nov 2016 10:37:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c6JJd-0004aJ-L8 for bug-gnu-emacs@gnu.org; Mon, 14 Nov 2016 10:37:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Nov 2016 15:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21391 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21391-submit@debbugs.gnu.org id=B21391.147913776517543 (code B ref 21391); Mon, 14 Nov 2016 15:37:01 +0000 Original-Received: (at 21391) by debbugs.gnu.org; 14 Nov 2016 15:36:05 +0000 Original-Received: from localhost ([127.0.0.1]:57260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c6JIj-0004Yt-1g for submit@debbugs.gnu.org; Mon, 14 Nov 2016 10:36:05 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:42067) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c6JIi-0004YO-3E for 21391@debbugs.gnu.org; Mon, 14 Nov 2016 10:36:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c6JIZ-00064T-UF for 21391@debbugs.gnu.org; Mon, 14 Nov 2016 10:35:59 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38453) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c6JIZ-00064O-R4; Mon, 14 Nov 2016 10:35:55 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1885 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1c6JIZ-0004KG-7p; Mon, 14 Nov 2016 10:35:55 -0500 In-reply-to: (message from Andreas =?UTF-8?Q?R=C3=B6hler?= on Mon, 14 Nov 2016 11:26:54 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:125686 Archived-At: > From: Andreas Röhler > Date: Mon, 14 Nov 2016 11:26:54 +0100 > > IMHO the current design is really confusing and shouldn't be kept. IMNSHO it would be madness to make incompatible changes 20 years after the code was admitted into Emacs. > if (get thing 'thing-at-point) > (funcall (get thing 'thing-at-point)) > > AFAIU an arbitrary function might be stored here, no real relation to > thing-at-point at all. Correct. We have gobs of functions that can return several different kinds of objects. > Next clause deals with buffer-substring - which is thing-at-point about > in my understanding. IMO, your understanding is wrong at least since 1997.