From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#40126: Acknowledgement (28.0.50; [feature/native-comp] + Org 9.3.6 org-with-wide-buffer macro is wrongly treated as function) Date: Tue, 07 Apr 2020 15:44:47 +0800 Message-ID: <87d08j4u4w.fsf@localhost> References: <87blot2yb4.fsf@localhost> <87zhbrtzzs.fsf@localhost> <87wo6vtu74.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="127785"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 40126@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 07 09:49:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jLiys-000X9f-Vw for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Apr 2020 09:49:10 +0200 Original-Received: from localhost ([::1]:42718 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLiyr-0005r7-W1 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Apr 2020 03:49:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44663) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLiyk-0005ql-Ko for bug-gnu-emacs@gnu.org; Tue, 07 Apr 2020 03:49:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jLiyj-0003lP-MS for bug-gnu-emacs@gnu.org; Tue, 07 Apr 2020 03:49:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37962) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jLiyj-0003ku-JB for bug-gnu-emacs@gnu.org; Tue, 07 Apr 2020 03:49:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jLiyj-0004Ni-Ht for bug-gnu-emacs@gnu.org; Tue, 07 Apr 2020 03:49:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Apr 2020 07:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40126 X-GNU-PR-Package: emacs Original-Received: via spool by 40126-submit@debbugs.gnu.org id=B40126.158624571716763 (code B ref 40126); Tue, 07 Apr 2020 07:49:01 +0000 Original-Received: (at 40126) by debbugs.gnu.org; 7 Apr 2020 07:48:37 +0000 Original-Received: from localhost ([127.0.0.1]:49508 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLiyK-0004MI-Ro for submit@debbugs.gnu.org; Tue, 07 Apr 2020 03:48:37 -0400 Original-Received: from mail-pg1-f176.google.com ([209.85.215.176]:41450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLiyI-0004Lp-Vu for 40126@debbugs.gnu.org; Tue, 07 Apr 2020 03:48:35 -0400 Original-Received: by mail-pg1-f176.google.com with SMTP id m13so1315968pgd.8 for <40126@debbugs.gnu.org>; Tue, 07 Apr 2020 00:48:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=ihFPIM8t6jLPjOqXspsrdv0NsM1i1AeqHaeqw0lF6U4=; b=op6CNNgnDT5fN0YgDQlHx3xnwFGZNz0RLvJLJgjb1seAcvbBxXSKTuM1jXcLBy+jgD zPFvy6X52n3ohK7jqsYGfONQhV15fc77FWqfHE/xICyGdQ1gOBRD/MKGun/+yW6aWVTO x+3GkHSdv9ss+ShbL4o4I5wqkzYYKlhr/MedwvitrNH8cDyoo+EtEW6E5sccmm7YpzWn ei40vg0gx+HpyTvEOpvoWHcTJBGXtBAFQwR/aiiJanvCj2i45drs/54tK6rglqntVzN0 StDtV21oqQxfURl3s/sCU18tjcdkfpTB+F3WhohqWtysybJkkWKlS3DIlPVN91jQtR+i BPTg== 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:in-reply-to:references:date :message-id:mime-version; bh=ihFPIM8t6jLPjOqXspsrdv0NsM1i1AeqHaeqw0lF6U4=; b=bq0gvll5N3gw+RPw+E7cbQ1TPiPaEcBfrAqTOO2Kwz6nYS27dFkxeDSuUd03YEV83I TgelgbmOmaAxinJA5oNnnj7LDMyoVahalHQXRzHjSiSCARv9aEZCQgwQXahpgSB44+6S 15jP/oF50073Ev2xZM90QoXFSwtn23M67yjlh9OnnXS+AY4d53U2NC4BiG5Un5BPEXrt gKmqDbcKhQxuF2E3B2+ItsARG3ODdVz+9I9yRcgQRzq00VXAs+1+ExIsjDdsXdPt2M1y N1D4HdRXniIrncWxsLXg6/Od5xw46POGrB12UpM/9iFgXv7oUAHW8UFMXNA9pari0XUF pwuA== X-Gm-Message-State: AGi0PuboTedIB2L0C1dJnbXRLgjzjINyddyTDhtCuYJ1koNK2lN2SXVc KlVzDm4+lLWjhjpyNW0YGJ4= X-Google-Smtp-Source: APiQypLlutjlsNnUgrEhoYzr+fdBokvdrMqn4jSkDmwLqZ0O/ruUEGHWrcI10Ax6tcULCU7Wz3VAjw== X-Received: by 2002:a62:1741:: with SMTP id 62mr56502pfx.296.1586245708976; Tue, 07 Apr 2020 00:48:28 -0700 (PDT) Original-Received: from localhost ([101.99.64.65]) by smtp.gmail.com with ESMTPSA id l23sm867026pjy.22.2020.04.07.00.48.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Apr 2020 00:48:28 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:178113 Archived-At: Hi Andrea, I am not really familiar with compilation in Emacs, so correct me if I misunderstand something. I have looked through org package files and fount the following line in org.el: (eval-and-compile (require 'org-macs)) I suspect that it supposed to be responsible for loading the macro definitions (including org-with-wide-buffer) during byte-compilation. I guess that org expects org.el to be compiled before other org files and thus all the macro definitions should be loaded during the compilation. Not sure if this expectation supposed to be valid. Best, Ihor Andrea Corallo writes: > Hi Ihor, > > To me it looks the issue is in the code. > > `org-with-wide-buffer' is defined in org-macs.el but I see no requires > in that file. > > Also in org-macs.el I see that `org-with-wide-buffer' is referenced the > before its definition. AFAIU this should be not correct (at least in > CL). > > It's quite late but... am I wrong? > > Bests > > Andrea > > -- > akrl@sdf.org -- Ihor Radchenko, PhD, Center for Advancing Materials Performance from the Nanoscale (CAMP-nano) State Key Laboratory for Mechanical Behavior of Materials, Xi'an Jiaotong University, Xi'an, China Email: yantar92@gmail.com, ihor_radchenko@alumni.sutd.edu.sg