all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Artur Malabarba <bruce.connor.am@gmail.com>
To: Ken Manheimer <ken.manheimer@gmail.com>
Cc: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Re: [ELPA] New package: multishell
Date: Sun, 03 Jan 2016 20:26:35 +0000	[thread overview]
Message-ID: <87a8om1kas.fsf@gmail.com> (raw)
In-Reply-To: <CAAT_zTETHTiZsAZsWzoeZBHticDAFm1m3VpB76e65o7nBQWsaA@mail.gmail.com> (Ken Manheimer's message of "Sat, 2 Jan 2016 17:19:02 -0500")

Ken Manheimer <ken.manheimer@gmail.com> writes:

> I'm about to push a multishell as a new packge in the git.sv.gnu.org:

Thank you!

> One coding wrinkle worth mentioning - I prefixed most of my package's
> functions with "multishell:"

Please change it to “multishell-”. It will work nicer with the customize
interface.

> did not prefix the primary function, "pop-to-shell". I see that as
> the package's exported api. I do not feel strongly bound to this
> choice, and can be persuaded to also prefix it if someone feels there
> is good reason to do so.

The current convention is to use multishell-pop-to-shell. This includes
user stuff (like commands and customization variables) as well as
programatic stuff that you consider “official api” (like functions that
other packages can call, or vars that can be configured but aren't
defcustoms).

In order to differentiate the functions and vars that are NOT
“exported”, use a double-dash (e.g. `multishell--bracket-asterisks').
(This is a relatively new convention, which is why a lot of places don't
use it).



  reply	other threads:[~2016-01-03 20:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-02 22:19 [ELPA] New package: multishell Ken Manheimer
2016-01-03 20:26 ` Artur Malabarba [this message]
2016-01-04 17:07   ` Ken Manheimer
2016-01-04 18:27     ` Artur Malabarba
2016-01-04 18:49       ` Ken Manheimer
2016-01-04 20:29         ` Ken Manheimer
2016-01-05  3:23           ` Artur Malabarba
2016-01-05  3:42             ` Michael Heerdegen

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a8om1kas.fsf@gmail.com \
    --to=bruce.connor.am@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=ken.manheimer@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.