Rasmus <ras...@gmx.us> writes:

> Would it make sense to allow this to hook into org-footnote-action?

What do you mean by hooking it into `org-footnote-action'? To replace
default action with this?

This is not possible ATM because it doesn't handle inline footnotes at
all (this requires some work in "org-src.el", since
`org-src--edit-element' wasn't designed to edit inline objects), and, as
you noticed it doesn't allow to create footnotes either (though this one
is trivial to fix).

Also, jumping to a footnote may still be useful, e.g. with nested
footnotes. It is symmetric, too.

However, interestingly, if both behaviours become mostly equivalent, we
have first-class key bindings to choose from: "C-c C-o", "C-c '", "C-c
C-c".

> Note that new footnotes currently break the narrow, which is pretty
> annoying.

I know. This is bad, indeed.


Regards,

Reply via email to