From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Generalizing find-definition Date: Tue, 16 Dec 2014 00:06:24 +0200 Message-ID: <548F5B60.8050509@yandex.ru> References: <20141102151524.0d9c665c@forcix> <85tx1amnyg.fsf@stephe-leake.org> <85egsem1u2.fsf@stephe-leake.org> <867fy0or7p.fsf@yandex.ru> <86ppbqn841.fsf@yandex.ru> <86mw6o3k28.fsf@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1418681217 16730 80.91.229.3 (15 Dec 2014 22:06:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Dec 2014 22:06:57 +0000 (UTC) Cc: emacs-devel@gnu.org To: Helmut Eller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 15 23:06:50 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y0dmy-00046a-UT for ged-emacs-devel@m.gmane.org; Mon, 15 Dec 2014 23:06:49 +0100 Original-Received: from localhost ([::1]:42078 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y0dmy-00063Q-FB for ged-emacs-devel@m.gmane.org; Mon, 15 Dec 2014 17:06:48 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50538) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y0dmm-00063C-Ti for emacs-devel@gnu.org; Mon, 15 Dec 2014 17:06:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y0dmd-0004VN-4X for emacs-devel@gnu.org; Mon, 15 Dec 2014 17:06:36 -0500 Original-Received: from mail-wi0-x233.google.com ([2a00:1450:400c:c05::233]:34831) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y0dmc-0004V5-TI for emacs-devel@gnu.org; Mon, 15 Dec 2014 17:06:27 -0500 Original-Received: by mail-wi0-f179.google.com with SMTP id ex7so10630006wid.0 for ; Mon, 15 Dec 2014 14:06:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=kbQAs+F2b+znDA78XspgIuAYYQBvytuum1KJGKTSbOA=; b=amKirv29z5fjdf78uU0h0+Be9ByGAlochP8TwZbRKi3p65cePo4lRLvHVxA/u24UVT PAIvnJrryG5HRs/SUpqJGGiW2GrUjXCancLAjq/MtNU8bKHnBMPUJgH1a34x2LU//J8G zOClz3kzP0kXd1Gw/h0Rqvb65upJV3wqZB37oiVbHfw7aDx+wSNZMDwkCA/7MAQigH8V Uh/ZB64+yTeHb6HoM6P/44ZoUUN8+aRBKmX8iBt1ls36ABSw7dtDxMF/8kzGyq2prwoq bwI8rhR0Z4oKCTiy4KCPSUE09Dt2F2Bivzu5wPg5krQOS+WcSyaMjDboG1yrOReGHNQz aZtg== X-Received: by 10.180.96.10 with SMTP id do10mr35374875wib.16.1418681186326; Mon, 15 Dec 2014 14:06:26 -0800 (PST) Original-Received: from [192.168.1.2] ([82.102.93.58]) by mx.google.com with ESMTPSA id cs8sm14680430wib.1.2014.12.15.14.06.25 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Dec 2014 14:06:25 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::233 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:180183 Archived-At: On 12/15/2014 11:57 PM, Helmut Eller wrote: > You could also further restrict the identifier type: allow only strings. Already did. :) Have you looked at the patch? > Tell users that they can put text properties on the string if they need > more structured data. Right, that will also be a nice escape hatch. Do you think it obviates my proposal of returning precise or imprecise identifiers, depending on the argument?