From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Bruno Barbier Newsgroups: gmane.emacs.help Subject: Re: Jumping to macro source Date: Thu, 06 Jun 2019 22:34:44 +0200 Message-ID: <5cf96ad9.1c69fb81.a57e7.438b@mx.google.com> References: <7f7b080e-2747-3775-bf8c-b0ccb35d593e@easy-emacs.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="61602"; mail-complaints-to="usenet@blaine.gmane.org" To: Andreas =?utf-8?Q?R=C3=B6hler?= , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 06 21:42:13 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.47]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hYyH7-000FvO-P7 for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Jun 2019 21:42:13 +0200 Original-Received: from localhost ([::1]:57690 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hYyH6-0008V1-QD for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Jun 2019 15:42:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60158) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hYyA3-0001xQ-NO for help-gnu-emacs@gnu.org; Thu, 06 Jun 2019 15:34:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hYyA2-0000qX-HQ for help-gnu-emacs@gnu.org; Thu, 06 Jun 2019 15:34:55 -0400 Original-Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:37582) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hYyA2-0000pC-Bn for help-gnu-emacs@gnu.org; Thu, 06 Jun 2019 15:34:54 -0400 Original-Received: by mail-wr1-x436.google.com with SMTP id v14so3632156wrr.4 for ; Thu, 06 Jun 2019 12:34:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:from:to:subject:in-reply-to:references:date:mime-version :content-transfer-encoding; bh=7BZsv3wN3q+yLeguBDAG1b6RotACpMzNmnf7uWaOxF0=; b=GXO7Z02GXIXSCmr4MFagwVYcpFSmdgGDmL1B9wMFZKE2o3wMavOm4wqF6iXv4AmalX jWQtEHMs3z1zt4XhFQtVS+eaVkoCJzTtnBKWxUQLOLCqv+yapymJS/ZZThuTswn7P5qM 6NEtu5i7CzuxgnV1DtNYcKoer+WDew2/pkcsT5Ucv7tNKE245UL4lqYs5yOxYmLEkxIc pAZpIXLo0MhnJ57Iv3pK1kUe9wEigx9v/LmCV3NekDTllxAaE+xBPqPr+jDQMc0KtPDJ G09Y2xB/HIbVRa+WwTLKzkZbIgcdIEKN85Oi9s4dNr6yU60ssKpKaGwnS6R9CuKu7/Yc mNMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:from:to:subject:in-reply-to :references:date:mime-version:content-transfer-encoding; bh=7BZsv3wN3q+yLeguBDAG1b6RotACpMzNmnf7uWaOxF0=; b=rz6P2oaDWRvrj4DZj6FWjhNV9Qxl4oybuFfpgjZ2nPm+OeK/t5Zj36c1h4r1pUHgm3 w6PWuoCcmKT6gfOIfQv95r2C+jh3gjrWhR+lSk4pBi5oMGeV3DDXz2RHvXh2lYOeBi82 XQ2Ln5voAa0QUz72/xMZJbyIYna0Gdp7x8fmVTqg2A1HbVUAi4KkpLVgLFUNyD8fiDsJ KtA0dcdSSvPkruIyekCxyplFetpB2/ypejjkHJxEJCxlmGw0OExpFn67BsFkwBDCzHH3 HmaEzb19/mmJNatIe/e6HdNoIMulRRQkWf/MOq9sucMfp/h6vl79tm3f3qXS/6/OH/ac 0A2g== X-Gm-Message-State: APjAAAVxY5Dsu08Ql6LD7Zh65yvqL5LP0i3hSq26ld1A4o5Om7o0Yxsh nBRl9b/lXFFw/YWX0TXiTx4= X-Google-Smtp-Source: APXvYqzZMxl9XUu+4wI2TEU6DKtu8+YN4KldyOL7LEhTMgEzc2p0HKIJ99f3BAAVcnLarDuhdz17rA== X-Received: by 2002:a5d:474a:: with SMTP id o10mr4654567wrs.157.1559849692149; Thu, 06 Jun 2019 12:34:52 -0700 (PDT) Original-Received: from tosh-laptop ([2a01:e0a:77:5500:198:efdf:4d36:80dc]) by smtp.gmail.com with ESMTPSA id y2sm3042131wrl.4.2019.06.06.12.34.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Jun 2019 12:34:49 -0700 (PDT) Original-Received: by tosh-laptop (sSMTP sendmail emulation); Thu, 06 Jun 2019 22:34:45 +0200 In-Reply-To: <7f7b080e-2747-3775-bf8c-b0ccb35d593e@easy-emacs.de> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::436 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:120786 Archived-At: Hi Andreas, Andreas R=C3=B6hler writes: > Hi, > > Emacs provides jumping to definition of a function or variable, which is= =20 > nice. > > Is there a way to jump to macro definitions too, for example when=20 > realized by ert-deftest? Do you want to jump to the definition of an ert test ? Or to the definition of the macro `ert-deftest' ? Anyway, `find-function' will get you to the definitions of both functions and macros. And, it seems the function `ert-find-test-other-window' will take you to the definition of a test. Hope this help, Bruno > > Thanks, > > Andreas