emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: suvayu ali <fatkasuvayu+linux@gmail.com>
Cc: nicholas.dokos@hp.com, Matt Lundin <mdl@imapmail.org>,
	Org-mode ml <emacs-orgmode@gnu.org>,
	Jeff Horn <jrhorn424@gmail.com>
Subject: Re: Re: A few questions about how you write e-mails
Date: Wed, 20 Oct 2010 23:40:17 -0400	[thread overview]
Message-ID: <11775.1287632417@gamaville.dokosmarshall.org> (raw)
In-Reply-To: Message from suvayu ali <fatkasuvayu+linux@gmail.com> of "Wed, 20 Oct 2010 19:47:37 PDT." <AANLkTimD8S90ypTsiSzNR54AczgaZPwadtWJ0LW1ka4S@mail.gmail.com>

suvayu ali <fatkasuvayu+linux@gmail.com> wrote:

> Hi Jeff,
> 
> On 20 October 2010 18:55, Matt Lundin <mdl@imapmail.org> 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	other threads:[~2010-10-21  3:40 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-20  5:37 A few questions about how you write e-mails Jeff Horn
2010-10-20  5:51 ` Glyn Millington
2010-10-20  5:57 ` Noorul Islam K M
2010-10-20  6:44 ` Samuel Wales
2010-10-20 11:36   ` Bernt Hansen
2010-10-20 17:20 ` Nick Dokos
2010-10-22  8:06   ` Sébastien Vauban
2010-10-22  8:47     ` Tassilo Horn
2010-10-20 20:10 ` Eric Schulte
2010-10-21  1:55 ` Matt Lundin
2010-10-21  2:47   ` suvayu ali
2010-10-21  3:40     ` Nick Dokos [this message]
2010-10-21  8:10       ` suvayu ali
2010-10-22 12:27         ` Matthias Danzl
2010-10-22 15:07           ` suvayu ali
2010-10-21  7:45     ` Tassilo Horn
2010-10-21  8:07       ` suvayu ali
2010-10-21  8:17         ` Difference between org-footnote.el and footnote.el (was: A few questions about how you write e-mails) Tassilo Horn
2010-10-21  9:10           ` [Orgmode] Difference between org-footnote.el and footnote.el Andreas Röhler
2010-10-21  9:38             ` Tassilo Horn
2010-10-21 10:17               ` Tassilo Horn
2010-10-21 15:05               ` Nick Dokos
2010-10-21 15:19                 ` Charles Philip Chan
2010-10-21 15:28                   ` Tassilo Horn
2010-10-21 19:11                     ` Eric S Fraga
2010-10-22  8:22                       ` Sébastien Vauban
2010-10-22  9:43                         ` Tassilo Horn
2010-10-22  9:53                           ` [PATCH] Make footnotes work correctly in message-mode (was: Difference between org-footnote.el and footnote.el) Tassilo Horn
2010-10-22 12:11                             ` [PATCH] Make footnotes work correctly in message-mode Sébastien Vauban
2010-10-22 12:29                               ` Tassilo Horn
2010-10-22 14:24                                 ` Sébastien Vauban
2010-10-22 13:00                               ` Dan Davison
2010-10-22 15:51                                 ` Sébastien Vauban
2010-10-22 15:43                             ` Sébastien Vauban
2010-10-22 16:23                               ` Tassilo Horn
2010-10-22 18:44                                 ` Sébastien Vauban
2010-10-24 16:20                             ` [PATCH] Make footnotes work correctly in message-mode (was: Difference between org-footnote.el and footnote.el) Carsten Dominik
2010-10-24 17:02                               ` Nick Dokos
2010-10-24 17:14                                 ` [PATCH] Make footnotes work correctly in message-mode Tassilo Horn
2010-10-21  6:16   ` A few questions about how you write e-mails Noorul Islam K M

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=11775.1287632417@gamaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=fatkasuvayu+linux@gmail.com \
    --cc=jrhorn424@gmail.com \
    --cc=mdl@imapmail.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).