From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.devel Subject: Re: Generalizing find-definition Date: Mon, 15 Dec 2014 23:17:11 +0100 Message-ID: References: <20141102151524.0d9c665c@forcix> <85egsem1u2.fsf@stephe-leake.org> <867fy0or7p.fsf@yandex.ru> <86ppbqn841.fsf@yandex.ru> <86mw6o3k28.fsf@yandex.ru> <548F5B60.8050509@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1418681863 27094 80.91.229.3 (15 Dec 2014 22:17:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Dec 2014 22:17:43 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 15 23:17:36 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 1Y0dxP-00009a-MI for ged-emacs-devel@m.gmane.org; Mon, 15 Dec 2014 23:17:35 +0100 Original-Received: from localhost ([::1]:42116 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y0dxP-0007rJ-84 for ged-emacs-devel@m.gmane.org; Mon, 15 Dec 2014 17:17:35 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y0dxC-0007q4-SW for emacs-devel@gnu.org; Mon, 15 Dec 2014 17:17:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y0dx3-0007rU-Kj for emacs-devel@gnu.org; Mon, 15 Dec 2014 17:17:22 -0500 Original-Received: from mail-wg0-x234.google.com ([2a00:1450:400c:c00::234]:36276) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y0dx3-0007rG-EI for emacs-devel@gnu.org; Mon, 15 Dec 2014 17:17:13 -0500 Original-Received: by mail-wg0-f52.google.com with SMTP id x12so15856280wgg.39 for ; Mon, 15 Dec 2014 14:17:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=NutFizoSmd4QrXqFOweFFdRnivL2p3lfj4EMAs0UUmA=; b=zk3klFzQ+XlVxqCIdn2H2yR1USqqGoueyAv7OB0/SbGIcsKJL9FQ+L5rZgg0+6gTjk Vrfo7rw8L8dyUyUn8zR5Cp1BpE2K0luU/E4+9NuF2ldlwvGM1psSbIm6i7zQAwYAiBWG +eNnsgMK5AX6EMnyam4pCzzD+Iw7bvIF5HMmUevI0RdEz4hBbz8EeZfTlZSPcRb1WkgX l6hPX+PDF/Uqvyjr71Sq4ECZ+2hnEioXdL4MHVvY2dOHZ5K7mwYQgRy+Xx+MrxJvU40e XinjI1or3FQN+4mB1T8+6/HQZhS3tzvfITEcD0hTSSgP20Y8KuJL7XHpau9Ie1Qy2lcM 6fRw== X-Received: by 10.180.74.212 with SMTP id w20mr8643374wiv.22.1418681832903; Mon, 15 Dec 2014 14:17:12 -0800 (PST) Original-Received: from ix ([212.46.172.140]) by mx.google.com with ESMTPSA id ex9sm14687555wib.14.2014.12.15.14.17.11 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 15 Dec 2014 14:17:12 -0800 (PST) Original-Received: from helmut by ix with local (Exim 4.80) (envelope-from ) id 1Y0dx1-0001ZG-LV; Mon, 15 Dec 2014 23:17:11 +0100 In-Reply-To: <548F5B60.8050509@yandex.ru> (Dmitry Gutov's message of "Tue, 16 Dec 2014 00:06:24 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::234 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:180185 Archived-At: On Tue, Dec 16 2014, Dmitry Gutov wrote: > 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? Apparently I missed that. The last patch I looked at had a number of (eq id t) tests. >> 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? There's still the problem of how to put text properties on the result of completing-read. Helmut