Re: [Orgmode] Difference between org-footnote.el and footnote.el

2010-10-21 Thread Charles Philip Chan
Nick Dokos  writes:

> How does footnote.el find the signature?

I presume by looking for the line "--" which precedes the signature.

Charles

-- 
"I'd crawl over an acre of 'Visual This++' and 'Integrated Development
That' to get to gcc, Emacs, and gdb.  Thank you."
(By Vance Petree, Virginia Power)


pgpcVsqDYgBgS.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Difference between org-footnote.el and footnote.el

2010-10-21 Thread Nick Dokos
Tassilo Horn  wrote:


> > BTW suggest to replace the common footnote by the org's footnotes, remove 
> > the
> > prefix then, leave some aliases in org-mode for backward-compatibility.
> 
> Well, I don't have a strong opinion on that.  But currently
> org-footnote.el is not very good when writing mails, because it places
> footnotes at the end of a buffer.  If there's a signature, then
> footnotes are in that and likely to be removed by people replying to
> your mail.
> 

How does footnote.el find the signature? I assumed before that
signatures are free-form and therefore unfindable algorithmically, but
that seems to be a mistake on my part. If that's the case, the
mechanism can be grafted into org-footnote.el, perhaps with an expanded
meaning of org-footnote-placement: in addition to nil or a string, it
can be a symbol, say 'before-signature, and that can be set in an appropriate
mail composition hook.

Nick

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Difference between org-footnote.el and footnote.el

2010-10-21 Thread Tassilo Horn
Tassilo Horn  writes:

>> common footnote.el was never able to detect if a file opened has
>> already footnote inside. Didn't check that for some month now...
>
> Yes, I've just tried that.  Create a file with footnotes, save it, kill
> the buffer, find it again, add another footnote, and it starts numbering
> from [1] again.  Looks like a bug to me.  I'll report it...

Done as bug#7258.

Bye,
Tassilo

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Difference between org-footnote.el and footnote.el

2010-10-21 Thread Tassilo Horn
Andreas Röhler  writes:

Hi Andreas,

>> Oh, I was pretty sure that org-footnote.el is only a wrapper around
>> the original footnote.el that comes with emacs, but looking at the
>> code it seems to be a completely separate facility.
>>
>> It says to have "better support for resuming editing" than
>> footnote.el but be less configurable.  Can someone enlighten my what
>> is meant with that better support for resuming editing?  I mean,
>> footnote.el already provides automatic renumbering which is the only
>> special feature I can imagine to be of great use when resuming to
>> edit a footnoted document...
>
> common footnote.el was never able to detect if a file opened has
> already footnote inside. Didn't check that for some month now...

Yes, I've just tried that.  Create a file with footnotes, save it, kill
the buffer, find it again, add another footnote, and it starts numbering
from [1] again.  Looks like a bug to me.  I'll report it...

> Also org-footnote implemented labeled footnotes, very useful to avoid
> clashes with forms like list[1]
>
> BTW suggest to replace the common footnote by the org's footnotes, remove the
> prefix then, leave some aliases in org-mode for backward-compatibility.

Well, I don't have a strong opinion on that.  But currently
org-footnote.el is not very good when writing mails, because it places
footnotes at the end of a buffer.  If there's a signature, then
footnotes are in that and likely to be removed by people replying to
your mail.

Bye,
Tassilo

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Difference between org-footnote.el and footnote.el

2010-10-21 Thread Andreas Röhler

[ ... ]


Oh, I was pretty sure that org-footnote.el is only a wrapper around the
original footnote.el that comes with emacs, but looking at the code it
seems to be a completely separate facility.

It says to have "better support for resuming editing" than footnote.el
but be less configurable.  Can someone enlighten my what is meant with
that better support for resuming editing?  I mean, footnote.el already
provides automatic renumbering which is the only special feature I can
imagine to be of great use when resuming to edit a footnoted document...

Bye,
Tassilo




Hi Tassilo,

common footnote.el was never able to detect if a file opened has already 
footnote inside. Didn't check that for some month now...


Also org-footnote implemented labeled footnotes, very useful to avoid 
clashes with forms like list[1]


BTW suggest to replace the common footnote by the org's footnotes, 
remove the prefix then, leave some aliases in org-mode for 
backward-compatibility.


cc to emacs-devel for this.

Cheers

Andreas

--
https://code.launchpad.net/~a-roehler/python-mode/python-mode-components
https://code.launchpad.net/s-x-emacs-werkstatt/











___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode