From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#21391: 24.5; `thing-at-point' should return a string Date: Mon, 7 Nov 2016 21:12:07 +0200 Message-ID: References: <0a68c2ae-0940-4e2c-8b3c-1faceb45c43c@default> <1773ab35-70b1-42f9-8a8b-fe07881487d1@default> <874m3krnb6.fsf_-_@gmail.com> <83a8dbiaps.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1478546034 6689 195.159.176.226 (7 Nov 2016 19:13:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 7 Nov 2016 19:13:54 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Thunderbird/50.0 Cc: 21391@debbugs.gnu.org To: Eli Zaretskii , Tino Calancha Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 07 20:13:50 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 1c3pLx-0004ey-AH for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Nov 2016 20:13:09 +0100 Original-Received: from localhost ([::1]:56063 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c3pM0-0003oG-A1 for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Nov 2016 14:13:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47922) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c3pLt-0003oA-Ck for bug-gnu-emacs@gnu.org; Mon, 07 Nov 2016 14:13:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c3pLq-0003ad-8b for bug-gnu-emacs@gnu.org; Mon, 07 Nov 2016 14:13:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33279) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c3pLq-0003aZ-4X for bug-gnu-emacs@gnu.org; Mon, 07 Nov 2016 14:13:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c3pLp-0004Eo-Tg for bug-gnu-emacs@gnu.org; Mon, 07 Nov 2016 14:13:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Nov 2016 19:13: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.147854594016237 (code B ref 21391); Mon, 07 Nov 2016 19:13:01 +0000 Original-Received: (at 21391) by debbugs.gnu.org; 7 Nov 2016 19:12:20 +0000 Original-Received: from localhost ([127.0.0.1]:48678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c3pL9-0004Dp-Ms for submit@debbugs.gnu.org; Mon, 07 Nov 2016 14:12:19 -0500 Original-Received: from mail-wm0-f52.google.com ([74.125.82.52]:37783) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c3pL8-0004Dc-1W for 21391@debbugs.gnu.org; Mon, 07 Nov 2016 14:12:18 -0500 Original-Received: by mail-wm0-f52.google.com with SMTP id t79so196685458wmt.0 for <21391@debbugs.gnu.org>; Mon, 07 Nov 2016 11:12:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=JCf8W3ZY+VYIfPZ/4qrBwcjQKk417iJaq7329zMpNko=; b=VBB69Bwwq6SWBzbxtFHJnPkR/sc/z+sy5FaWpMqutdGUXd/UuShLcnhK2Beh8ItXxU sGqR/R2wFra3g9bARtGaAhcOJ0Vr0NRHDGRZrhiT9STxS0kaw55PdyoHRpbXYqpXNeBY Tgg3tJeC5tLPYZXFIanJw77Dud2FIRsKuefOhEpQUcGnMROoTiDUsgnVPU4mtQ8Jvoa1 WvLZENfatocuKPbudeXhGqQIYgVA7KuNk8pdWJlXXA67HWXHoSEI81lzLQBNGo6Jv+D+ i4K/zTNUMgiSbz46KsuxtysXrKEmhWBA3TpaeDlGn58/ByJLpeZlo4sVY8WM0JQRuATB Ae+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=JCf8W3ZY+VYIfPZ/4qrBwcjQKk417iJaq7329zMpNko=; b=CEFoR5WwnX/MWHzLDkhe+h/pbOHrFGUgwfUkIfanPhzB4lMSMnkf8hMPwaRPluqRzv FoFnEwDqD1gKLtihHvWuYg/hRdH1MFYvczg2/tCNpYA+uxQkmjo3BsviMbZ91KH2jXrF LCUVckq2Ru516o0Kr6BDTa/nk5mygdBcIyy9Df3cCWLVxAHkAIY1qTujoqjF/4XvEZCq LtzZoQTPYU98WtTY2amqw8+qYH6OMze/+jEss+i3A6OxgUBUjgiVMtE+s4QQlYCRjYuz Ld5H9tgIGUJTZZ/BovhDQN42BInlssVWG78bixVLX+tYT3gkOT8NkzXRDacZVQNqr8fE gD6A== X-Gm-Message-State: ABUngvf0LkZnzAv5YlCC2vgr8J8LgUd+QRwQfwvvyb4eWgslMmk+roFn2Jfp0HIEqny5BA== X-Received: by 10.28.234.201 with SMTP id g70mr8051952wmi.104.1478545932232; Mon, 07 Nov 2016 11:12:12 -0800 (PST) Original-Received: from [192.168.1.3] ([185.105.173.41]) by smtp.googlemail.com with ESMTPSA id wh3sm32603566wjb.49.2016.11.07.11.12.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Nov 2016 11:12:11 -0800 (PST) In-Reply-To: <83a8dbiaps.fsf@gnu.org> Content-Language: en-US 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:125435 Archived-At: On 07.11.2016 17:14, Eli Zaretskii wrote: >> It's natural if `thing-at-point' returns the thing as a string. >> When the user don't want a string then s?he can use the specific >> functions, like `number-at-point' or `list-at-point'. > > Isn't that completely backward-incompatible? When thing is a number? Maybe. I don't imagine it's used very often. > If so, I don't think we > can do that. It's pretty clearly a bug: most other "things" behave otherwise (list, sexp, symbol). I'd very much rather we didn't retain conceptual problems like that just for the sake of compatibility.