emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* "Footnote" section line spacing is weird
@ 2023-08-19  7:51 James Harkins
  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
  0 siblings, 1 reply; 2+ messages in thread
From: James Harkins @ 2023-08-19  7:51 UTC (permalink / raw)
  To: emacs-orgmode

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [FR] Allow customizing blank lines in-between when creating footnote definitions (was: "Footnote" section line spacing is weird)
  2023-08-19  7:51 "Footnote" section line spacing is weird James Harkins
@ 2023-08-20  6:50 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2023-08-20  6:50 UTC (permalink / raw)
  To: James Harkins; +Cc: emacs-orgmode

James Harkins <jamshark70@zoho.com> writes:

> Let's say I have, at the bottom of a document:
> ...
> Somewhere else in the document, I do C-c C-x f.
> ...
>
> [fn:---------]
> [fn:......] lorem ipsum...
> ```
>
> I believe it would make more sense like this:
>
> ```
> * Footnotes
>
> [fn:---------]
>
> [fn:......] lorem ipsum...
> ```

This is currently not customizeable.
If implemented, it can be an extension of the existing
`org-blank-before-new-entry' customization.

Patches welcome!

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-20  6:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-19  7:51 "Footnote" section line spacing is weird James Harkins
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

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).