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 4I/2OY/oGmTfSQAASxT56A (envelope-from ) for ; Wed, 22 Mar 2023 12:37:52 +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 KPX+OI/oGmTNPwEAG6o9tA (envelope-from ) for ; Wed, 22 Mar 2023 12:37:51 +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 8AD3213AD3 for ; Wed, 22 Mar 2023 12:37:50 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pewm1-0007vF-8G; Wed, 22 Mar 2023 07:36:57 -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 1pewlz-0007v1-PX for emacs-orgmode@gnu.org; Wed, 22 Mar 2023 07:36:55 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pewlx-0000Lu-IA for emacs-orgmode@gnu.org; Wed, 22 Mar 2023 07:36:55 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 8C961240698 for ; Wed, 22 Mar 2023 12:36:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1679485011; bh=f3s3sUAQFrgwBrDdUqV+bcCru/CyLfZSV7hG7XA4V2o=; h=From:To:Cc:Subject:Date:From; b=e/IrtJ7Mr4aSuUCdsod5LP+3jw/lNk0mtMuQ3Log0h7ZJczkkhSkKP+9ZAlF1IcNI dlIB3sXNdFB9oWrjm3J3Wv3z+dTECXWMhKwi2ZjUiqZLHulBW2b5DdNF6+A3seQQyM 50gGBFndcv9yAgBYkvgnkFOuMYuwcW0UuuJm2R67JIFzxF0LerFtbDvNuY3bW5JsiG Kf4u+NtO8wJb4EenIU5TKWuQj1k7C3EU2M+/4D+ItrOZP14cQOOp1lpH5h7Lf7kLyf l0mcqzFME+ymIMCE4ThlbHeY53Wnw9crFW7Tmey3Yt/sS2JzC5vzYJqKSRJ7hXXR/+ yQJMzX6alWQWQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PhRJc3XDLz6tmc; Wed, 22 Mar 2023 12:36:48 +0100 (CET) From: Ihor Radchenko To: stardiviner Cc: Org-mode Subject: Re: [BUG] org-capture got file userlock error when I capture on second time. In-Reply-To: References: Date: Wed, 22 Mar 2023 11:38:51 +0000 Message-ID: <87y1npnhh0.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679485070; a=rsa-sha256; cv=none; b=TMuuf+X3MpYIKeuLkMWDaCPlOtqtKdhusa7DEJRzOub+0nSXlJd4HXTHi7i+5RfCig+x+X oyi+ho6tlW7HRGNFxKyHse0aA/sxX7sSKHfFkVWhRuhUV1s8ZQ/KanHkf0guFVqFj2Sk22 RPFX5S+A3GoFnE/KNTH+irz3blH1zeRgL1sqIYXgvCjTnlKp7NpHNsPOgDriz6rexqKQbP aqJ8XCOgjM6KX6Y6fVQhlMpZ75AHibva2f/Sir4AsNjHOSwvMfFo1fMZ6rlmvbNcjVgDT5 Mn6jadlUUy3CMmR6vzUNLrOG4PcCrnNQsPJ25Etz1BskHFnUT+uEhAA8JqQibQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="e/IrtJ7M"; 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=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679485070; 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=lDm8EeYS7LNNKTif9pzKJUHoXTznzZgXF9zfxUb1dSs=; b=dbBHRKToyEVTmhRu3HpekJwDxIu9IX+3c0i3ZPs+uabRyffckG6/VSPZyXt0HA0gH2yvFy lI17hpNSnkdF6oWOTN0jT+hR2TEhQZ9C05+p3ippQs1TzV2YxK0M0n+OseGTr4NeKyRVab bxSf9PKsQtT9poKTFeKKQH3fPA9UvhqQSPEdk0mLDMOn0jlsvTKA82lsVitcrX8fObCTz5 ompk6e5LdGYtYryYm4jvaAtUBxegy3GYfVR1Nnbg6SvSezQLxRoNX9quanqTnE1joF7Kis J6Kvxb0GVVf0C1PznN3AdgbO9dHLwIWy/mFtkc3fVq5I3X+NjuuI8Xac0jsqDQ== X-Migadu-Spam-Score: -4.77 X-Spam-Score: -4.77 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="e/IrtJ7M"; 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=pass (policy=none) header.from=posteo.net X-Migadu-Queue-Id: 8AD3213AD3 X-Migadu-Scanner: scn1.migadu.com X-TUID: ZZ9PxR4OImsI 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. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at