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 ms0.migadu.com with LMTPS id tAcKCD74g2FGiQAAgWs5BA (envelope-from ) for ; Thu, 04 Nov 2021 16:11:58 +0100 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 APgYAz74g2G+FgAAB5/wlQ (envelope-from ) for ; Thu, 04 Nov 2021 15:11:58 +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 7F48D5A78 for ; Thu, 4 Nov 2021 16:11:57 +0100 (CET) Received: from localhost ([::1]:59164 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1miePE-0007UN-Ke for larch@yhetil.org; Thu, 04 Nov 2021 11:11:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56196) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mieJB-0006vw-PD for emacs-orgmode@gnu.org; Thu, 04 Nov 2021 11:05:42 -0400 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]:37380) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mieJ2-0000wp-6v for emacs-orgmode@gnu.org; Thu, 04 Nov 2021 11:05:37 -0400 Received: by mail-pl1-x62c.google.com with SMTP id n8so7681772plf.4 for ; Thu, 04 Nov 2021 08:05:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=+R0Ft/eIyzmLfHIC7WMOmqGyTSJV9FQ7qalO7CPyBnk=; b=BMDuIQhkuni0VzOIYQhG6t/FVsIsXrc+RW5kK5zDi0kQiOmIR7nkXOPqpok1Av59UN YZtN1gOVbQRgOK8po4L1zqkmoHSO+dTqyWKBngtWhX6WjzmC9WqojL3gbZJaH/Ay11SL h3pmZBOltMPaanBNHEWcd9B9ImQ3n6zLJwxOEKOsm2gbiJMF2lVwqOZCsbub+XUv6XDk xqo+Yxw2yZEpKWE79P9T6GSWKaBXTgppMdXJIBrRJJ+pJyn0TyTc/mMj0YNfvhmeIeGa viHNcDBs7aNvXjt0UPNy8hA685i7372lzGE6B9rEjvwEZ58qsb2IxoVEpC5Ki2SRiEfI gvfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=+R0Ft/eIyzmLfHIC7WMOmqGyTSJV9FQ7qalO7CPyBnk=; b=stb29+ZMyRBkler72/LF0yvpgAXJgjrgAGsNBeeMzq3vT0cFNvvDd8vmuNu7t4xLU1 JMfWcLF300DKhjg5XFLIHI2dPO35fCP7sszeyRrL4w33e9u3EbbjufOR+pce/yQSlksj R8Uihnb44yvPJAGt9sdD+tPj+ygkq45ONaBAOtpErSYz19ZYFB4/PH0CFMrP6hdQCw1C esNedRVQ04dvpxp1Fw1ZzgwSuYm4KqIBFgAi9MyeDlsMZ3Z7lmo1o9Vx8cY0hBzYZqLQ 7oB2X8CVq1UhTMsv5ekmaEpFd8PSAeIZH5synD7mOGgEkkcGOPBKS2JpzCTA7x7b2j21 7G0w== X-Gm-Message-State: AOAM532boRFFhlYZ49SDu6pwqBsD2fBiOi+u7DFJ6Z47LQ53w/gAPhtk y5FQczss1p/O/0Yx7Dv/y58= X-Google-Smtp-Source: ABdhPJyieYRvR/nswer3QHHe8rRKdBKODWvj/xopvgrK0Q4OeKm5Qujdzm5aiRnqsjG1/tQXLKVSvQ== X-Received: by 2002:a17:90a:6583:: with SMTP id k3mr23333177pjj.147.1636038330679; Thu, 04 Nov 2021 08:05:30 -0700 (PDT) Received: from localhost ([103.125.234.111]) by smtp.gmail.com with ESMTPSA id x14sm4288216pjl.27.2021.11.04.08.05.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Nov 2021 08:05:29 -0700 (PDT) From: Ihor Radchenko To: sebastien.miquel@posteo.eu Subject: Re: [BUG] org-element-at-point returns wrong element In-Reply-To: <01bc6137-200d-8e2d-fdd7-6aad8382c619@posteo.eu> References: <01bc6137-200d-8e2d-fdd7-6aad8382c619@posteo.eu> Date: Thu, 04 Nov 2021 23:06:56 +0800 Message-ID: <877ddoj6y7.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::62c; envelope-from=yantar92@gmail.com; helo=mail-pl1-x62c.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: , Cc: emacs-orgmode 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=1636038717; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=+R0Ft/eIyzmLfHIC7WMOmqGyTSJV9FQ7qalO7CPyBnk=; b=Gh54vUbYN6OpFrXBBoGrtE2Lz4CEXFmJ4QrGDKe1PeQjkGnJrFfC7i6QXYIMkRPy/ED9m7 xurXmQ5V7HDFozYdHzbK3tIVmVj1dkqe/gNEFJgW2qzAT++nON0kSBVqjWk+v03CjVoz93 fIWttkyUhJkxML4VC3iPgxYQ/NCvQKwCL0Mq8TKCiWXC+nEWFQCuXbd1uKmzOooq2GsJPd 6+5e/c7H1YERbYTSbgDzNuAeJ2uipZz9lGnoHnXqcREshYmwBDdVJQU+NN4QmHTFbnZlut npF0iRp24XlqNZKnTBxR00h6NRRQKDaG8qpwlUY7AWLc8jT59MQFFwLvCWP2Mw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636038717; a=rsa-sha256; cv=none; b=oyarNW/OYqg6hzeWv6Fbyb5MerMIBElxa0ysbA8cQWRkEqiDiVz5KbjEJnHaCQX/7ZhCYV RThCe5PEUj58uRuelkVOrX3fr9Ol1jpMmxtHakBmNe54isTpML8zZb9HPa8M1rqvHH+HpX 67J+cciNgL0c7YD8s8xaFKlYZS8YkTs+VQxO/mStDgI58y+oTGhLuiWzELTefHTRlx75LC KIrfgJPKpx1HOvIfWqoIY3ypSfA8mMPl3Y6LY+4Qa7BhBCdKQPJoDKdKQmNHg2H3Cd7PPY MKSOFObbAuu3y+G+L9ZQzfUEyg9cKAMwIrj1ZIdHLqZPAicYdR7uZ7aDQqVknw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=BMDuIQhk; dmarc=pass (policy=none) header.from=gmail.com; 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: -1.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=BMDuIQhk; dmarc=pass (policy=none) header.from=gmail.com; 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: 7F48D5A78 X-Spam-Score: -1.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: OLopewNAC98Z S=C3=A9bastien Miquel writes: > Hi, > > With point at the bol of the empty line after the keyword and before > the heading at the end of this mail, =3Dorg-element-at-point=3D returns > the headline element. It used to (a month ago, before all the caching) > return the keyword. Thanks for reporting! Fixed on latest main. Best, Ihor