From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: name prefixes [was: epa command names] Date: Fri, 11 Nov 2011 10:26:51 -0800 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1321036033 9949 80.91.229.12 (11 Nov 2011 18:27:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 11 Nov 2011 18:27:13 +0000 (UTC) To: , Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 11 19:27:09 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ROvog-0001XY-8v for ged-emacs-devel@m.gmane.org; Fri, 11 Nov 2011 19:27:07 +0100 Original-Received: from localhost ([::1]:36688 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ROvof-0001eB-Oi for ged-emacs-devel@m.gmane.org; Fri, 11 Nov 2011 13:27:05 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:44840) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ROvod-0001dN-N8 for emacs-devel@gnu.org; Fri, 11 Nov 2011 13:27:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ROvoc-0000O3-Nt for emacs-devel@gnu.org; Fri, 11 Nov 2011 13:27:03 -0500 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:64527) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ROvoc-0000Ny-J4; Fri, 11 Nov 2011 13:27:02 -0500 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id pABIR0eK028524 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 11 Nov 2011 18:27:01 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id pABIQxtt019125 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 11 Nov 2011 18:27:00 GMT Original-Received: from abhmt110.oracle.com (abhmt110.oracle.com [141.146.116.62]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id pABIQsuv020288; Fri, 11 Nov 2011 12:26:54 -0600 Original-Received: from dradamslap1 (/10.159.61.9) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 11 Nov 2011 10:26:54 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcygnIX6wVjOj0KOR6Gh+6fVgCgwXwAAJfag X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-CT-RefId: str=0001.0A090203.4EBD68F5.006C,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 141.146.126.227 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:145987 Archived-At: > The only drawback I see is that the command names are not > natural; thus, remembering them is extra work. > > Shall we give them aliases without `epa-'? For instance, define > `mail-encrypt' or `encrypt-mail' as an alias for `epa-mail-encrypt'? Alas, this is a bane of 3rd-party Elisp code. That vanilla Emacs might suffer now and then from a convention it promulgates is, well, just desserts. ;-) Instead of allowing Emacs to flout its own guidelines, we should put in place a real module/package/namespace system - e.g., using qualified names, where qualifiers are separate from the names they qualify (so they can be changed later). Common Lisp offers one (good) approach.