From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 6MRGKnwc/Gb6VQEAqHPOHw:P1 (envelope-from ) for ; Tue, 01 Oct 2024 15:59:56 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 6MRGKnwc/Gb6VQEAqHPOHw (envelope-from ) for ; Tue, 01 Oct 2024 17:59:56 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=gcGpIpko; 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=1727798396; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=7YUaL9hJ+RWV75v13kCEAGm3wGPcqn20ztCYEIUng0I=; b=OUOty0XGvFE7xLxZDotkxDdp2Lv5qVuc3CQgkmjh8UOUF0t0E5U0MvhLF6g4ggx+EQxXq0 ivBOcjYj38NdL4VORQaSnV6RZvX2HW/bb+kFx8uemJmn0Z4RnvwBtSKeUgRmeof6ad3JnP a2E4qh6a27GQoPMfGETF9HDL9FPCTYOZsc2siBiajj5Od57eXmrLI32K/6JzdqdwkHJMAT 2N3TACdvNtJ6+gIraOXCwM2k16N/p28/jiEOAwYyx6eFeyVWsdJppM/ZUVWG+HqtBMtSxk ZYqJxN2QCcqdjTT9zWh74i2L1UKHIdesMY8y+UXZDZtzsqHVJfttZegHdRhoMQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=gcGpIpko; 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-Seal: i=1; s=key1; d=yhetil.org; t=1727798396; a=rsa-sha256; cv=none; b=JJ0RU+Wpr4O204BGrIwUjFSyfKvZpaPme2bTJrmLgzPH9nW9cjtnrFRg84+cOhJvttBW8u esHBgDlO8LTs3l1T28CoauiuNaJFByCYjLJXAUM8UBKnbPoCgXVcI+AYPYjh8h0Zi+rVt2 UzPJjeMQRiW8N5DqQ236yMi1IowmKvHG6m4ul01D7okbgomgpGIWtn7Ld5FzBknygyLQCe CqXROSurus0QVvy/6wZzsdmLmvfwbi2PEG2Fk0q1lRs7Y+czo6fx0IYw0P5gqvPFnzDk7u xDNtHhZnksVzrS9UPPTagRQLHLjpWH0ThqgOUc9Q6FzLnN8LRFUggaEoACIV+w== 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 7781F7D0BD for ; Tue, 01 Oct 2024 17:59:56 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1svfHG-0005q4-8o; Tue, 01 Oct 2024 11:59:06 -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 1svfHE-0005pf-J1 for emacs-orgmode@gnu.org; Tue, 01 Oct 2024 11:59:04 -0400 Received: from mail-qt1-x843.google.com ([2607:f8b0:4864:20::843]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1svfHC-0001BQ-T0 for emacs-orgmode@gnu.org; Tue, 01 Oct 2024 11:59:04 -0400 Received: by mail-qt1-x843.google.com with SMTP id d75a77b69052e-45812fdcd0aso58968401cf.0 for ; Tue, 01 Oct 2024 08:59:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727798341; x=1728403141; darn=gnu.org; h=mime-version:user-agent:message-id:date:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=7YUaL9hJ+RWV75v13kCEAGm3wGPcqn20ztCYEIUng0I=; b=gcGpIpkoDSoyMu9gs1r0pnJefE1j7IPScrimFTLKM6ZVFLvZCIg6lccWTFC8/2O7X4 TCrf/wKaRWAIUXJdxhievvMZ38YwT0yXc5asGM0xoxRAtPA7dojfOjcui0s60JP79O3d O+tNUSA2zGeCwl1zEyzPEHA1f1OFlqVGaSIk3rIyTf2hq8XIolmkYDM7/YzHQGIFEyFA pJbtvf2EeNrejXstDuDRbT1rEWTeQ+t+695yrqewomHCi1ZsTgFyP9INuOZwLlKvJ4VM NRAUXwynPprnUzqeHcLY4G4LCiJGorkXOcCXxRLnY1IQPxIbTQUU3CXdEz6FXWLMfoz2 fLig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727798341; x=1728403141; h=mime-version:user-agent:message-id:date:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7YUaL9hJ+RWV75v13kCEAGm3wGPcqn20ztCYEIUng0I=; b=QzjnO7QYTqbrZ2a2hvk75tKet2FdF92YXLnZgoMjOnXwf2NfJj/1BfRcCz/0BZxSB1 DOm+/0Z8rgjWDfaO4LwZyetnVwiE/mQhqdgxS3iYciDkU0YeZVD2CgFFo+BALlzc+LX+ BlOIgVaaq54r3S9OZfnsjWY3beFunctMkzs745u5BL9A+T3vaPQ577fyzr+S7DmSd9Ve mnsBnyFH3ZBlVr6DRLMBjHEK8LOHCdY92s7T/SCcmbixbtAF0n8AWXjK94c+8bGVIKQR BFTzdhvDd3vi4rl/WV5MPPBndaVIhBjLF/yEfgmn9mmJEPP6qLL80jqC+y6jVvG4a23/ SoFQ== X-Gm-Message-State: AOJu0Yz27LqLirC0eVBJtj09iFSxLx/en+ohMsfButniSFU3ss6FINaT Nxgz0nSFGYwIJj/fvZQBZsDOYbOXOuxShqZrNd4Y+yh5ckIpN1pS/tyviamh X-Google-Smtp-Source: AGHT+IGRtyPZK5T0MFaXyZbLOixTH3jsOSCD3/FND/g1QhJFOhJ7j6QShJW/D7xRXrOfkSe8BXd9ew== X-Received: by 2002:a05:6214:5018:b0:6cb:42f6:674a with SMTP id 6a1803df08f44-6cb729edab3mr63167056d6.18.1727798340754; Tue, 01 Oct 2024 08:59:00 -0700 (PDT) Received: from gnus ([65.94.70.53]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6cb3b66ccf7sm50487196d6.100.2024.10.01.08.59.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2024 08:59:00 -0700 (PDT) From: Suhail Singh To: Org mailing list Subject: [BUG] Unable to insert inline or anonymous footnotes unless indented [9.7.11 (9.7.11-6a5d0e @ /home/user/.emacs.d/elpa/org-9.7.11/)] Date: Tue, 01 Oct 2024 11:58:49 -0400 Message-ID: <877carzufa.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::843; envelope-from=suhailsingh247@gmail.com; helo=mail-qt1-x843.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: , 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: -4.40 X-Spam-Score: -4.40 X-Migadu-Queue-Id: 7781F7D0BD X-Migadu-Scanner: mx13.migadu.com X-TUID: Gp3NIA+823YL 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. ------------------------------------------------------------------------ With Emacs -q, in a new org file, set ~org-footnote-define-inline~ to t. With point at the beginning of the line invoke =M-x org-footnote-new=. As implied in the syntax spec, inline and anonymous footnotes are permitted to occur on an unindented line (unlike a footnote reference). Given that, the expectation with the above settings is for org-footnote-new to insert an inlined footnote at point (which is at the beginning of a line). However, what's observed is a user-error "Cannot insert a footnote here" when point is at the beginning of a line. Additionally, and seemingly related, fontlocking for unindented anonymous and inlined footnotes is also broken. This can be observed via emacs -q and opening a file with the following contents: #+begin_example ** 9.7.11, 9.6.15 [fn::This footnote has not fontlocking.] [fn:1:This doesn't fontlock either.] [fn::Fontlocking works in this footnote.] #+end_example Also broken are commands like =M-x org-footnote-new= (even when ). The reason seems to be =(bolp)= in the definition of =org-footnote--allow-reference-p=. Emacs : GNU Emacs 29.4 (build 2, x86_64-suse-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.2) Package: Org mode version 9.7.11 (9.7.11-6a5d0e @ /home/user/.emacs.d/elpa/org-9.7.11/)