From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: Finding macro-generated ert test definitions Date: Fri, 25 May 2018 00:00:38 +0100 Message-ID: References: <83r2m2cthd.fsf@gnu.org> <83efi1atw5.fsf@gnu.org> <87lgc9ov59.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000610561056cfb9f45" X-Trace: blaine.gmane.org 1527202737 10660 195.159.176.226 (24 May 2018 22:58:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 24 May 2018 22:58:57 +0000 (UTC) Cc: Alan Mackenzie , Eli Zaretskii , Emacs developers , Tino Calancha To: Noam Postavsky Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 25 00:58:53 2018 Return-path: Envelope-to: ged-emacs-devel@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 1fLzC8-0002gN-9I for ged-emacs-devel@m.gmane.org; Fri, 25 May 2018 00:58:52 +0200 Original-Received: from localhost ([::1]:41007 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fLzEF-0004JE-D8 for ged-emacs-devel@m.gmane.org; Thu, 24 May 2018 19:01:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39759) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fLzE5-0004J1-FS for emacs-devel@gnu.org; Thu, 24 May 2018 19:00:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fLzE4-0005ru-Eg for emacs-devel@gnu.org; Thu, 24 May 2018 19:00:53 -0400 Original-Received: from mail-qt0-x233.google.com ([2607:f8b0:400d:c0d::233]:34555) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fLzE2-0005rD-UQ; Thu, 24 May 2018 19:00:51 -0400 Original-Received: by mail-qt0-x233.google.com with SMTP id m5-v6so4302348qti.1; Thu, 24 May 2018 16:00:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=buIb+LP11ri0frA4pwxZW1jYFiGmX5uxF3cXhUSXGFI=; b=b/UTUBpd50OGrc6+2/h5rHBjNNDCBJpvCYSozp39EyIJaLeAVX5sLR3MZxJ7jnWStV 1Dq/M4n9BamU6KL2ZCmM/Xmvc96TMJa2kaHrSko2+JoYmy8Y8yMFt734pGKRu85VUtvK lFfJ0cDN187treiytrTp5xZnWwfJqnkdsHBVcgHSzbCjqoa+MK7Zvth5e0xOKcFmdIeo mZVSz/EK1NukpZTH8mdQJPd/UtpbMXoM5hzcbR8U6LjTQAUJeEo3xxPS5jZPeW1mihG/ 506R/Iz0SR07ixHhOAKQgWPrIuMqvod0KvO39vK8BiMP9amfXR2N7uk1ctdKlfzNl7kH YeGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=buIb+LP11ri0frA4pwxZW1jYFiGmX5uxF3cXhUSXGFI=; b=L9bm9MX23R3J5rVedA7f1+P5P4SVf0BrsQLJ+EcxWcMBzPjiqvRIl8wmKNdY8AxWdG t4P1Dnd7/LNn7EqEBmdIsR0X3aRq4/mgAKwW2avDFIojFRLS0XKo7yqoDXCAbG6wmbg/ cPUnwoEfaW6+CWhvf+AJZ6ppM+/T7B9fPcFLQHtD8RpY2l/QMvcUKYGW2NzXeSwwP7HM Pv5uZWzu5lcP/9nlRIsnsy6ZutqNdJyr1HsPK+eWhZQJeJDGeygFFLb+ydHftT2jX4GQ UwBUZiq0p2+ADjSex/8O5oglxSpp2UsbfZOlPhPW0WpK6jn4VkkHQuMAn8pYdYL70rVE kDYg== X-Gm-Message-State: ALKqPweiPrEwUAGbDzuxAxIl1zz62d3rC58Iem/HFCYOHOs8ty6lNIST cxOJxNTbSooY7aJUHvLy1NGy8wByvqBQdtzPO8o= X-Google-Smtp-Source: ADUXVKICuQ8/BHROC9beYf4p2R3sk2Ti4iM2bskpS4LbaFp+zjCDgaw3b++9P2nM95Mk+Ox/JWaTpSPJ4e0Bhl+vPL8= X-Received: by 2002:ac8:7217:: with SMTP id a23-v6mr8799751qtp.243.1527202850078; Thu, 24 May 2018 16:00:50 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::233 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:225684 Archived-At: --000000000000610561056cfb9f45 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, May 24, 2018, 23:34 Noam Postavsky wrote: > On 24 May 2018 at 12:50, Jo=C3=A3o T=C3=A1vora wro= te: > > > Nothing against this, but can anyone comment on the possiblity of > > recording actual position information in bytecomp.el, so we wouldn't > > have this limitation in the first place (and hence wouldn't need to > > document it)? > > Considering Bug#24592, it seems a bit optimistic to expect useful > position information from the byte compiler Doesn't seem like a huge showstopper though. That bug is about errors and warnings, whereas we want the position of the containing top-level form that originated the named function being compiled. That would be a considerable improvement already. I think Michael's suggesting about `definition-name' could help. That > seems like something that should be mentioned in the elisp manual too, > somewhere. > I didn't fully understand it yet, but I will try that too. Thanks --000000000000610561056cfb9f45 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, = May 24, 2018, 23:34 Noam Postavsky <npostavs@gmail.com> wrote:
On 24 May 2018 at 12:50, Jo=C3=A3o T= =C3=A1vora <joaotavora@gmail.com> wrote:

> Nothing against this, but can anyone comment on the possiblity of
> recording actual position information in bytecomp.el, so we wouldn'= ;t
> have this limitation in the first place (and hence wouldn't need t= o
> document it)?

Considering Bug#24592, it seems a bit optimistic to expect useful
position information from the byte compiler

Doesn'= t seem like a huge showstopper though. That bug is about errors and warning= s, whereas we want the position of the containing top-level form that origi= nated the named function being compiled. That would be a considerable impro= vement already.

I think Michael's suggesting about `definition-name' could help. Th= at
seems like something that should be mentioned in the elisp manual too,
somewhere.


I didn't fully understand it yet,= but I will try that too.

Thanks

--000000000000610561056cfb9f45--