emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: James Harkins <jamshark70@zoho.com>
To: "emacs-orgmode" <emacs-orgmode@gnu.org>
Subject: "Footnote" section line spacing is weird
Date: Sat, 19 Aug 2023 15:51:49 +0800	[thread overview]
Message-ID: <18a0cc766d5.1225f3b5d20967.1696636613529078466@zoho.com> (raw)
In-Reply-To: 

Org-mode 9.5.2 (packaged with Ubuntu 22.04).

I've noticed this for awhile -- wondering if this has changed in a more recent version.

Let's say I have, at the bottom of a document:

```
* Footnotes

[fn:......] lorem ipsum...
```

Somewhere else in the document, I do C-c C-x f.

Then I see:

```
* Footnotes


[fn:---------]
[fn:......] lorem ipsum...
```

I believe it would make more sense like this:

```
* Footnotes

[fn:---------]

[fn:......] lorem ipsum...
```

That is:

- Expected: Position the cursor at the beginning of the first footnote (before the bracket). Then insert a new footnote ID followed by two newlines.

- Actual: Position the cursor at the beginning of the first footnote (before the bracket). Then insert a newline, a new footnote ID, and another newline.

User impact is that if I don't edit the newlines by hand every time, eventually I end up with:

```
* Footnotes:








[fn:xxx]
[fn:yyy]
[fn:zzz]
```

... which... does not strike me as a deliberate result.

Easily reproducible, every time.

In org-customize > Footnote, I don't see a variable related to the insertion template.

hjh


             reply	other threads:[~2023-08-19  7:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-19  7:51 James Harkins [this message]
2023-08-20  6:50 ` [FR] Allow customizing blank lines in-between when creating footnote definitions (was: "Footnote" section line spacing is weird) Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18a0cc766d5.1225f3b5d20967.1696636613529078466@zoho.com \
    --to=jamshark70@zoho.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).