From: Kaushal Modi <kaushal.modi@gmail.com>
To: emacs-org list <emacs-orgmode@gnu.org>
Subject: Name-space prefixes in ox- packages
Date: Sat, 09 Sep 2017 12:09:11 +0000 [thread overview]
Message-ID: <CAFyQvY3yV8MCpWV=UMev_RuxBcU8rXy8=rBAg+6OmQjb9FXh7w@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 886 bytes --]
Hello,
I have observed that even though the exporter backend package names begin
with ox-, all the variables and functions inside still start with org-.
Is there a strong reason to do so? Or was that to prevent the older
org-html, etc packages from breaking when they got renamed to ox-html, etc?
So the question is if the new export backends should also follow the same
convention.
This question came up because if the ox- packages follow the convention
used in core, they fail the lint check done by an external package called
package-lint[1]. The lint checkers expects all variables and functions in a
package FOO to have FOO- prefix. Here[2] the discussion on that package's
GitHub issue thread.
PS: I believe it is the same case with ob- packages.
[1]: https://github.com/purcell/package-lint
[2]: https://github.com/purcell/package-lint/issues/89
Thanks.
--
Kaushal Modi
[-- Attachment #2: Type: text/html, Size: 1306 bytes --]
next reply other threads:[~2017-09-09 12:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-09 12:09 Kaushal Modi [this message]
2017-09-09 13:36 ` Name-space prefixes in ox- packages Nicolas Goaziou
2017-09-10 3:19 ` Kaushal Modi
2017-09-10 7:56 ` Nicolas Goaziou
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='CAFyQvY3yV8MCpWV=UMev_RuxBcU8rXy8=rBAg+6OmQjb9FXh7w@mail.gmail.com' \
--to=kaushal.modi@gmail.com \
--cc=emacs-orgmode@gnu.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).