unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Ian Dunn <dunni@gnu.org>, emacs-devel@gnu.org
Subject: RE: Question about function prefixes
Date: Sun, 8 Oct 2017 12:42:59 -0700 (PDT)	[thread overview]
Message-ID: <912bbeb4-0f6a-4411-8135-dd10ae5b1c40@default> (raw)
In-Reply-To: <87zi91lf9l.fsf@gnu.org>

> I've received a suggestion to add functionality for a Beaufort cipher[1] to
> my vigenere.el package.  A Beaufort cipher uses almost exactly the same
> algorithm as a Vigenere cipher, with some small changes.  The differences
> are small enough that I can modify vigenere.el to handle a Beaufort cipher
> with only a few lines changed.
> 
> Prefixing the Beaufort functions with "vigenere-" seems confusing to users,
> so would it be acceptable to prefix them with "beaufort-"?

Is this about the prefix you use in a library that you have
authored?  If so, you can use whatever prefix you like.
If you think that using prefix `vigenere-' for something
that is different from a Vigenere cipher, then consider
changing the prefix.



      reply	other threads:[~2017-10-08 19:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-08 17:29 Question about function prefixes Ian Dunn
2017-10-08 19:42 ` Drew Adams [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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=912bbeb4-0f6a-4411-8135-dd10ae5b1c40@default \
    --to=drew.adams@oracle.com \
    --cc=dunni@gnu.org \
    --cc=emacs-devel@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.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).