emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Re: A few questions about how you write e-mails


From: Nick Dokos
Subject: Re: [Orgmode] Re: A few questions about how you write e-mails
Date: Wed, 20 Oct 2010 23:40:17 -0400

suvayu ali <address@hidden> wrote:

> Hi Jeff,
> 
> On 20 October 2010 18:55, Matt Lundin <address@hidden> wrote:
> > I simply have a global binding for org-footnote-action, which enables me
> > to insert footnotes anywhere.[1]
> >
> 
> I do that too, but it shows up as [fn:1] for me. Is there some
> variable I can customise to get it as [1] when I am using it outside
> org-mode?
> 

There is a variable (of course!):

,----
| org-footnote-auto-label is a variable defined in `org-footnote.el'.
| Its value is t
| 
| Documentation:
| Non-nil means define automatically new labels for footnotes.
| Possible values are:
| 
| nil        prompt the user for each label
| t          create unique labels of the form [fn:1], [fn:2], ...
| confirm    like t, but let the user edit the created value.  In particular,
|            the label can be removed from the minibuffer, to create
|            an anonymous footnote.
| plain      Automatically create plain number labels like [1]
| 
| You can customize this variable.
`----

but how to use it in the way you specify is left as an exercise for the
interested reader.

> Also in my case, the footnotes appear below the signature. I have to
> manually move it above that before sending the email. Would be awesome
> if org-footnote-action understood signatures somehow.
> 

Given the mangling that mailers do to replies (e.g. the idiotic default
top posting of Thunderbird and its ilk), how they handle signatures, and
the non-standard nature of signatures themselves, I'd say this is pretty
much hopeless. At least the end is a well defined place that
org-footnote-action can always find.  The rest are shifting sands.

Of course, if you use a nice primitive mailer[1] where *you* do all the
placement the way *you* like it, that's no problem at all. I can add all
the footnotes I want, then M-> C-c C-s, done (that is, if I *had* a signature,
which I don't - and M-> is always right, since I (almost) never top-post).

Footnotes:

[1] E.g. mh-e :-)

Nick



reply via email to

[Prev in Thread] Current Thread [Next in Thread]