From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chad Brown Newsgroups: gmane.emacs.devel Subject: Re: Document that symbol prefix "my-" (or other) should be left for users Date: Tue, 15 Dec 2015 20:41:19 -0800 Message-ID: <574FF551-2555-42BE-9153-AFDEEE153C2E@gmail.com> References: <87mvtekydf.fsf@mithlond.arda> <7F32DB0A-6B88-479C-8504-95F41713DDB1@gmail.com> <91db4ff0-18af-48c3-801d-7e1f7611d31e@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1450240916 6061 80.91.229.3 (16 Dec 2015 04:41:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Dec 2015 04:41:56 +0000 (UTC) Cc: Teemu Likonen To: Drew Adams , emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 16 05:41:51 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a93uQ-0002mq-Gy for ged-emacs-devel@m.gmane.org; Wed, 16 Dec 2015 05:41:50 +0100 Original-Received: from localhost ([::1]:45400 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a93uP-0003ro-Qj for ged-emacs-devel@m.gmane.org; Tue, 15 Dec 2015 23:41:49 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53940) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a93u6-0003pH-Vd for emacs-devel@gnu.org; Tue, 15 Dec 2015 23:41:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a93u1-000439-TU for emacs-devel@gnu.org; Tue, 15 Dec 2015 23:41:30 -0500 Original-Received: from mail-pf0-x232.google.com ([2607:f8b0:400e:c00::232]:33515) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a93u1-00041i-NZ for emacs-devel@gnu.org; Tue, 15 Dec 2015 23:41:25 -0500 Original-Received: by mail-pf0-x232.google.com with SMTP id e66so5761204pfe.0 for ; Tue, 15 Dec 2015 20:41:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=n0G/zmZ3enzlOK/pKWDlALbKdj1/POVZf8aUwDZPNgM=; b=tbTjLBR47KgDa8IMP40MDIBThYY7a76g2zjJaNiDHF4zWgwqRYlE1/b/om5oK1C5nl wGd9XSgNp3K9nnEz0tTElLs4XcYpTwW9g6g1vEMQwOKTRmaU/EwqJWg0zwrOOnONkrzr 3fiF+IdHDZQ1XyPi39HEIXXzBr7v2VvZp69ucQsQXUYTrB9XB7RERbJ9kt5ZnEKiSZCv MMpw5T26MoDW3rTKV44lKkw3Rk3kM0zEyPYlzL6GYWtETDbLpJWS+AnuuDkoNPNJrQOO JRG0KbKyAz7for+XcNp5Rr+8XutdSRlPz1MZOGyROy5WpgblZB1bvRo1/D9SKWKLshZH qAjQ== X-Received: by 10.98.12.21 with SMTP id u21mr2489406pfi.24.1450240884884; Tue, 15 Dec 2015 20:41:24 -0800 (PST) Original-Received: from [10.0.1.13] (97-126-85-34.tukw.qwest.net. [97.126.85.34]) by smtp.gmail.com with ESMTPSA id l67sm1301379pfi.51.2015.12.15.20.41.21 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 15 Dec 2015 20:41:22 -0800 (PST) X-Priority: 3 In-Reply-To: <91db4ff0-18af-48c3-801d-7e1f7611d31e@default> X-Mailer: Apple Mail (2.3112) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c00::232 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:196347 Archived-At: > On 15 Dec 2015, at 17:52, Drew Adams wrote: >=20 >>> So can you give a reason why Emacs-Lisp coding conventions >>> should reserve such a prefix (or any other) for users? >>> Haven't heard any reason, so far. >>=20 >> I have seen people run into conflicts several times (over a >> long time frame)... So: if you want to know if it has ever >> happened: absolutely. >=20 > The question I raised is not whether users have run into name > conflicts but why Emacs coding conventions should reserve any > given name prefix (or prefixes?) for users. >=20 > Users can run into name conflicts also if they use the same > "reserved" prefix `my-' (or `my/' or `my31459265358979535/' > or whatever). Specifically, I=E2=80=99ve seen users run into name conflicts with = things like ABC-function where ABC was both a shortened package reference and a user=E2=80=99s initials. Many packages use AB- or ABC- as a = package prefix. Many users use AB/ or ABC/ as a user-specific prefix. I=E2=80=99ve= never seen those swapped (personally). ~Chad