emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Bastien <bzg@altern.org>
Cc: Leonard Randall <leonard.a.randall@gmail.com>,
	emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Moving footnotes
Date: Sun, 01 Jun 2014 08:48:49 +0200	[thread overview]
Message-ID: <87sinpf7la.fsf@gmail.com> (raw)
In-Reply-To: <87tx86cii5.fsf@bzg.ath.cx> (Bastien's message of "Sat, 31 May 2014 13:09:06 +0200")

Hello,

Bastien <bzg@altern.org> writes:

> Nicolas Goaziou <n.goaziou@gmail.com> writes:
>
>> Here it is. It could be prettier but I think it should get the job
>> done.
>
> Wow, thanks!  I didn't expect this to be that long...
> I tested it with various input files and it works fine.

It could probably be refactored to gain a few lines of code. However it
has to deal with a few corner cases so there is no simple solution.

>>> PS: I think it's useful to trigger the org-footnote-action menu
>>> when org-footnote-new cannot do anything useful.
>>
>> Sure, I will add it back later today, unless you're faster than me.
>
> No hurry.  I won't be connected later today.

Done. Though, I changed `org-footnote-action' instead of
`org-footnote-new', since the latter should, IMO, return an error when
called from a point where no footnote is allowed.


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2014-06-01  6:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-21 12:23 Moving footnotes Leonard Randall
2014-05-21 16:39 ` Nicolas Goaziou
2014-05-30 12:57 ` Bastien
2014-05-30 13:35   ` Nicolas Goaziou
2014-05-30 13:51     ` Bastien
2014-05-31  9:30       ` Nicolas Goaziou
2014-05-31 11:09         ` Bastien
2014-06-01  6:48           ` Nicolas Goaziou [this message]
2014-06-01  8:49             ` Bastien
2014-06-02 12:10               ` Leonard Avery Randall

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=87sinpf7la.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=leonard.a.randall@gmail.com \
    /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).