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 17:39:00 -0800 Message-ID: References: <87mvtekydf.fsf@mithlond.arda> <7F32DB0A-6B88-479C-8504-95F41713DDB1@gmail.com> 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 1450229970 14337 80.91.229.3 (16 Dec 2015 01:39:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Dec 2015 01:39:30 +0000 (UTC) Cc: Teemu Likonen , Drew Adams To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 16 02:39:24 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 1a913r-000317-TG for ged-emacs-devel@m.gmane.org; Wed, 16 Dec 2015 02:39:24 +0100 Original-Received: from localhost ([::1]:39880 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a913r-000163-5d for ged-emacs-devel@m.gmane.org; Tue, 15 Dec 2015 20:39:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35641) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a913d-00015w-Rv for emacs-devel@gnu.org; Tue, 15 Dec 2015 20:39:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a913Y-0005xg-SU for emacs-devel@gnu.org; Tue, 15 Dec 2015 20:39:09 -0500 Original-Received: from mail-qk0-x22a.google.com ([2607:f8b0:400d:c09::22a]:34871) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a913Y-0005xH-NM for emacs-devel@gnu.org; Tue, 15 Dec 2015 20:39:04 -0500 Original-Received: by mail-qk0-x22a.google.com with SMTP id u65so23824554qkh.2 for ; Tue, 15 Dec 2015 17:39:04 -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=fb6po6BoPxQUcdBiq9UsoeS0ChUDw77NH0bXg7Ngklc=; b=iCGMK0KS8f+lU1pDzQM1DeXQ9WUk1oh/08rdamQwDfm9XovJAUW+jbp9AgHal5EgEu LUCJ5Rm1UJm8Jxb0EyETsZj84yf+O4gCv+qmOUfuYLM9AFJqH6IsOqCui1cGYQenAah1 QCi1aRhRrwCN8cGZNwrGXllTecEiA6zNp4Oiw4qanNtdsEYxaiI88glKBbOtpINW9o3p JE2AjDuleyb0Nj8wbqAIpkaid/ZPnrmZoAHSMG2ecubKdO1fYDAqA4Ph6NVZljj8PLXf J7LX35Z24GJsKHdYYQnPLkLgMBfgqluudO4OPuxLll5G3Gr/oj9ITkjvDjyH5Gt2RRT3 p7zA== X-Received: by 10.129.85.83 with SMTP id j80mr16750386ywb.28.1450229944126; Tue, 15 Dec 2015 17:39:04 -0800 (PST) Original-Received: from [10.0.0.184] ([209.37.216.74]) by smtp.gmail.com with ESMTPSA id h130sm2866428ywb.24.2015.12.15.17.39.01 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 15 Dec 2015 17:39:02 -0800 (PST) X-Priority: 3 In-Reply-To: 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:400d:c09::22a 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:196342 Archived-At: > On 15 Dec 2015, at 17:26, 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. I have seen people run into conflicts several times (over a long time frame). At MIT, many students started out with simple lisp functions added to a mostly-plain emacs. Eventually, they=E2=80=99d add packages, and occasionally hit conflicts. A convention of user/function-name would have avoided all of those. This was in the time before package.el became widespread, so I believe that packages are added to emacs far more often now than they were then. Of course, back then, MIT=E2=80=99s intro CS class was based on Scheme, so probably there are fewer people writing personal lisp into nearly-empty .emacs files these days. So: if you want to know if it has ever happened: absolutely. I don=E2=80=99= t know if this sort of thing comes up much anymore; MIT students=E2=80=99 experience doesn=E2=80=99t involve emacs nearly as much these days as it = did back then. Hope that helps, ~Chad=