emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Document that symbol prefix "my-" (or other) should be left for user


From: Chad Brown
Subject: Re: Document that symbol prefix "my-" (or other) should be left for users
Date: Tue, 15 Dec 2015 20:41:19 -0800

> On 15 Dec 2015, at 17:52, Drew Adams <address@hidden> wrote:
> 
>>> 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)...  So: if you want to know if it has ever
>> happened: absolutely.
> 
> 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.
> 
> Users can run into name conflicts also if they use the same
> "reserved" prefix `my-' (or `my/' or `my31459265358979535/'
> or whatever).

Specifically, I’ve seen users run into name conflicts with things
like ABC-function where ABC was both a shortened package reference
and a user’s initials. Many packages use AB- or ABC- as a package
prefix. Many users use AB/ or ABC/ as a user-specific prefix. I’ve never
seen those swapped (personally).

~Chad




reply via email to

[Prev in Thread] Current Thread [Next in Thread]