From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mKRxBn74gmHUWQEAgWs5BA (envelope-from ) for ; Wed, 03 Nov 2021 22:00:46 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id QEgCAn74gmEDaAAAbx9fmQ (envelope-from ) for ; Wed, 03 Nov 2021 21:00:46 +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 03E5324D68 for ; Wed, 3 Nov 2021 22:00:45 +0100 (CET) Received: from localhost ([::1]:57966 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1miNNE-0001tV-2d for larch@yhetil.org; Wed, 03 Nov 2021 17:00:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38918) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miNMD-0001tN-MD for emacs-orgmode@gnu.org; Wed, 03 Nov 2021 16:59:41 -0400 Received: from mout02.posteo.de ([185.67.36.66]:39763) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miNMB-0000FJ-O6 for emacs-orgmode@gnu.org; Wed, 03 Nov 2021 16:59:41 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 5770B240103 for ; Wed, 3 Nov 2021 21:59:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.eu; s=2017; t=1635973175; bh=61acOBJ7ZUUBB5r+GzkiRWAQsvs4b3zSkcv7H2oe2A8=; h=Date:To:From:Subject:From; b=BqvyxeQmvx+IoGJKxqPn0qquYIrRwQkcrkN6Pbp0VQmZ5DrJmlGTyZUBHDZBYynwg 8BRJ7T/1Z6VBZEBrFsmpGjEQbPw86i2xigghKUZJuBGGPA+WvAHOFG8JgwN+R18YYK teEwx+aZLjICHkqeN7tnlwP3WR/ZXirnOGPPQYorZw36utk0A3zVS/7YI/33MP4hSy exXdnW+s4m4RBqGcPoisdT8ZacEvWqrpgo55uhojwjSkdv2RlHkkIUKvQRY0s45rPp VBBuWs5WqDAJvjd5YjnsvRSPyxapzLx1USBiXmYrs4RomZvrU98fVULj1OCPwfweHT d8x40qlCmtGtw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HkzfZ5QtTz9rxV for ; Wed, 3 Nov 2021 21:59:34 +0100 (CET) Message-ID: <01bc6137-200d-8e2d-fdd7-6aad8382c619@posteo.eu> Date: Wed, 3 Nov 2021 20:59:33 +0000 MIME-Version: 1.0 Content-Language: fr To: emacs-orgmode From: =?UTF-8?Q?S=c3=a9bastien_Miquel?= Subject: [BUG] org-element-at-point returns wrong element Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=sebastien.miquel@posteo.eu; 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: , Reply-To: sebastien.miquel@posteo.eu Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635973245; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=GEDr0o1EXxJqBR46SdtdbrzYB0xQ8Z4lM6m7h0X48KE=; b=eN1Me3urUCG/dugZGhrKpGYT1Hxa+Vg2Fo7aBs+2x3nSaPhqbQNyHakJXFdeJnqAo8QyVJ AbvdGAAeeGnODmZOpdG+nhg3hRbqnPrUaYKMfiwflbOo8PP2HP7A7jprZq005PaRKN51bk j+4OePfk1D7V5k80w6iHA2pRrY8YPvYYEyckA+yJBiCiJIDr6UbgvmcN3RCsvl6lvA/cMy 861Xg399Otax10gvbjjh8xJcjoKOrVUd24RBl/vKpgGNIVuLmRzhZZIDgHB9HnxI/aVPMN ppHbuWBYJqA/zzEK7MNPrPUWHMUwv7PGRb43ZYOCU9G0GUxYAMfa8WAqN3SgBg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635973245; a=rsa-sha256; cv=none; b=b3afWCg2Qv7vKdNiZ6Wt0SAO5uZRJr2h6PSkzOfBTCwYn/vHFluV7KE/DbV8a6e1f809w5 GHKB28jJ2PPefjONEGbMuKJijld5zHBcfTcoyMD49mh+IWnaXBphGJpZgv/Weqmnf5xMc9 Q7upTjg05Y0Hmc0RSI4kEj2GC0sBlX/CYcjGXR+LtLgE3T9QdWBykX+7CwRW2XUfbEL2xT C6tPXSbsrSMcv/39hhsPUMeB6c5/Ca9yO4gi5toSmemcY42TMhSO5y0qNn0Y2LtlVUzLmT 41i0xe3Gt0Hp5pMtbHAmmgtevElthRG6wl+AqrEneQcAYibB4DfukhULpTjoZA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.eu header.s=2017 header.b=BqvyxeQm; dmarc=pass (policy=none) header.from=posteo.eu; 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-Migadu-Spam-Score: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.eu header.s=2017 header.b=BqvyxeQm; dmarc=pass (policy=none) header.from=posteo.eu; 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-Migadu-Queue-Id: 03E5324D68 X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: V6VcHqjGf8AQ Hi, With point at the bol of the empty line after the keyword and before the heading at the end of this mail, =org-element-at-point= returns the headline element. It used to (a month ago, before all the caching) return the keyword. This breaks =org-element-context= which errors out when called from the same point. Regards, #+LATEX_CLASS: my-class * Head1 * Head2 -- Sébastien Miquel