From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: Question about function prefixes Date: Sun, 8 Oct 2017 12:42:59 -0700 (PDT) Message-ID: <912bbeb4-0f6a-4411-8135-dd10ae5b1c40@default> References: <87zi91lf9l.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1507491823 1091 195.159.176.226 (8 Oct 2017 19:43:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 8 Oct 2017 19:43:43 +0000 (UTC) To: Ian Dunn , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 08 21:43:36 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1HU4-0007NL-Gp for ged-emacs-devel@m.gmane.org; Sun, 08 Oct 2017 21:43:32 +0200 Original-Received: from localhost ([::1]:54821 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1HUB-0000cC-VV for ged-emacs-devel@m.gmane.org; Sun, 08 Oct 2017 15:43:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48330) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1HTe-0000c7-60 for emacs-devel@gnu.org; Sun, 08 Oct 2017 15:43:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1HTb-0005dy-2k for emacs-devel@gnu.org; Sun, 08 Oct 2017 15:43:06 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:46903) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e1HTa-0005dL-PW; Sun, 08 Oct 2017 15:43:03 -0400 Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v98Jh0xc012909 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 8 Oct 2017 19:43:01 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v98Jh0gC006917 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 8 Oct 2017 19:43:00 GMT Original-Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id v98Jh0qU030667; Sun, 8 Oct 2017 19:43:00 GMT In-Reply-To: <87zi91lf9l.fsf@gnu.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4588.0 (x86)] X-Source-IP: userv0022.oracle.com [156.151.31.74] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy] X-Received-From: 141.146.126.69 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:219268 Archived-At: > 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 ciphe= r > with only a few lines changed. >=20 > Prefixing the Beaufort functions with "vigenere-" seems confusing to user= s, > 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.