From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id yArKFwTTG2T6TQAASxT56A (envelope-from ) for ; Thu, 23 Mar 2023 05:18:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 8I3AFgTTG2RcOwAAG6o9tA (envelope-from ) for ; Thu, 23 Mar 2023 05:18:12 +0100 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 E075812BC6 for ; Thu, 23 Mar 2023 05:18:11 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679545092; h=from:from:sender:sender:reply-to: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; bh=+tveeGWK4e39WGLObAaZCIwh9JjFwCHiD11AutbwXjk=; b=fwtaYwjzZNNT3ia2bGBDgCZhk0W0x2m1GVtoBBRn9mRnMHQXAf4GUmTVFRFjZaDGO/4oPR 3hYYmb5qgx+a5oHHCZK/Hq85X3X6kfJz9+5BzyCVhp1hroefT69FdYu0OmvKhpOER5U8Xf bIfqMWiTuQTD6MysPKlU1sDxtuyGsJX5LTTK5zCb3wdUhwwCSSrCFxLKi8I8kun2CrkWQK q7p3bjH2FIcJMit8wpkbhMXgMI4ql8noA0ORxoa0uEQRPAI474TujVNxiGan25ytFexm+f W8IA5G1fdn/vxzC/QomSAQjg7/5wJ8KFxbTyPeUI1v8SZSxYRQUTlPKeXZ5/CA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679545092; a=rsa-sha256; cv=none; b=CUCKSlpC6hwB4y8eSJJBePsw5OfIAQKFrZfo+xdzUXBEYA4F6eSOj42rI7h7NMYCp6Dvsi eHYAjpeUPfmv5U4OSWgIGwrV0PKJpvIstRTjJZ709D/kH3WDUjBM4WeJMCyiyzUk2xPWSI MmKfKkmtt65PVahUSkyIldIx4s3IzCgt4Sg457mWZIxP5pTg7e7P/krIMQgXoFxFk2Aaf4 JyG6gugHOuvdxs0B4CTZyj37lfPh+BXpaMPcJgrKXKSe9iUe6IYfUx5ksKBkyCAPicvkg3 qb5Q77v5Nhk5uEIpzVkNWXdSUy7dMlr7VSfv/mOK3zEL4tZtKhJFwq1XEnUR8g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pfCNt-0003wi-5l; Thu, 23 Mar 2023 00:17:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pfCNs-0003wZ-DQ for emacs-orgmode@gnu.org; Thu, 23 Mar 2023 00:17:04 -0400 Received: from [39.171.215.161] (helo=Mac-mini.local) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pfCNo-000758-CX for emacs-orgmode@gnu.org; Thu, 23 Mar 2023 00:17:04 -0400 Received: by Mac-mini.local (Postfix, from userid 501) id 1D85E8276A9D; Thu, 23 Mar 2023 12:16:40 +0800 (CST) References: <87y1npnhh0.fsf@localhost> User-agent: mu4e 1.8.14; emacs 30.0.50 From: "Christopher M. Miles" To: Ihor Radchenko Cc: stardiviner , Org-mode Subject: [CANCELED] Re: [BUG] org-capture got file userlock error when I capture on second time. Date: Thu, 23 Mar 2023 12:07:00 +0800 In-reply-to: <87y1npnhh0.fsf@localhost> Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Host-Lookup-Failed: Reverse DNS lookup failed for 39.171.215.161 (deferred) Received-SPF: softfail client-ip=39.171.215.161; envelope-from=numbchild@gmail.com; helo=Mac-mini.local X-Spam_score_int: 58 X-Spam_score: 5.8 X-Spam_bar: +++++ X-Spam_report: (5.8 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FROM=0.001, MSGID_MULTIPLE_AT=1, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_PBL=3.335, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, SPOOFED_FREEMAIL_NO_RDNS=0.001 autolearn=no autolearn_force=no X-Spam_action: reject X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: X-Migadu-Queue-Id: E075812BC6 X-Spam-Score: -2.55 X-Migadu-Spam-Score: -2.55 X-Migadu-Scanner: scn0.migadu.com List-Subscribe: , Reply-To: numbchild@gmail.com Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: 085Z/boOBoQY --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Ihor Radchenko writes: > stardiviner writes: > >> When I org-capture from elfeed-entry buffer (I defined custom functions = to >> extract elfeed entry buffer content) in the second time and later, the >> bellowing error raised up. The first-time capture is fine. >> >> Here is the error backtrace: >> #+begin_example >> Debugger entered--Lisp error: (wrong-type-argument stringp nil) >> expand-file-name(nil) >> userlock--check-content-unchanged("~/Org/Tasks/Tasks.org") > > This looks like some interaction between Org setting `buffer-file-name' > to nil in *Capture* buffer and Emacs' file locking machinery. Maybe. > Maybe Emacs bug. I have no better ideas. > > I also see nothing wrong we do on Org side. First, Ihor, I need to thank you. With your hints. I try to figure out what things might get involved between Org setting `buffer-file-name' and *Capture* buffer. 1. I try to set `org-capture-mode-hook`, `org-mode-hook' etc to nil. 2. Use bug-hunter to bisect my emacs config, the first start, the problem does not occurred, this is weird, even I tried many times. 3. Then I use comment to bisect my init.el, try to figure out the reason. Still not found. And the problem not occurred. 4. I start Emacs again with original config. Now the problem gone. I restart Emacs many times, problem still not occurred. Weird. =2D-=20 [ stardiviner ] I try to make every word tell the meaning that I want to express without mi= sunderstanding. Blog: https://stardiviner.github.io/ IRC(libera.chat, freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAmQb0qgACgkQG13xyVro msOx4Af6A48VkqRYRmxmTPHS7Dl9qjBSVbRBoQjOnfYIAlugRybjYPKsoLh1P6Gn loE0lzqcGR53MtixoOAtbQkR2RxU9Z7Kx8BpuUcRmm+v8is6Hi4DgYerb+IybZim atVKPSPq29m4+gH+oTKjKsCL+LJ89r+OFmWpL/A7oBY/TojuYGhAkDgrzLbMT33k Sph3WPq0qNltUHi0la/QmknNPANEZjKr8j33nBRqAG8OzYJNU061aj0CnzNWzQ9H f4uu7r9cPy522EhUaLwei1wEl6OCe81rGrGWrU1X+yEVOU8/QZX5b/ioyOS8FUhD sQkTqGXB3OnDMgcPxHaFa6dZDjlLaA== =3Drd -----END PGP SIGNATURE----- --=-=-=--