From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.devel Subject: Re: Document that symbol prefix "my-" (or other) should be left for users Date: Tue, 15 Dec 2015 22:41:31 -0800 Message-ID: References: <87mvtekydf.fsf@mithlond.arda> <87egeqkwj2.fsf@mithlond.arda> <87mvtbinc3.fsf@gnu.org> <18664dc1-aedb-4300-ad9d-d5bc9c363bc5@default> <86mvtbf5n3.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1450248823 20753 80.91.229.3 (16 Dec 2015 06:53:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Dec 2015 06:53:43 +0000 (UTC) Cc: Emacs developers To: Evans Winner Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 16 07:53:28 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 1a95xn-0000fC-Jb for ged-emacs-devel@m.gmane.org; Wed, 16 Dec 2015 07:53:27 +0100 Original-Received: from localhost ([::1]:45715 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a95xm-0003Yw-SC for ged-emacs-devel@m.gmane.org; Wed, 16 Dec 2015 01:53:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a95xH-0003WX-FJ for emacs-devel@gnu.org; Wed, 16 Dec 2015 01:52:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a95xE-0007pB-9I for emacs-devel@gnu.org; Wed, 16 Dec 2015 01:52:55 -0500 Original-Received: from mail-pa0-x22d.google.com ([2607:f8b0:400e:c03::22d]:35536) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a95xE-0007p4-3r for emacs-devel@gnu.org; Wed, 16 Dec 2015 01:52:52 -0500 Original-Received: by mail-pa0-x22d.google.com with SMTP id hk6so18717652pad.2 for ; Tue, 15 Dec 2015 22:52:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mail-followup-to:mime-version:content-type; bh=CDJMxD7sBCXhUYAAY7XpXGq3oWhNANgSl4jV99k+YG8=; b=A450WK9IV5Dp3NUUrSiPP5i9UN00/J5jCzjRiZJyW90WVFVC9M25Y5aQqlRrtCTT+2 ShcK6VPuprGOvPPtUW9Jwd5nLUmVQwwqCFmiY4zR+XEhh6FfLqtogMzuRM4bxgq8tHqS lhlAxEHo2jTLFQa7c3f+IHLzHihDwogBaBManlJD4a8RqMhXXSj8Kafpsj9Kt3VS7SJy HiI/qBoEp15zrItnfdEXgVE4tHrS0AftIN0TYqF/8OKpZT5HYy35EuO4APg3J2fO1D42 yzsAebNDCKQ+SLv/EnfSRkGct29uQBCtzw5gxEdnYmI1E0VbFf0oYNPuQLna8hCURDrY 8AFA== X-Received: by 10.67.14.201 with SMTP id fi9mr61059340pad.41.1450248771287; Tue, 15 Dec 2015 22:52:51 -0800 (PST) Original-Received: from Vulcan.local (76-234-68-79.lightspeed.frokca.sbcglobal.net. [76.234.68.79]) by smtp.gmail.com with ESMTPSA id ga13sm6535021pac.47.2015.12.15.22.52.49 (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 15 Dec 2015 22:52:49 -0800 (PST) X-Google-Original-From: "John Wiegley" Original-Received: by Vulcan.local (Postfix, from userid 501) id F0A5E1184F64E; Tue, 15 Dec 2015 22:52:48 -0800 (PST) In-Reply-To: <86mvtbf5n3.fsf@gmail.com> (Evans Winner's message of "Tue, 15 Dec 2015 20:12:48 -0700") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (darwin) Mail-Followup-To: Evans Winner , Emacs developers X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c03::22d 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:196353 Archived-At: >>>>> Evans Winner writes: > For what it's worth, it's happened to me, but a long time ago and I don't > remember what function name I stepped on. If it's happened to me, I would > guess it's happened to other people. Creating a name clash isn't a bug in > Emacs, so why would I (or anyone else) report it? So if it's happening, it > might not be something that would come up on the radar here very often. I > finally discovered what I'd done and jsut renamed my function. Good point, Evans. Perhaps it occurs more often than we realize. I'm not sure a convention will result in it never happening again, in the same way that key mapping conventions have not stopped various packages from stomping on bindings that were reserved to me as a user. Perhaps we could recommend that users consider their init file to be a sort of package, and thus use a `.emacs-' prefix for their symbols, as they might when writing any other package. -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2