From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id IAV0B40fl2WzwQAAkFu2QA (envelope-from ) for ; Thu, 04 Jan 2024 22:13:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id EKBIAo0fl2UxgQAA62LTzQ (envelope-from ) for ; Thu, 04 Jan 2024 22:13:49 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=Qdkao+n6; 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=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704402829; h=from:from:sender:sender: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=jLp8Odw9t3pWGrVxWGV0kqz+c3VT3s2+Ih2WDWJY+/c=; b=Obg7gwM1q62Qq4h9siNiBwaxA41IdJsEHdw2pMhjipfRI/CrhKXP60KNQUjxCJ2eUHILF2 /A+/13trzY8AaHY1S82qr81OGa8NFb7E3r8e4Mhergo2Bqk92CkxkI3Qluu/L+V7Ap6wRd vZrLa8rYuyXWZr6BX5glzRXVzPexXt8gtKFtjyrT2IzpZ+v6niUIFeOqsCITlG5MCKmz+J nzLNmZTk1SX5FQkzMQhakI0fW7RfMxHb/x8HvS+ClHcxr9UAEJTFYWW7BhR5nnMATlTcYi HjbJsmuwcJFGEo0lbxmYeBNOdNWii8EDWV/X5x7XR+yXrFAumA4+pdcJGNwdBg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704402829; a=rsa-sha256; cv=none; b=fLPzTOlXZcmFTzH+3DrJpuBe63GALMnmuipDoVQwzv4jlheKV9JXSXdZOTeaHhbaQJiiRm X9DYeTrcLnx5r5Hl/A3i47AexUi+m04FA8+U5rwl2nkh7vCgzPpjEkFW9Tdy0uFfGu4eFK FNPUoDHPKt0X88YHPw/WsVV1xeWd5JMacE9DTtgTGqA4O0p5F6QvWBhKWYH4ccB2IXo5dm V2aTe1QTWX2G5G4QHi5ReWC1mN6wAN4bAWriRzZnc0hbumTw9iu2KNKW0NMQvVlaoog4NJ eMjTfUdptErDD6CtOL3XwZyrGTcfAawywL0eg+nxG1ymMY+IxdnOvt9WMEmvIw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=Qdkao+n6; 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=gmail.com 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 A6C3242D63 for ; Thu, 4 Jan 2024 22:13:48 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rLV16-0004p3-5R; Thu, 04 Jan 2024 16:12:40 -0500 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 1rLUex-0003k1-8q for emacs-orgmode@gnu.org; Thu, 04 Jan 2024 15:49:47 -0500 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rLUev-0008KO-Bh for emacs-orgmode@gnu.org; Thu, 04 Jan 2024 15:49:47 -0500 Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-1d3f29fea66so6309355ad.3 for ; Thu, 04 Jan 2024 12:49:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704401383; x=1705006183; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:user-agent:from:to:cc:subject:date:message-id:reply-to; bh=jLp8Odw9t3pWGrVxWGV0kqz+c3VT3s2+Ih2WDWJY+/c=; b=Qdkao+n6rTOo68rLeAv6vUcKeRPYJDWh+qOrBSR6rhoO53qXjzMIAWdlp/ib+q8XMi SPbEJ/dEKJBwBvy9t13JoMzNcN87+/N6cE7IXBwfVTEdZcvDwLE7aNWCaIdRYxLKfL2B K723NBtsifhCw+v+z4JS+V7kguiXdZGMgWMHN8Gs+CTkqd5XDZX42vKeLmpIocZr2U04 C1khGgEBcpWloj4qwkJ2B1H5rKclP95dM/S8huB42cbMJca47CUDATHxEz50xoItHuCl SsqPHsAl7ePgFSVdQIcVEN9bDNFi8kUErEJ2UotoDS6NPGpgkWk5Fa2MMcWWh0MqmcDy APkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704401383; x=1705006183; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:user-agent:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=jLp8Odw9t3pWGrVxWGV0kqz+c3VT3s2+Ih2WDWJY+/c=; b=S6SnIgbYn/4DxOqgwf+QWiX+VJRp1wH94/wMPf0IcPRzkTKeNGuEGgpQBB5X8h21/S 2W2l6vQE96noU4Kj/LCckdzIEC4BKxX0XCDJ/BH/iQH1paCdPZm+/nnpeMb9dVpbGTX6 bVMVPYHPvd8TN119/S+pHWGEpg+zkahZ0sUl5so7qg4ms9AVhlsDutQDnLBUHQ2Af/wK fyhoa8oqhBAUWji2cWBanOsa+ACh5j/zUz2tFpWiXCN0PGqBDYvYtjfhbLx5Piat04aC TBd9X5dZCayi5IkGLNU0tzoamL4ZHPGJPOyF8LGfMqw8O7dlvstmdptFgkoFg5eNS4Km 4vag== X-Gm-Message-State: AOJu0Yz6kAYx6jId93RiXlnZxwBEKexGxiqq4+NgyCbsaK/IsBJTAotc 3gtxP2LLJlrVvztIo/Q7DrRAwKtE1ag= X-Google-Smtp-Source: AGHT+IHCF5l8FP6xZ7tZ2XQLoRh1kPS7oQhc30utBVwt6z0Unq4j5VZ9D/S118GWtRcgnpF1GqOZvQ== X-Received: by 2002:a17:903:2310:b0:1d4:5a7d:21e4 with SMTP id d16-20020a170903231000b001d45a7d21e4mr1390432plh.6.1704401383330; Thu, 04 Jan 2024 12:49:43 -0800 (PST) Received: from localhost ([2001:569:5083:f900:633:c2ff:fe19:db42]) by smtp.gmail.com with ESMTPSA id y17-20020a170902b49100b001cf511aa772sm33913plr.145.2024.01.04.12.49.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 12:49:42 -0800 (PST) User-agent: mu4e 1.10.8; emacs 29.1 From: Marie-Helene Burle To: emacs-orgmode@gnu.org Subject: [BUG] org-element-at-point: Throw an error when not in org-mode [9.7-pre (release_9.6.15-1033-gd8586f @ /home/marie/.emacs.d/straight/build/org/)] Date: Thu, 04 Jan 2024 12:46:40 -0800 Message-ID: <87cyug4ye1.fsf@gmail.com> 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::634; envelope-from=mhburle@gmail.com; helo=mail-pl1-x634.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 04 Jan 2024 16:12:36 -0500 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 X-Migadu-Spam-Score: -9.40 X-Spam-Score: -9.40 X-Migadu-Queue-Id: A6C3242D63 X-Migadu-Scanner: mx11.migadu.com X-TUID: pf3Yb8D/36p4 Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. ------------------------------------------------------------------------ I suspect that this has already been reported as I saw it here: https://www= .mail-archive.com/emacs-elpa-diffs@gnu.org/msg102743.html. Just wanted to make sure it got to the right channel. Apologies for a usele= ss message if it already did. Noticed this problem with org 9.7. Used to be no problem with prior version. Also mentioned in https://www.reddit.com/r/emacs/comments/18gkx0i/orgelemen= tatpoint_cannot_be_used_in_nonorg_buffer/. In my case, I get the error when using `org-meta-return` in non-org buffers. I then get either of these error messages: Warning (org-element): =E2=80=98org-element-at-point=E2=80=99 cannot be use= d in non-Org buffer Warning (org-element): org-element--cache: Org parser error in . R= esetting. Thank you. Emacs : GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38= , cairo version 1.17.8) Package: Org mode version 9.7-pre (release_9.6.15-1033-gd8586f @ /home/mari= e/.emacs.d/straight/build/org/)