From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id UOJbK14Q/GWaAgEAe85BDQ:P1 (envelope-from ) for ; Thu, 21 Mar 2024 11:47:58 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id UOJbK14Q/GWaAgEAe85BDQ (envelope-from ) for ; Thu, 21 Mar 2024 11:47:58 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=onLP8ox5; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1711018078; 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=ZK21jBIwSNOwBuTrA8ClqeNzTNyDQGoz+C3EEsC8fCo=; b=sMmuLXfhY5RK4uksmfBiDdB2hh1TS6qDqREaubIuRBKgsfnZCBnCw8//Zw5I5cwj8k+OiA g4LUkwzrZcpf8pGFhY6TpVF7V8B033UpTPvjd8HxBDjNmk2aQdrDd5RSj3LbfP8eyifISQ 90JtP+uvUmfLPyP4pF8n5YSGmsBUbX0b047C6o0l58+1jgP6oeUNwrmECBiOBfbGvbhsEu ahVQlnPDEXaeJYhNjBGesaCH2+4WOz5OOrE6V4ZJt6zB+8ApPGmo+iQKZp9CZgarTkhi/1 eczWknj397Tt7k5uo9XCsEpQKIo0qwDy8mgrsUfhfgEIus02Be7AOcqfk6Xc2g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=onLP8ox5; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1711018078; a=rsa-sha256; cv=none; b=FXMTIaZ5o5DBLTJTSWqOEJOonL8EsOFJik/9NiFQNnl/Hrhp23a1s1hBYsfhwQ3Mim2nwf 6tihmOzKGY9gooQENYj7OC0WfPyVGIQ5aA/4vSlcEU0GqVwlFa1T/RePbif9RuavBXYYWi md4G049HP1zcnVzvFRanB0+l/OKSCULUQWUvBxAIlPOYYpxHSVi8/pI6+6HNBPgtPCI3Fv bJEzEWmJo0b6Wob41fgKTK63cLbkZwYaY182/n21VR+J7XAsSTCvG6w4r/4dSiiqMAQkQj BC647elA7WTyTwvBRIJp3uM4vXxCc2tY9YXV3ebgTJeHFgom2LJl+S+1cUlEnQ== 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 7ECA81431A for ; Thu, 21 Mar 2024 11:47:58 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rnFwz-0000eW-DM; Thu, 21 Mar 2024 06:47:09 -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 1rnFwx-0000cM-9n for emacs-orgmode@gnu.org; Thu, 21 Mar 2024 06:47:07 -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 1rnFwu-00074f-W3 for emacs-orgmode@gnu.org; Thu, 21 Mar 2024 06:47:07 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id E0E94240104 for ; Thu, 21 Mar 2024 11:47:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1711018022; bh=0iSlmNFKbrFMaUft9gBa7a5ob931e9uWajsLAMrWRP4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=onLP8ox5/nvnZoY9U7R+2vr9YxL7iQcRrwYlFmclMWu9ViUv83fAqUq6gmpSn+wtG fhGFlqNVPW/L3A+c9hI/BYImIh/VcLOW+0Sb3bR6AlscFir20X6ce6VLTfQ9mKaiGp JxM0GPBWVZX1LwWVSOrczrKQgzvtbJgIoGy3dNeLHqdswQn2y7QxzmEV0SeD9hmJQZ fjQqX9ppbkUIhVuHM+mAfRUshNzJsV83bXbTJvushkTqScBzufNLddhbbZAToelAhX xqkIxV2edoZShqnYIx2YDttYacSOgWh9oON7YRnPTfFhBXtp/Cz1dEfmJLACDQpr2x gAjCZlfRyfSRA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4V0hwk1NrMz9rxT; Thu, 21 Mar 2024 11:47:01 +0100 (CET) From: Ihor Radchenko To: c.buhtz@posteo.jp Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] Improve error message "org-back-to-heading: Before first headline at position 1" [9.6.8 (release_9.6.8-3-g21171d @/usr/local/share/emacs/29.1.50/lisp/org/)] In-Reply-To: <42ff53fab31e974839d55609a2672a0d@posteo.de> References: <183442a86474942714ec2a8476f49a51@posteo.de> <87o7b7oqc9.fsf@localhost> <42ff53fab31e974839d55609a2672a0d@posteo.de> Date: Thu, 21 Mar 2024 10:46:59 +0000 Message-ID: <87le6boo9o.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_H4=0.001, RCVD_IN_MSPIKE_WL=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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -8.58 X-Spam-Score: -8.58 X-Migadu-Queue-Id: 7ECA81431A X-Migadu-Scanner: mx12.migadu.com X-TUID: mN/1bCrbUTdE c.buhtz@posteo.jp writes: >> I believe that this problem have been fixed on main. > > Do you mean the message was improved or the message do not appear > anymore? Can you link please to the sources file where I can see the > message. Let's see if I understand it. :D The error message should not appear anymore when you try to attach a file before first heading. >> If not, please provide more details on how to trigger the error. > > That is the simple example: > > :PROPERTIES: > :ID: a7f2b708-d2f9-41d5-a263-d82540b10b23 > :END: > #+title: test2 > #+date: [2024-03-10 16:42] > Paragraph > > After writing my first message I learned that there need to be a heading > that files are attached, too. I don't understand why. So I assume the > reason for the error message was that there is no heading in that org > file? Are you saying that the above example will trigger an error on the latest main when you try to attach a file? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at