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: force initialization of a datatype? Date: Fri, 6 Nov 2015 14:16:02 +0200 Message-ID: <563C9A02.2030601@yandex.ru> References: <86lhadybig.fsf@stephe-leake.org> <563A59BD.6010909@yandex.ru> <86ziyrwdce.fsf@stephe-leake.org> 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 1446812189 3933 80.91.229.3 (6 Nov 2015 12:16:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Nov 2015 12:16:29 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 06 13:16:24 2015 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 1ZufwO-0006L8-Bt for ged-emacs-devel@m.gmane.org; Fri, 06 Nov 2015 13:16:24 +0100 Original-Received: from localhost ([::1]:38182 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZufwN-0001LT-RF for ged-emacs-devel@m.gmane.org; Fri, 06 Nov 2015 07:16:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zufw9-0001LI-FA for emacs-devel@gnu.org; Fri, 06 Nov 2015 07:16:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zufw5-0000jc-BK for emacs-devel@gnu.org; Fri, 06 Nov 2015 07:16:09 -0500 Original-Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]:37725) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zufw5-0000jQ-5M for emacs-devel@gnu.org; Fri, 06 Nov 2015 07:16:05 -0500 Original-Received: by wmll128 with SMTP id l128so39203274wml.0 for ; Fri, 06 Nov 2015 04:16:04 -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-type:content-transfer-encoding; bh=F/rPoG21asRjXhumaD6dnwwiP7nz9R8Qnle+RDAzL5o=; b=Y6imfkmoNwz0EFEPNIncILzTCv9nIuJ1Z9weL1lqlHSLwHZee51UW6fmI4bba7iJYR 2cBKXf+eAD2W6z1OGjDaDnxn+WbQ4mJRIRcgM0hj3GSliWEy+AK/b6ELNLTN6X7WIQWl GBEd3VR/o8xa3XzbaBxg7Rmw89+5cofAJlJTCPW0Krl6t6QPfgck8dW5EOMC87pVxquq I5XS7IdWZqZG3+Szt+gPc7F0mb2p5gN8MZDvbKJL7XQxgEJalh7hEUFM4y8ADrBP7O3P 9WlDhn1G3mnJYc2tDHORAERxAt0aWZ2HcMorMMQsgIMLgjIEFuKVKg7JK+9AqONwMlVc CfDg== X-Received: by 10.28.23.211 with SMTP id 202mr9366995wmx.81.1446812164434; Fri, 06 Nov 2015 04:16:04 -0800 (PST) Original-Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id ly4sm11998442wjb.4.2015.11.06.04.16.03 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Nov 2015 04:16:03 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0 In-Reply-To: <86ziyrwdce.fsf@stephe-leake.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c09::22b 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:193407 Archived-At: On 11/06/2015 01:56 PM, Stephen Leake wrote: > However, `xref-find-definitions' doesn't find `make-path-iterator', and > there's no place to put a doc string for `make-path-iterator'. We might have to do with only documenting the related structures (and mentioning constructors there). > I'll see if I can fix `xref-find-definitions'. Thank you. Speaking of elisp--xref-find-definitions, you've made some additions to it recently. Could you remove the FIXME comment before it? It's kinda wrong. Second, are you sure that elisp-xref-find-def-functions shouldn't be somewhere in find-func.el? And same for the new code elisp--xref-find-definitions that supports structs and generics. I don't think we should deprecate find-func just yet, and it would make sense for M-x find-function to support defstruct functions and generics.