From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id smyDBKfmj15QNAAA0tVLHw (envelope-from ) for ; Fri, 10 Apr 2020 03:23:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id uH9pDqjmj168IgAAB5/wlQ (envelope-from ) for ; Fri, 10 Apr 2020 03:23:20 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3DE36940DAB for ; Fri, 10 Apr 2020 03:23:18 +0000 (UTC) Received: from localhost ([::1]:58068 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jMkGD-0003Zz-45 for larch@yhetil.org; Thu, 09 Apr 2020 23:23:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46319) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jMkFp-0003Zc-4c for emacs-orgmode@gnu.org; Thu, 09 Apr 2020 23:22:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jMkFn-00015h-Sp for emacs-orgmode@gnu.org; Thu, 09 Apr 2020 23:22:52 -0400 Received: from pb-smtp20.pobox.com ([173.228.157.52]:61039) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jMkFn-00015B-KY for emacs-orgmode@gnu.org; Thu, 09 Apr 2020 23:22:51 -0400 Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id BC562BEB17; Thu, 9 Apr 2020 23:22:49 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version :content-type; s=sasl; bh=ZMuVVN8MIQvHrpGZlMFH5OfWnmc=; b=TVP5+y jOAyvzZs5nL10TB6AP6vKn46XmGm73DEZhYtY7EqmzjlyehGfx56/HNb/5r7Ek8W FYplA3Z0ljsJ9rPbO4w0n/jQ6vVuWMtr6jf0k1S6che2gwfSj4KLd1WMswDiMfTw 7G+FTsFrEsv2IU4xSB/y3ffbr/Yu7ktLMZXjI= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id B4CFEBEB15; Thu, 9 Apr 2020 23:22:49 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:cc:subject:in-reply-to:references:date:message-id:mime-version:content-type; s=mesmtp; bh=j8UbnZ4pex7g0V2O6+Vv2XiAujOnnPC8GFkLO1wjZsM=; b=YSyxB5HXJE2Lys/yYGaYQ5jdziV0jLXtiObYYuck88URKMsVhkoyMwh+YLnAx11gqOqyoGhte11zhI3EUsPunPJdrBz+yR2DtFJ23PNndJ6EYWaZQ6VmZTo2ZWWo6difszHhVDAmRCOjRjsdBVPu+UPzZ/wmoDM/UEiIyadUvlY= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp20.pobox.com (Postfix) with ESMTPSA id 3709EBEB14; Thu, 9 Apr 2020 23:22:47 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: Ihor Radchenko Subject: Re: Bug: org-with-wide-buffer is used in org-refile.el without (require 'org-macs) [9.3.6 (release_9.3.6-441-gba6855 @ /home/yantar92/.emacs.d/straight/build/org/)] In-Reply-To: <878sj74lfp.fsf@localhost> References: <878sj74lfp.fsf@localhost> Date: Fri, 10 Apr 2020 03:22:45 +0000 Message-ID: <87369c2fei.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 8CD4567A-7ADA-11EA-9647-B0405B776F7B-24757444!pb-smtp20.pobox.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 173.228.157.52 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bastien Guerry , emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=default; t=1586488999; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=KlB1IbM8wCPITX5juND/wZz9vgNdjQNC/pfrdF9svPk=; b=l8gjFeNo5MoN1jM+u1rlS3YNvkZRRr1RSSrbdoT/HPwE6yTHQ+uBuw8x44AXauty+219ma ckKaXg613vJUKEq1Vavqyamw54ADLRw0Nrlf4bdzVWvz4Dh7baf1Tc6dM271B+fOdufvuj qcrb/G71WwNuCahUKDpVh4pr+bXtpdM= ARC-Seal: i=1; s=default; d=yhetil.org; t=1586488999; a=rsa-sha256; cv=none; b=lpRQl8hFfcFgC/X6FbXe+kNXKkvM26vFfTH+l7pZztZUFdP8wkIeb2hE9LNiNE44osJdSN M7xmBFUtK2icHWZQggzC94e8d3INaNsw+sSV1kQgkh+EgcZ6jYGv5KrNw+PNdfuntUYKmW 7WFz59Z2NubShHmR6idw6AK2fO73UBE= ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=pobox.com header.s=sasl header.b=TVP5+y j; dkim=fail (rsa verify failed) header.d=kyleam.com header.s=mesmtp header.b=YSyxB5HX; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Scanner: scn0 X-Spam-Score: -0.01 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=pobox.com header.s=sasl header.b=TVP5+y j; dkim=fail (rsa verify failed) header.d=kyleam.com header.s=mesmtp header.b=YSyxB5HX; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Scan-Result: default: False [-0.01 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.58014405314359]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.30), country: US(-0.01), ip: 209.51.188.17(-0.58)]; R_DKIM_REJECT(1.00)[pobox.com:s=sasl,kyleam.com:s=mesmtp]; ARC_SIGNED(0.00)[i=1]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; DKIM_TRACE(0.00)[pobox.com:-,kyleam.com:-]; MAILLIST(-0.20)[mailman]; FREEMAIL_TO(0.00)[gmail.com]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[kyle@kyleam.com,emacs-orgmode-bounces@gnu.org]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[kyleam.com]; HAS_LIST_UNSUB(-0.01)[]; RCVD_COUNT_SEVEN(0.00)[8]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: ZY7rQxEfmYaR Ihor Radchenko writes: > Recently, I ran into a problem compiling org-mode asynchronously with > each .el file being compiled in a separate process (via > native-compile-async). > When I tried to compile org-refile.el in a separate Emacs process > (without compiling all other .el files), there was no way for the > byte-compiler to know that org-with-wide-buffer is a macro. Thanks for the report. Unfortunately, this is fallout from the movement of some org.el components to org-refile.el in f636cf91b (New org-refile.el file with refile definitions, 2020-02-05). > As I understand, normally org-mode compiles synchronously with all the > .el files being byte-compiled in alphabetic order. Then, > (eval-and-compile (require 'org-macs)) from org.el is defined prior > compiling all the org-*.el files, which accidentally allow the org-mode > to be compiled without any issues. There's also a 'make single' target that compiles files separately. My understanding is that ideally its output should be free of warnings. Running that right before the commit above (f636cf91b^), there are a couple of warnings (at least one now resolved). There are a lot after, including the one you mention. There have been at least a couple of threads that bring up related org-refile.el issues: - https://yhetil.org/orgmode/CAFyQvY1VR5t_a=JO01+QWbUQk_9i8+2XG6W2-mg-DpFzjz9seg@mail.gmail.com/ - https://yhetil.org/orgmode/8861c9e9-6c19-ea8f-6a90-7a466782096f@thompsonclan.org/ So, there's a lot we need to fix here :/