emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: [RFC] Removal of [1]-like footnotes
Date: Thu, 17 Dec 2015 11:03:10 +0100	[thread overview]
Message-ID: <87oadp9yu9.fsf@nicolasgoaziou.fr> (raw)

Hello,

As discussed previously, I pushed changes about footnotes in a dedicated
branch, "wip-no-plain-fn", for testing.

In a nutshell, in this branch, Org no longer recognizes [1]-like
constructs as valid footnotes, an no longer spend time matching them.

As a consequence, "fn:" can now be unambiguously removed from label and
become part of the syntax. Thus, [fn:1] is labelled "1" and [fn:label]
is labelled "label".

In the process, I had to rewrite `org-footnote-normalize', which used to
turn every footnote in a document into [1]-like footnotes. Now, it turns
them into [fn:1] footnotes.

However, this function also contained a part dealing with non-Org
buffers, e.g. just before sending an email, this function could turn Org
footnotes into footnote.el-compatible footnotes. This is no longer
present currently in the branch. 

I don't really mind adding it back, but it ought to be a separate
function, with a different design. It is not really possible to treat
non-Org buffers as Org ones (cf. `orgstruct-mode' problems). However,
before spending time on it, I'd like to know if there is any incentive
to use it over, e.g. `footnote-mode' right from the start?

Feedback welcome.


Regards,

-- 
Nicolas Goaziou                                                0x80A93738

             reply	other threads:[~2015-12-17 10:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-17 10:03 Nicolas Goaziou [this message]
2015-12-17 22:52 ` [RFC] Removal of [1]-like footnotes Rasmus
2015-12-18 20:56   ` Nicolas Goaziou
2015-12-18 20:57     ` Rasmus
2015-12-19 15:27 ` Thierry Banel
2015-12-20 14:28   ` Simon Thum
2015-12-22 16:01     ` Nicolas Goaziou

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=87oadp9yu9.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --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).