From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: joaotavora@gmail.com (=?utf-8?B?Sm/Do28gVMOhdm9yYQ==?=) Newsgroups: gmane.emacs.devel Subject: Re: Finding macro-generated ert test definitions Date: Thu, 24 May 2018 17:50:26 +0100 Message-ID: <87lgc9ov59.fsf@gmail.com> References: <83r2m2cthd.fsf@gnu.org> <83efi1atw5.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1527180651 29666 195.159.176.226 (24 May 2018 16:50:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 24 May 2018 16:50:51 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: acm@muc.de, emacs-devel@gnu.org, Noam Postavsky , tino.calancha@gmail.com To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 24 18:50:46 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 1fLtRr-0007Xm-Um for ged-emacs-devel@m.gmane.org; Thu, 24 May 2018 18:50:44 +0200 Original-Received: from localhost ([::1]:39811 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fLtTz-0006zY-3S for ged-emacs-devel@m.gmane.org; Thu, 24 May 2018 12:52:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42036) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fLtRi-00050m-NA for emacs-devel@gnu.org; Thu, 24 May 2018 12:50:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fLtRf-00076p-Gp for emacs-devel@gnu.org; Thu, 24 May 2018 12:50:34 -0400 Original-Received: from mail-wr0-x22d.google.com ([2a00:1450:400c:c0c::22d]:42178) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fLtRf-00076b-9B; Thu, 24 May 2018 12:50:31 -0400 Original-Received: by mail-wr0-x22d.google.com with SMTP id w10-v6so4349621wrk.9; Thu, 24 May 2018 09:50:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=Q/PLgdQSAX+Q5e7DkbtRmoHyIUl9TJPkuvhD38R/Zv4=; b=YbVjrPmFRqi8YJbDhlYDfosBNiB31r6SqRI2laI5nieGXAWvGnwXP2lETr0qQ8tiu2 QXfXfeG0TVAYi8beYodgfxm/PMEHgKTFK6Obmf1aSSbLLR5dOlZX7T68tZKkH9pbe2C9 DqRKvTCah/XV1TdSKqHG2U6HqLwuvhsJUcrdvp6l80seNRTgyveItsDL+JMiEutolHIr LYarLJmJxXkPPZYf5zXBISUGHI3nK7UdWJobmphia/QCw2PsIDNYjtSRjXf7gPhtjsu/ j7UjOmAoeYNR8HqZ+ltjHYLDIOFV+7AukuEXkl+3nI1sY65g2rFN2DLlOszhZDhrXM5/ bJmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=Q/PLgdQSAX+Q5e7DkbtRmoHyIUl9TJPkuvhD38R/Zv4=; b=fU1IgiuSJDPbIOxfj7eYQ6WOOcgAih/kQpxCfXO9odh1sQbU4lvwl9BpDyXSOaajS+ 4/P9tVVLfwJuZzONpfAbg+unHNseFtp8BnskPzNEI2pAUvmwCEPsL7cZNaEZhRQlGbhf gt5jUQn3b9/hQBCHi9A3CN01uRmgyRFdWytzODwx7JONIa3a4HDqIgLK222uj3+HIpbR UtW0JR+AxX7VDVdf5L9yWRLdIU1y2omnK3rCZ4VsWQLNxlV2G8GW5THv3S4hrh13b/Mx s6aQTobIRnKM1uJoj6hUJvSqIP33bxNi3z8XioPg3KONy4LKdB0GvkQllEUayOTY2fcA 1sJg== X-Gm-Message-State: ALKqPwfQGsxrhjo4LntTZtFtMKOOafZ/4oXoI5d3LjZe99zAUV+AX36p r/dFlYZzLH+VsygS0nx8Tup28vmL X-Google-Smtp-Source: AB8JxZre+l2L0bG47dZLjv4gTl3+/jmBcGMhWfNX7cFErNpWsyqHLHGBIiFgCoOf7zRjmKgGCgfYaA== X-Received: by 2002:adf:88ca:: with SMTP id g10-v6mr5885818wrg.62.1527180629797; Thu, 24 May 2018 09:50:29 -0700 (PDT) Original-Received: from lolita.yourcompany.com (188.139.62.94.rev.vodafone.pt. [94.62.139.188]) by smtp.gmail.com with ESMTPSA id m64-v6sm10209972wmb.12.2018.05.24.09.50.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 24 May 2018 09:50:29 -0700 (PDT) In-Reply-To: <83efi1atw5.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 24 May 2018 19:41:14 +0300") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::22d 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:225663 Archived-At: Eli Zaretskii writes: >> +@code{ert-find-test-other-window}) if the test was loaded from a file. >> +Since this relies on a textual search of the source, it will likely >> +fail if you use a macro which expands into the @code{ert-deftest} >> +form, especially if the test name itself is absent from the source. > > Looks like a good addition, thanks. 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)? Jo=C3=A3o