[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Name-space prefixes in ox- packages
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Name-space prefixes in ox- packages |
Date: |
Sun, 10 Sep 2017 09:56:12 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Hello,
Kaushal Modi <address@hidden> writes:
> On Sat, Sep 9, 2017 at 9:36 AM Nicolas Goaziou <address@hidden>
> 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