emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Kaushal Modi <kaushal.modi@gmail.com>
Cc: emacs-org list <emacs-orgmode@gnu.org>
Subject: Re: Name-space prefixes in ox- packages
Date: Sun, 10 Sep 2017 09:56:12 +0200	[thread overview]
Message-ID: <87377v2dib.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAFyQvY3k4ZcyB8ReH4DRM0gWB4GYKiv_+pPyQU6vkrH9=x02fA@mail.gmail.com> (Kaushal Modi's message of "Sun, 10 Sep 2017 03:19:28 +0000")

Hello,

Kaushal Modi <kaushal.modi@gmail.com> writes:

> On Sat, Sep 9, 2017 at 9:36 AM Nicolas Goaziou <mail@nicolasgoaziou.fr>
> wrote:
>
>>
>> "ox" stands for "org-export-". This is so to limit file name size. Some
>> systems are very limited (e.g. MS-DOS).
>>
>
> Is that file name size that important in today's time?

For some Emacs developers, it is.

If Emacs drops MS-DOS support, we can reconsider this. I doubt this is
going to happen any time soon.

>> Variables and functions should really be "org-export-html..." but that
>> would be very long. The "org" prefix is mandatory for Org variables and
>> functions. "ox" would be misleading.
>>
>
> Does this have to do with org-export--generate-copy-script (as discussed
> here[1])?

I don't think so.

> Is the prefix requirement for "org-" more widespread than that?

IIRC, it is an Emacs convention. Variables should be prefixed by the
major mode's name, since Emacs has no proper namespace.


Regards,


-- 
Nicolas Goaziou                                                0x80A93738

      reply	other threads:[~2017-09-10  7:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-09 12:09 Name-space prefixes in ox- packages Kaushal Modi
2017-09-09 13:36 ` Nicolas Goaziou
2017-09-10  3:19   ` Kaushal Modi
2017-09-10  7:56     ` Nicolas Goaziou [this message]

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=87377v2dib.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=kaushal.modi@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).